Skip to content

Commit

Permalink
Merge pull request #362 from realthunder/master
Browse files Browse the repository at this point in the history
Fix lost of topo naming
  • Loading branch information
shaise authored Aug 19, 2024
2 parents f903213 + bb4199d commit b729d55
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion SheetMetalCmd.py
Original file line number Diff line number Diff line change
Expand Up @@ -287,9 +287,12 @@ def smGetFace(Faces, obj):

def LineExtend(edge, distance1, distance2):
# Extend a ine by given distances
return edge.Curve.toShape(
result = edge.Curve.toShape(
edge.FirstParameter - distance1, edge.LastParameter + distance2
)
if hasattr(result, "mapShapes"):
result.mapShapes([(edge, result)], [])
return result


def getParallel(edge1, edge2):
Expand Down

0 comments on commit b729d55

Please sign in to comment.