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.

CADGeometry.delete()

Delete the object.

CADGeometry.refresh()

Reload the geometry from its external source.

CADGeometry.store(parent)

Store the object on the server.

Attributes

Examples using CADGeometry#

Advanced selection rules example

Advanced selection rules example

Thickness definition example

Thickness definition example