heal_objects#
- Modeler3D.heal_objects(assignment, auto_heal=True, tolerant_stitch=True, simplify_geometry=True, tighten_gaps=True, heal_to_solid=False, stop_after_first_stitch_error=False, max_stitch_tolerance=0.001, explode_and_stitch=True, geometry_simplification_tolerance=1, maximum_generated_radius=1, simplify_type=0, tighten_gaps_width=1e-05, remove_silver_faces=True, remove_small_edges=True, remove_small_faces=True, silver_face_tolerance=1, small_edge_tolerance=1, small_face_area_tolerance=1, bounding_box_scale_factor=0, remove_holes=True, remove_chamfers=True, remove_blends=True, hole_radius_tolerance=1, chamfer_width_tolerance=1, blend_radius_tolerance=1, allowable_surface_area_change=5, allowable_volume_change=5)#
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.