Go to: Synopsis. Flags. Return value. MEL examples.

Synopsis

bevel [-bevelShapeType int] [-constructionHistory boolean] [-cornerType int] [-curveOnSurface boolean] [-depth linear] [-extrudeDepth linear] [-joinSurfaces boolean] [-name string] [-numberOfSides int] [-object boolean] [-polygon int] [-range boolean] [-rebuild boolean] [-replaceOriginal boolean] [-tolerance linear] [-width linear] [object1]

bevel is undoable, queryable, and editable.

The bevel command creates a new bevel surface for the specified curve. The curve can be any nurbs curves.

Flags

bevelShapeType, constructionHistory, cornerType, curveOnSurface, depth, extrudeDepth, joinSurfaces, name, numberOfSides, object, polygon, range, rebuild, replaceOriginal, tolerance, width
Long name (short name) [argument types] Properties
-tolerance(-tol) linear queryedit
The tolerance for bevel offsets
Default: 0.01

In query mode, this flag needs a value.

-width(-w) linear queryedit
The width for bevel
Default: 0.5

In query mode, this flag needs a value.

-depth(-d) linear queryedit
The depth for bevel
Default: 0.5

In query mode, this flag needs a value.

-extrudeDepth(-ed) linear queryedit
The extrude depth for bevel
Default: 1.0

In query mode, this flag needs a value.

-cornerType(-ct) int queryedit
Corner type: 1 - linear, 2 - circular
Default: 2

In query mode, this flag needs a value.

-numberOfSides(-ns) int queryedit
Number of sides to bevel: 1 - no bevel just extrude, 2 - bevel start and extrude, 3 - bevel end and extrude, 4 - bevel end and start and extrude
Default: 4

In query mode, this flag needs a value.

-bevelShapeType(-bst) int queryedit
Shape type: 1 - straight cut, 2 - curve out, 3 - curve in
Default: 1

In query mode, this flag needs a value.

-joinSurfaces(-js) boolean queryedit
If true, join all the bevel surfaces into one or leave separate if false
Default: true

In query mode, this flag needs a value.

-name(-n) string create
Name the resulting object
-constructionHistory(-ch) boolean create
Turn the construction history on or off (not available in all commands)
-object(-o) boolean create
Create the result, or just the dependency node (not available in all commands)
-replaceOriginal(-rpo) boolean create
Create "in place" (i.e., replace) (not available in all commands)
-curveOnSurface(-cos) boolean create
If possible, create 2D curve as a result (not available in all commands)
-polygon(-po) int create
The value of this argument controls the type of the object created by this operation (not available in all commands)
  • 0: nurbs surface
  • 1: polygon (use nurbsToPolygonsPref to set the parameters for the conversion)
  • 2: subdivision surface (use nurbsToSubdivPref to set the parameters for the conversion)
  • 3: Bezier surface
  • 4: subdivision surface solid (use nurbsToSubdivPref to set the parameters for the conversion)
-range(-rn) boolean create
Force a curve range on complete input curve (not available in all commands)
-rebuild(-rb) boolean create
Rebuild the input curve(s) before using them in the operation. Use nurbsCurveRebuildPref to set the parameters for the conversion. (not available in all commands)

Flag can appear in Create mode of command Flag can appear in Edit mode of command
Flag can appear in Query mode of command Flag can be used more than once in a command

Return value


[string[]] (object name and node name)

MEL examples

// Bevel (one) active curve with a width and depth of 1.5:
bevel -w 1.5 -d 1.5;

// Create a single-sided bevel (at start) surface using the specified
// curve (with the default dimensions):
bevel -ns 2 curve1;