create_cad_geometry#

Model.create_cad_geometry(*, 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.

Return type:

CADGeometry

Added in ACP server version 24.2.

Examples using Model.create_cad_geometry#

Advanced selection rules

Advanced selection rules

Thickness definition

Thickness definition

Solid Model

Solid Model

Imported ply

Imported ply