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, default: 'CADGeometry') – Name of the CAD Geometry.

  • external_path (str, default: '') – Path to the CAD file.

  • scale_factor (float, default: 1.0) – Scale factor applied to the CAD geometry.

  • use_default_precision (bool, default: True) – Whether to use the default precision value.

  • precision (float, default: 0.001) – Precision of geometrical operations such as intersection points, thickness sampling, etc.

  • use_default_offset (bool, default: True) – Whether to use the default offset value.

  • offset (float, default: 0.0) – Offset value used to analyze the surface’s coverage regarding the mesh.

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

CADGeometry.external_path

CADGeometry.id

Identifier of the object, used for example as key in maps.

CADGeometry.locked

CADGeometry.name

The name of the object.

CADGeometry.offset

CADGeometry.precision

CADGeometry.root_shapes

CADGeometry.scale_factor

CADGeometry.status

CADGeometry.use_default_offset

CADGeometry.use_default_precision

CADGeometry.visualization_mesh

Surface mesh for visualization.