PointGrid : GeometryClass

PointGrid - superclass: GeometryClass; super-superclass:node - classID: #(2766683169, 1601898797)

The Point Grid object is a procedural point primitive that places points on a regular 3D lattice inside a box-shaped volume. It is found in the Points category of the Create panel. Available in 3ds Max 2027.3 and higher.

The total number of points is countX * countY * countZ. Along each axis the points are spaced evenly across the size on that axis, so the spacing is size / (count - 1). An axis with a count of 1 places its single row of points at 0.0 on that axis.

Every point is created with the standard instancing channels already filled in: rotation (Autodesk 3dsmax Rotation) set to [0,0,0], scale (Autodesk 3dsmax Scale) set to [1,1,1], and color (Autodesk 3dsmax Color) set to white.

Point Grid is built on the same point-cloud base as Editable Point, so its output can be processed by the Point modifiers and it can be collapsed to an Editable_Point object (for example with convertTo <node> Editable_Point).

Constructor

PointGrid...

FOR EXAMPLE

PointGrid countX:10 countY:10 countZ:5 sizeX:100 sizeY:100 sizeZ:50 alignment:2

Properties

<PointGrid>.countX     Integer    default: 2   --  animatable; integer

Gets/sets the number of points along the local X axis. Range 1 to 10000.

<PointGrid>.countY     Integer    default: 2   --  animatable; integer

Gets/sets the number of points along the local Y axis. Range 1 to 10000.

<PointGrid>.countZ     Integer    default: 2   --  animatable; integer

Gets/sets the number of points along the local Z axis. Range 1 to 10000.

<PointGrid>.sizeX     Float    default: 0.0   --  animatable; worldunits

Gets/sets the size of the grid along the local X axis. Range 0.0 to 9999999.9.

<PointGrid>.sizeY     Float    default: 0.0   --  animatable; worldunits

Gets/sets the size of the grid along the local Y axis. Range 0.0 to 9999999.9.

<PointGrid>.sizeZ     Float    default: 0.0   --  animatable; worldunits

Gets/sets the size of the grid along the local Z axis. Range 0.0 to 9999999.9.

<PointGrid>.alignment     Integer    default: 0   --  integer

Gets/sets where the grid is placed relative to the object's pivot. Possible values are:

Inherited properties

Point Grid also exposes the properties of the base Editable Point parameter block (display, soft selection, Gaussian splat and point file properties such as .displayPoints, .pointSize, .displayLimit, .splatsColor and .useSoftSelection). These are documented on the Editable_Point : GeometryClass page and are not repeated here.

The Editable Point function-published interfaces (for example the PointObject interface) are not available on a Point Grid: showInterfaces returns nothing for it. To use them, collapse the object to Editable_Point first.