create_extrusion_guide#
- SolidModel.create_extrusion_guide(*, name='ExtrusionGuide', active=True, edge_set=None, extrusion_guide_type='by_direction', cad_geometry=None, direction=(0.0, 0.0, 1.0), radius=0.0, depth=0.0, use_curvature_correction=False)#
Instantiate an Extrusion Guide of a Solid Model.
- Parameters:
name (str) – The name of the Oriented Selection Set.
active (bool) – Inactive extrusion guides are not used in the solid model extrusion.
edge_set (EdgeSet | None) – Edge Set along which the Extrusion Guide acts.
extrusion_guide_type (ExtrusionGuideType) – Type of the extrusion such as by direction or by geometry.
cad_geometry (VirtualGeometry | None) – CAD geometry along which the extrusion guide runs. Needed if the extrusion type is set to
ExtrusionGuideType.BY_GEOMETRY
.direction (tuple[float, float, float]) – Direction along which the extrusion guide runs. Need if the extrusion type is set to
ExtrusionGuideType.BY_DIRECTION
.radius (float) – Controls the sphere of influence for mesh morphing.
depth (float) – Defines the bias of the mesh morphing.
use_curvature_correction (bool) – Apply a curvature correction during the solid model extrusion which results in a smoother extruded surface. Under certain circumstances, deactivating curvature correction can lead to better extrusion results.
- Return type:
Added in ACP server version 25.1.