plaidvader
Posts: 2
Joined: Mon Sep 21, 2015 3:21 pm

Curve Library [DONE]

It would be great to have a list of available curveshapes for controls in the documentation sir Louis

set_control_shape( shape_name )

Sets the control to have a shape from the curve library.
louisVottero
Site Admin
Posts: 202
Joined: Sat Aug 29, 2015 8:50 am

Re: Curve Library

This is the current list.

Code: Select all

lightbulb
circlePointer
pyramid
pin
square_locator
circle_pin
pin_four_corner
circle_pinch
circleDoubleNub
sphere
square
star
octogon
arrow3d
coffee_eyes
circleCross
halfMoonHandle
spinner
circleGrabber
cube_locator
yaw
spiky
cross
sphere2
seeSaw
inOut
squareLiner
circle
circleLiner
rectangle
outwardCirclePointer
halfCircleLiner
diamond
triangle
gear
circleDoublePointer
fx
M
circle_point
coffee_mouth
wigglyPointer
twoAxisRotate
line
spin
pin_round
rotate
circleZ
cube
circleX
lightning
gearPoint
outwardPointer
rotateTwoDirections
push
squarePointer
circleNub
pin_point
circleY
square_point
glasses
louisVottero
Site Admin
Posts: 202
Joined: Sat Aug 29, 2015 8:50 am

Re: Curve Library

Also here is the way to find out about curves.

Code: Select all

#you may have to add Vetala to the system path
#import sys
#sys.path.append('c:/Vetala')

from vtool.maya_lib import curve
info = curve.CurveDataInfo()
info.set_active_library('default_curves')

#to print out the names
info.get_curve_names()

#to create all the curves in the scene.
info.create_curves()

Return to “Requests”