channel- superclass: shape; super-superclass:node - 45:7 - classID: #(2109476502, 0)
The Channel Shape is available in 3ds Max 8 and higher under Create>Shapes>"Extended Splines" and provides an "U"-like shape.
Constructor
channel...
Properties
<channel>.channel_length Float default: 0.0 -- animatable; float; Length
Get/set the Length of the Channel shape.
<channel>.channel_width Float default: 0.0 -- animatable; float; Width
Get/set the Width of the Channel shape.
<channel>.channel_thickness Float default: 0.0 -- animatable; float; Thickness
Get/set the Thickness of the Channel shape.
<channel>.channel_syncCornerFillets BooleanClass default: true -- boolean; Constant_Thickness
Controls whether the corners will be synchronized or not. When set to true, the .angle_radius2 property will not be used, instead a synch. value based on . angle_radius will be generated automatically to keep the fillets synchronized.
<channel>.channel_radius Float default: 0.0 -- animatable; float; CornerRadius1
Get/set the Corner Radius 1 of the Channel shape.
<channel>.channel_radius2 Float default: 0.0 -- animatable; float; CornerRadius2
Get/set the Corner Radius 2 of the Channel shape.
<channel>.steps Integer default: 6 -- integer
Get/set the Steps value. This controls the number of subdivisions between two vertices.
<channel>.optimize BooleanClass default: true -- boolean
Enable/Disable the Optimize option. When set to true, removes unneeded steps from straight segments in the spline.
<channel>.adaptive BooleanClass default: false -- boolean
Enable/Disable the Adaptive option. When true, sets the number of steps for each segment to produce a smooth curve. Straight segments always receive 0 steps.
<channel>.typeIn_creationMethodBooleanClass default: false -- boolean; Creation_Method
Controls the creation method when using the Keyboard Entry controls. Possible values are:
false:Edge
true:Center
<channel>.typeIn_x Float default: 0.0 -- float; X
Get/set the X type-in value.
<channel>.typeIn_y Float default: 0.0 -- float; Y
Get/set the Y type-in value.
<channel>.typeIn_z Float default: 0.0 -- float; Z
Get/set the Z type-in value.
<channel>.typeIn_Length Float default: 0.0 -- float; TypeInLength
Get/set the Length type-in value.
<channel>.typeIn_Width Float default: 0.0 -- float; TypeInWidth
Get/set the Width type-in value.
<channel>.typeIn_Thickness Float default: 0.0 -- float; TypeInThickness
Get/set the Thickness type-in value.
<channel>.typeIn_Radius Float default: 0.0 -- float; TypeInRadius
Get/set the Corner Radius type-in value.
<channel>.typeIn_Radius2 Float default: 0.0 -- float; TypeInRadius2
Get/set the Corner Radius 2 type-in value.
<channel>.render_renderable BooleanClass default: false -- boolean; renderable
Controls the state of the "Enable in Renderer" checkbox. When set to true, the spline will be rendered by the production renderer.
<channel>.render_displayRenderMesh BooleanClass default: false -- boolean; displayRenderMesh
Controls the state of the "Enable In Viewport" checkbox. When set to true, the spline's mesh will be displayed in the viewports.
<channel>.render_useViewportSettings BooleanClass default: false -- boolean; useViewportSettings
Controls the state of the "Use Viewport Settings" checkbox. When set to true, the mesh displayed in the viewport will use the Viewport settings. When false, the Renderer settings will be used for the viewport mesh, too.
<channel>.render_mapcoords BooleanClass default: false -- boolean; mapcoords
Toggles mapping coordinates generation on and off. The U coordinate wraps once around the thickness of the spline; the V coordinate is mapped once along the length of the spline.
<channel>.realWorldMapSize BooleanClass default: false -- boolean
Toggles the real-world map size option on and off.
<channel>.render_displayRenderSettings BooleanClass default: true -- boolean; displayRenderSettings
Toggles the state of the Viewport/Renderer radio buttons. When set to true, the Renderer settings will be displayed in the rollout. When false, the Viewport settings will be shown instead.
<channel>.render_rectangular BooleanClass default: false -- boolean
When set to true, enables the Rectangular cross-section mode to be used in the renderer. When false (default), enables the Radial cross-section mode. Corresponds to the Radial/Rectangular radio buttons in the UI in Renderer mode.
<channel>.render_viewport_rectangular BooleanClass default: false -- boolean
When set to true, enables the Rectangular cross-section mode to be used in the viewports. When false (default), enables the Radial cross-section mode. Corresponds to the Radial/Rectangular radio buttons in the UI in Viewport mode.
<channel>.render_thickness Float default: 1.0 -- animatable <channel>.thickness Float default: 1.0 -- animatable; float
Get/Set the diameter of the Radial renderable spline mesh.
<channel>.render_sides Integer default: 12 -- animatable <channel>.sides Integer default: 3 -- integer
Get/Set the number of sides for the spline mesh in the renderer. A value of 4 will give you a square cross section, for example.
<channel>.render_angle Float default: 0.0 -- animatable <channel>.angle Float default: 0.0 -- float
Get/Set therotational position of the Radial cross-section in the renderer.
<channel>.render_length Float default: 6.0 -- animatable
Get/Set the length of the Rectangular renderable spline mesh.
<channel>.render_width Float default: 2.0 -- animatable
Get/Set the width of the Rectangular renderable spline mesh.
<channel>.render_angle2 Float default: 0.0 -- animatable
Get/Set rotational position of the Rectangular cross-section in the renderer.
<channel>.render_aspect_locked BooleanClass default: false -- boolean
Controls the state of the Aspect Lock checkbutton. When set to true, changing the Width will affect the Height and vice-versa, preserving the aspect at the time the lock was engaged.
<channel>.render_viewport_angle Float default: 0.0 -- float; viewport_angle
Get/Set the diameter of the Radial renderable spline mesh in the viewport.
<channel>.render_viewport_sides Integer default: 12 -- integer; viewport_sides
Gets/Sets the number of sides for the Radial spline mesh in the viewports. A value of 4 will give you a square cross section, for example.
<channel>.render_viewport_thickness Float default: 1.0 -- float; viewport_thickness
Gets/Sets the rotational position of the cross-section in the viewports.
<channel>.render_viewport_length Float default: 6.0 -- float
Get/Set the length of the Rectangular spline mesh in the viewports.
<channel>.render_viewport_width Float default: 2.0 -- float
Get/Set the width of the Rectangular spline mesh in the viewports.
<channel>.render_viewport_angle2 Float default: 0.0 -- float
Get/Set rotational position of the Rectangular cross-section in the viewports.
<channel>.render_viewport_aspect_locked BooleanClass default: false -- boolean
Controls the state of the Aspect Lock checkbutton. When set to true, changing the Width will affect the Height and vice-versa, preserving the aspect at the time the lock was engaged.
<channel>.render_auto_smooth BooleanClass default: true -- boolean
Controls the state of the Auto Smooth checkbox. When set to true, auto smoothing will be enabled.
<channel>.render_threshold Float default: 40.0 -- animatable
Get/Set auto smoothing angle threshold.