RenderMixin

Synopsis

This design contains the protocol used to control rendering of a part or branch. The modelSelf rule is called to draw the part if the part is being rendered. Typically, the modelSelf rule contains a call to create the geometry in CAD host and returns a handle to that geometry.

Mixins

RenderMixinModifier

Parameters

Name Type Description
render? boolean Determines whether this branch gets rendered. Default is True .

Rules

Name Type Description
modelSelf list List of host CAD handles for this part .
renderedChildren list List of children rendered. This rule loops through the list of children , collecting all the children that have a render? value of True .
renderedDescendants List List of descendents rendered. This rule loops through the list of children , collecting all the children that have a render? value of True .