The bevelPlus command creates a new bevel surface for the specified curves using a given style curve. The first curve should be the “outside” curve, and the (optional) rest of them should be inside of the first one. For predictable results, the curves should be planar and all in the same plane.
Long name (short name) | Argument Types | Properties | |
---|---|---|---|
bevelInside (bin) | bool | ||
caching (cch) | bool | ||
capSides (cap) | int | ||
|
|||
constructionHistory (ch) | bool | ||
|
|||
depth (d) | float | ||
|
|||
extrudeDepth (ed) | float | ||
|
|||
innerStyle (innerStyle) | int | ||
|
|||
joinSurfaces (js) | bool | ||
|
|||
name (n) | unicode | ||
|
|||
nodeState (nds) | int | ||
normalsOutwards (no) | bool | ||
|
|||
numberOfSides (ns) | int | ||
|
|||
outerStyle (os) | int | ||
Choose a style to use for the bevel of the first (outer) curve. There are 15 predefined styles (values 0 to 14 can be used to select them). For those experienced with MEL, you can, after the fact, specify a custom curve and use it for the style curve. See the documentation for styleCurve node to see what requirements a style curve must satisfy. |
|||
polyOutChordHeight (cht) | float | ||
Chord height is the absolute distance in object space which the center of a polygon edge can deviate from the actual center of the surface span. Only used if Method is Sampling and if polyOutseChordHeight is true.Default:0.1 |
|||
polyOutChordHeightRatio (chr) | float | ||
Chord height ratio is the ratio of the chord length of a surface span to the chord height. (This is a length to height ratio). 0 is a very loose fit. 1 is a very tight fit. This applies to the polygonal output type only. (See also description of chord height.) Used if Method is Sampling and polyOutUseChordHeightRatio is true.Default:0.1Flag can appear in Create mode of commandFlag can have multiple arguments, passed either as a tuple or a list. |
|||
polyOutCount (poc) | int | ||
|
|||
polyOutCurveSamples (pcs) | int | ||
|
|||
polyOutCurveType (pct) | int | ||
Initial tessellation criteria along the curve. Only used if Method is Sampling. 2 - Complete Curve. This type places a specific number of sample points along the curve, equally spaced in parameter space.3 - Curve Span. This type places a specific number of sample points across each curve span, equally spaced in parameter space.Default:3 |
|||
polyOutExtrusionSamples (pes) | int | ||
|
|||
polyOutExtrusionType (pet) | int | ||
Initial type tessellation criteria along the extrude direction. Used only if Method is Sampling. 2 - Complete Extrusion. This type places a specific number of lines across the surface, equally spaced in parameter space.3 - Extrusion Section. This type places a specific number of lines across each surface span, equally spaced in parameter space.Default:3 |
|||
polyOutMethod (pom) | int | ||
|
|||
polyOutUseChordHeight (uch) | bool | ||
True means use chord height. This is a secondary criteria that refines the tessellation produced using the sampling value. Only used if Method is Sampling.Default:false |
|||
polyOutUseChordHeightRatio (ucr) | bool | ||
True means use chord height ratio. This is a secondary criteria that refines the tessellation produced using the sampling value. Only used if Method is Sampling.Default:true |
|||
polygon (po) | int | ||
|
|||
range (rn) | bool | ||
tolerance (tol) | float | ||
|
|||
width (w) | float | ||
|
Derived from mel command maya.cmds.bevelPlus
Example:
import pymel.core as pm
pm.circle()
# Result: [nt.Transform(u'nurbsCircle1'), nt.MakeNurbCircle(u'makeNurbCircle1')] #
pm.scale( 10, 10, 10, r=True )
pm.circle()
# Result: [nt.Transform(u'nurbsCircle2'), nt.MakeNurbCircle(u'makeNurbCircle2')] #
pm.scale( 5, 5, 5, r=True )
pm.bevelPlus( 'nurbsCircle1', 'nurbsCircle2', po=1, cap=4, outerStyle=2, innerStyle=4 )
# Result: [nt.Transform(u'bevelPolygon1'), nt.BevelPlus(u'bevelPlus1')] #