User's Guide > Interface: Data Exchange > Shrinkwrap Export > Setting Shrinkwrap Options
Setting Shrinkwrap Options
Functions Introduced:
The function ProShrinkwrapoptionsAlloc() allocates memory for the structure defining the shrinkwrap options. The types of shrinkwrap methods are:
PRO_SWCREATE_SURF_SUBSET—Surface Subset
PRO_SWCREATE_FACETED_SOLID—Faceted Solid
PRO_SWCREATE_MERGED_SOLID—Merged Solid
The function returns the options handle which is used to set the members of the structure defining the shrinkwrap options.
The function ProShrinkwrapoptionsFree() frees the memory allocated by the function ProShrinkwrapoptionsAlloc().
The function ProShrinkwrapoptionsQualitySet() specifies the quality level for the system to use when identifying surfaces or components that will contribute to the Shrinkwrap model. Quality ranges from 1 which produces the coarsest representation of the model in the fastest time, to 10 which produces the most exact representation. The default value is true.
The function ProShrinkwrapoptionsAutoholefillingSet() sets a flag that forces to identify all holes and surfaces that intersect a single surface and fills those holes during shrinkwrap. The default value is true.
The function ProShrinkwrapoptionsIgnoreskeletonsSet() determines whether the skeleton model geometry must be included in the Shrinkwrap model.
ProShrinkwrapoptionsIgnorequiltsSet() determines whether external quilts will be included in the Shrinkwrap model.
ProShrinkwrapoptionsIgnoreconstrbodiesSet() determines whether construction bodies are included in the Shrinkwrap model.
ProShrinkwrapoptionsAssignmasspropsSet() assigns mass properties to the Shrinkwrap model. The default value is false and the mass properties of the original model is assigned to the Shrinkwrap model. If the value is set to true, the user will have to assign a value for the mass properties.
ProShrinkwrapoptionsDatumrefsSet() selects the datum planes, points, curves, axes, and coordinate system references to be included from the Shrinkwrap model.
Isto foi útil?