Skip to content

Commit

Permalink
Bug Fix: Support Structure Extrusion Invalid
Browse files Browse the repository at this point in the history
Extruded prismatic support volume was incorrectly processed because Trimesh's numerical tolerances changed resulting in mismatch between Ray Projections and the projected mesh.
  • Loading branch information
drlukeparry committed Jan 11, 2023
1 parent f9ff55e commit df2dd41
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyslm/support/support.py
Original file line number Diff line number Diff line change
Expand Up @@ -984,7 +984,7 @@ def identifySupportRegions(self, part: Part, overhangAngle: float,
continue

# Create a surface from the Ray intersection
surf2 = trimesh.Trimesh(vertices=coords2, faces=poly_tri[1])
surf2 = trimesh.Trimesh(vertices=coords2, faces=poly_tri[1], process= False)

# Extrude the surface based on the heights from the second ray cast
extrudedBlock = extrudeFace(surf2, None, hitLoc2[:, 2] - self.lowerProjectionOffset)
Expand Down

0 comments on commit df2dd41

Please sign in to comment.