Solid Accuracy
Functions Introduced:
Use the functions
ProSolidAccuracyGet() and
ProSolidAccuracySet() to retrieve and set the accuracy of a specified part or assembly, respectively.
|
Note:
|
To set or retrieve the accuracy for an assembly you must traverse through all its parts in the assembly with these functions.
|
The input arguments for the function
ProSolidAccuracySet() are as follows:
• solid—The part or assembly whose accuracy you want to set.
• type—The type of the accuracy. The valid values are:
◦ PRO_ACCURACY_RELATIVE—Specifies the relative accuracy
◦ PRO_ACCURACY_ABSOLUTE—Specifies the absolute accuracy
• accuracy—The value of the accuracy that you want to set. The unit used for the absolute accuracy of the dimension is based on the unit of the part or assembly.
The function
ProSolidAccuracyGet() returns the type and value of the accuracy. The accuracy may be relative or absolute.
Using these functions to set and retrieve part accuracy is similar to performing these functions in using > > .
Derive the geometry epsilon for the required relative accuracy as follows:
geometry_epsilon = max_model_size x relative_accuracy x 0.08333
where, max_model_size is the output returned by the function ProSolidMaxsizeGet() and 0.08333 is the scaling factor.
Use the function ProSolidMaxsizeGet() to get the maximum model size of the specified solid. The maximum model size does not decrease even when material is removed from the solid.
Parent topic