Setting Shrinkwrap Options
The class pfcShrinkwrapModelExportInstructions contains the general methods available for all the types of shrinkwrap models. The object created by any of the interfaces specified in the preceeding table can be used with these methods.
Properties Introduced:
The property
pfcShrinkwrapModelExportInstructions.Method returns the method used to create the shrinkwrap. The types of shrinkwrap methods are:
• SWCREATE_SURF_SUBSET—Surface Subset
• SWCREATE_FACETED_SOLID—Faceted Solid
• SWCREATE_MERGED_SOLID—Merged Solid
The property
pfcShrinkwrapModelExportInstructions.Quality specifies the quality level for the system to use when identifying surfaces or components that 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 1.
The property
pfcShrinkwrapModelExportInstructions.AutoHoleFilling sets a flag that forces
Creo Parametric to identify all holes and surfaces that intersect a single surface and fills those holes during shrinkwrap. The default value is true.
The property
pfcShrinkwrapModelExportInstructions.IgnoreSkeleton determine s whether the skeleton model geometry must be included in the shrinkwrap model.
The property
pfcShrinkwrapModelExportInstructions.IgnoreQuilts and determines whether external quilts must be included in the shrinkwrap model.
The property
pfcShrinkwrapModelExportInstructions.AssignMassProperties 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 must assign a value for the mass properties.
The property
pfcShrinkwrapModelExportInstructions.IgnoreSmallSurfaces sets a flag that forces
Creo Parametric to skip surfaces smaller than a certain size. The default value is false. The size of the surface is specified as a percentage of the model’s size. This size can be modified using the property
pfcShrinkwrapModelExportInstructions.SmallSurfPercentage.
The
pfcShrinkwrapModelExportInstructions.DatumReferences specifies and selects the datum planes, points, curves, axes, and coordinate system references to be included in the shrinkwrap model.