heal_objects#
- Modeler3D.heal_objects(assignment, auto_heal: bool = True, tolerant_stitch: bool = True, simplify_geometry: bool = True, tighten_gaps: bool = True, heal_to_solid: bool = False, stop_after_first_stitch_error: bool = False, max_stitch_tolerance: float = 0.001, explode_and_stitch: bool = True, geometry_simplification_tolerance: int = 1, maximum_generated_radius: int = 1, simplify_type: int = 0, tighten_gaps_width: float = 1e-05, remove_silver_faces: bool = True, remove_small_edges: bool = True, remove_small_faces: bool = True, silver_face_tolerance: int = 1, small_edge_tolerance: int = 1, small_face_area_tolerance: int = 1, bounding_box_scale_factor: int = 0, remove_holes: bool = True, remove_chamfers: bool = True, remove_blends: bool = True, hole_radius_tolerance: int = 1, chamfer_width_tolerance: int = 1, blend_radius_tolerance: int = 1, allowable_surface_area_change: int = 5, allowable_volume_change: int = 5) bool#
Repair invalid geometry entities for the selected objects within the specified tolerance settings.
- Parameters:
- assignment
str List of object names to analyze.
- auto_healbool,
optional Auto heal option. Default value is
True.- tolerant_stitchbool,
optional Tolerant stitch for manual healing. The default is
True.- simplify_geometrybool,
optional Simplify geometry for manual healing. The default is
True.- tighten_gapsbool,
optional Tighten gaps for manual healing. The default is
True.- heal_to_solidbool,
optional Heal to solid for manual healing. The default is
False.- stop_after_first_stitch_errorbool,
optional Stop after first stitch error for manual healing. The default is
False.- max_stitch_tolerance
float,str,optional Max stitch tolerance for manual healing. The default is
0.001.- explode_and_stitchbool,
optional Explode and stitch for manual healing. The default is
True.- geometry_simplification_tolerance
float,str,optional Geometry simplification tolerance for manual healing in mm. The default is
1.- maximum_generated_radius
float,str,optional Maximum generated radius for manual healing in mm. The default is
1.- simplify_type
int,optional Simplify type for manual healing. The default is
0which refers toCurves. Other available values are1forSurfacesand2forBoth.- tighten_gaps_width
float,str,optional Tighten gaps width for manual healing in mm. The default is
0.00001.- remove_silver_facesbool,
optional Remove silver faces for manual healing. The default is
True.- remove_small_edgesbool,
optional Remove small edges faces for manual healing. The default is
True.- remove_small_facesbool,
optional Remove small faces for manual healing. The default is
True.- silver_face_tolerance
float,str,optional Silver face tolerance for manual healing in mm. The default is
1.- small_edge_tolerance
float,str,optional Silver face tolerance for manual healing in mm. The default is
1.- small_face_area_tolerance
float,str,optional Silver face tolerance for manual healing in mm^2. The default is
1.- bounding_box_scale_factor
int,optional Bounding box scaling factor for manual healing. The default is
0.- remove_holesbool,
optional Remove holes for manual healing. The default is
True.- remove_chamfersbool,
optional Remove chamfers for manual healing. The default is``True``.
- remove_blendsbool,
optional Remove blends for manual healing. The default is
True.- hole_radius_tolerance
float,str,optional Hole radius tolerance for manual healing in mm. The default is
1.- chamfer_width_tolerance
float,str,optional Chamfer width tolerance for manual healing in mm. The default is
1.- blend_radius_tolerance
float,str,optional Blend radius tolerance for manual healing in mm. The default is
1.- allowable_surface_area_change
float,str,optional Allowable surface area for manual healing in mm. The default is
1.- allowable_volume_change
float,str,optional Allowable volume change for manual healing in mm. The default is
1.
- assignment
- Returns:
- bool
Truewhen successful,Falsewhen failed.