PartOperation

Show Deprecated

An abstract class that all parts based on solid modeling inherit from.

Summary

Properties

The level of detail used to render solid-modeled and mesh parts.

An angle in degrees which affects the smooth shading of a solid modeled part.

The number of polygons in this solid model. This value will always be <= 5000.

READ ONLY
NOT REPLICATED

Sets whether the PartOperation can be recolored using the BrickColor property.

Events

Methods

Properties

SmoothingAngle

This property represents an angle in degrees for a threshold value between face normals on a solid modeled part. If the normal difference is less than the value, normals will be adjusted to smooth the difference. Usually a value between 30 and 70 degrees will produce a good result. 0 degrees leads to sharp edges. Values between 90 and 180 degrees are allowed but not encouraged, as it may cause a "shadowing" effect on unions with sharp edges.

Note that smoothing will not affect the normals between different materials or different colors.

SmoothingAngle = 0
SmoothingAngle = 50

TriangleCount

Read Only
Not Replicated

The number of polygons in this solid model. This value will always be <= 5000.

UsePartColor

Sets whether the PartOperation can be recolored using the BrickColor property. When true, the entire Union will be colored as per BasePart.BrickColor. When false, the parts in the Union will maintain their original colors before the Union operation was performed.

Events

Methods