Computes validation properties of supported model data objects.
Validation properties include volume, surface area, center of mass, and principal axes of inertia. Depending on object contents, some properties may not be computable; for example, volume is unavailable for sheet and wireframe data, while surface area is unavailable for pure wireframe data. Invalid entities are skipped when possible and reported through ValidationPropertyData.isValid.
new ValidationProperties():
ValidationProperties
ValidationProperties
Computes validation properties of a supported object.
Object to analyze.
staticcompute(model):ValidationPropertyData
Computes validation properties of a model.
Model to analyze.
staticcompute(modelElement):ValidationPropertyData
Computes validation properties of a model element.
Model element to analyze.
staticcompute(body):ValidationPropertyData
Computes validation properties of a body.
Body to analyze.
staticcompute(shape):ValidationPropertyData
Computes validation properties of a B-Rep shape.
Shape to analyze.
staticcompute(meshShape):ValidationPropertyData
Computes validation properties of a mesh shape.
Mesh shape to analyze.
Computes the center of mass of a supported object.
Returns Point.origin when the centroid cannot be computed.
Object to analyze.
staticcomputeCentroid(model):Point
Computes the center of mass of a model.
Model to analyze.
staticcomputeCentroid(modelElement):Point
Computes the center of mass of a model element.
Model element to analyze.
staticcomputeCentroid(body):Point
Computes the center of mass of a body.
Body to analyze.
staticcomputeCentroid(shape):Point
Computes the center of mass of a B-Rep shape.
Shape to analyze.
staticcomputeCentroid(meshShape):Point
Computes the center of mass of a mesh shape.
Mesh shape to analyze.