Editable_Poly Face Smoothing Groups Methods

polyop.setFaceSmoothGroup <Poly poly> <facelist> <int smoothing_group> add:<boolean=false>

Sets the smoothing groups for the specified faces.

The state of each bit in <smoothing_group> specifies whether the face belongs to the corresponding smoothing group.

If <add> is true , <smoothing_group> is added to the existing smoothing group data specified for each face.

If <add> is false , the existing smoothing group data is overwritten.

polyop.getFaceSmoothGroup <Poly poly> <int face>

Returns the smoothing group data for the specified face as an integer.

The state of each bit in the result specifies whether the face belongs to the corresponding smoothing group.