Skip to content

Commit

Permalink
Path: Implement LazyLoader for Arcs module
Browse files Browse the repository at this point in the history
  • Loading branch information
Russ4262 committed Nov 23, 2020
1 parent a61aa05 commit c6d5bb8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Mod/Path/PathScripts/PathSlot.py
Expand Up @@ -40,6 +40,7 @@
# lazily loaded modules
from lazy_loader.lazy_loader import LazyLoader
Part = LazyLoader('Part', globals(), 'Part')
Arcs = LazyLoader('draftgeoutils.arcs', globals(), 'draftgeoutils.arcs')

if FreeCAD.GuiUp:
import FreeCADGui
Expand Down Expand Up @@ -1619,8 +1620,7 @@ def _arcCollisionCheck(self, obj, p1, p2, arcCenter, arcRadius):

# Make wire with inside and outside arcs, and lines on ends.
# Convert wire to face, then extrude
import draftgeoutils.arcs as Arcs
# Arc 1 - inside

# verify offset does not force radius < 0
newRadius = arcRadius - rad
# PathLog.debug('arcRadius, newRadius: {}, {}'.format(arcRadius, newRadius))
Expand Down

0 comments on commit c6d5bb8

Please sign in to comment.