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

Synopsis

bevel [-bevelShapeType int] [-caching boolean] [-constructionHistory boolean] [-cornerType int] [-depth linear] [-extrudeDepth linear] [-name string] [-nodeState int] [-object boolean] [-polygon int] [-range boolean] [-tolerance linear] [-width linear] [object]

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.

Return value

string[]Object name and node name

In query mode, return type is based on queried flag.

Flags

bevelShapeType, caching, constructionHistory, cornerType, depth, extrudeDepth, name, nodeState, object, polygon, range, tolerance, width
Long name (short name) Argument types Properties
-bevelShapeType(-bst) int createqueryedit
Shape type: 1 - straight cut, 2 - curve out, 3 - curve in
Default: 1
-cornerType(-ct) int createqueryedit
Corner type: 1 - linear, 2 - circular
Default: 2
-depth(-d) linear createqueryedit
The depth for bevel
Default: 0.5
-extrudeDepth(-ed) linear createqueryedit
The extrude depth for bevel
Default: 1.0
-tolerance(-tol) linear createqueryedit
The tolerance for bevel offsets
Default: 0.01
-width(-w) linear createqueryedit
The width for bevel
Default: 0.5
Common flags
-constructionHistory(-ch) boolean create
Turn the construction history on or off.
-name(-n) string create
Sets the name of the newly-created node. If it contains namespace path, the new node will be created under the specified namespace; if the namespace does not exist, it will be created.
-object(-o) boolean create
Create the result, or just the dependency node.
-polygon(-po) int create
The value of this argument controls the type of the object created by this operation
  • 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.
Advanced flags
-caching(-cch) boolean createqueryedit
Modifies the node caching mode. See the node documentation for more information.
Note: For advanced users only.
-nodeState(-nds) int createqueryedit
Modifies the node state. See the node documentation for more information.
Note: For advanced users only.

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.

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;