Interfaces > Core Interfaces > manip |
The manip Core Interface exposes the viewport Manipulators to MAXScript.
manip.msXYPlane : Interface : Read manip.msXZPlane : Interface : Read manip.msYZPlane : Interface : Read
Return a manipPlane [Mixin Interface] providing methods to get intersections with the respective plane.
This returns a mesh sphere with the given position, radius, and segments.
<point3>pos: Sets the mesh sphere Position
<float>radius: Specifies the radius of the sphere.
<integer>segments: Sets the number of polygonal divisions for the sphere.
Create a torus mesh with the given values.
<point3>pos: Sets the position of the torus.
<float>radius: Sets the distance from the center of the torus to the center of the cross-sectional circle. This is the radius of the torus ring.
<float>radius2: Sets the radius of the cross-sectional circle. The default is 10 units. This value is replaced each time you create a torus.
<integer>segs: Sets the number of radial divisions around the torus. By reducing this number, you can create polygonal rings instead of circular ones.
<integer>sides: Sets the number of sides on the cross-sectional circle of the torus. By reducing this number, you can create prism-like cross sections instead of circular ones.
<mesh>manip.makeBox <point3>pos <float>l <float>w <float>h <integer>lsegs <integer>wsegs <integer>hsegs
Creates a box mesh with the given parameters.
<point3>pos : Sets the position of the Box.
<float>l : Sets the length, width, and height of the Box object. These fields also act as readouts while you drag the sides of the box. Default=0,0,0.
<float>w : Sets the length, width, and height of the Box object. These fields also act as readouts while you drag the sides of the box. Default=0,0,0.
<float>h : Sets the length, width, and height of the Box object. These fields also act as readouts while you drag the sides of the box. Default=0,0,0.
<integer>lsegs : Sets the number of divisions along each axis of the object. Can be set before or after creation. By default, each side of the box is a single segment. When you reset these values, the new values become the default during a session. Default=1,1,1.
<integer>wsegs : Sets the number of divisions along each axis of the object. Can be set before or after creation. By default, each side of the box is a single segment. When you reset these values, the new values become the default during a session. Default=1,1,1.
<integer>hsegs : Sets the number of divisions along each axis of the object. Can be set before or after creation. By default, each side of the box is a single segment. When you reset these values, the new values become the default during a session. Default=1,1,1.
Creates a circle with the given parameters.
Sets the position of the Circle.
<float>radius : Sets the radius of the Circle.
<integer>segments : Sets the number of segments in the Circle.
Returns a gizmoShape Interface representing an empty gizmo shape that can be used to create user-defined gizmos by adding points to define freeform lines.
Returns a manipPlane Interface representing a plane passing through the three given points.
<point3>p1 : first point of the plane definition
<point3>p2 : second point of the plane definition
<point3>p3 : third point of the plane definition
Returns a manipPlane Interface representing a plane with the given normal that passes through the given point.
<point3>normal : the normal of the plane