CADGeometry#
- class ansys.acp.core.CADGeometry(*, name='CADGeometry', external_path='', scale_factor=1.0, use_default_precision=True, precision=0.001, use_default_offset=True, offset=0.0)#
Instantiate a CAD Geometry.
- Parameters:
name (str) – Name of the CAD Geometry.
external_path (str) – Path to the CAD file.
scale_factor (float) – Scale factor applied to the CAD geometry.
use_default_precision (bool) – Whether to use the default precision value.
precision (float) – Precision of geometrical operations such as intersection points, thickness sampling, etc.
use_default_offset (bool) – Whether to use the default offset value.
offset (float) – Offset value used to analyze the surface’s coverage regarding the mesh.
Added in ACP server version 24.2.
Methods
CADGeometry.clone
(*[, unlink])Create a new unstored object with the same properties.
Delete the object.
Reload the geometry from its external source.
CADGeometry.store
(parent)Store the object on the server.
Attributes
Identifier of the object, used for example as key in maps.
The name of the object.
The parent of the object.
Surface mesh for visualization.
Examples using CADGeometry#
Advanced selection rules example