Fill Patterns
A fill pattern controls the pattern by filling an area with pattern members. You can select a grid to define this area.
If the pattern type in your element tree is PRO_GENPAT_FILL_DRIVEN, the element tree must contain information about the grid and pattern members. The following figure shows the elements of the Fill pattern:
Figure 53. Element Tree for a Fill Pattern
The element PRO_E_GENPAT_FILL_TEMPLATE_TYPE specifies the type of grid template that you want to use to create a fill pattern.
The element PRO_E_GENPAT_FILL_SPACING specifies the spacing between the pattern members.
The element PRO_E_GENPAT_FILL_BORDERING specifies the minimum distance between the centers of the pattern members and the area boundary.
The element PRO_E_GENPAT_FILL_ROT_ANG specifies the rotation angle of the grid about the Csys origin.
The element PRO_E_GENPAT_FILL_RADIUS_INC specifies the radial spacing for circular and spiral grids.
The following table lists the contents of each PRO_E_GENPAT_FILL element.
Element ID Values | Element Name | Data Type | Valid Values |
|---|
PRO_E_GENPAT_FILL_TEMPLATE_TYPE | Fill template | PRO_VALUE_TYPE_INT | PRO_GENPAT_SQUARE_FILL, PRO_GENPAT_DIAMOND_FILL, PRO_GENPAT_TRIANGLE_FILL, PRO_GENPAT_CIRCLE_FILL, PRO_GENPAT_CURVE_FILL, PRO_GENPAT_SPIRAL_FILL |
PRO_E_GENPAT_FILL_SPACING | Fill spacing | PRO_VALUE_TYPE_DOUBLE | |
PRO_E_GENPAT_FILL_BORDERING | Fill bordering | PRO_VALUE_TYPE_DOUBLE | |
PRO_E_GENPAT_FILL_ROT_ANG | Fill angle | PRO_VALUE_TYPE_DOUBLE | |
PRO_E_GENPAT_FILL_RADIUS_INC | Fill radius increment | PRO_VALUE_TYPE_DOUBLE | |