Merge pull request #21529 from jffmichi/prevent_travel_dogbone
CAM: prevent dogbones between two travel moves
This commit is contained in:
@@ -271,6 +271,8 @@ class Proxy(object):
|
||||
return PathDressup.toolController(obj.Base).Tool.Diameter.Value / 2
|
||||
|
||||
def createBone(self, obj, move0, move1):
|
||||
if move0.isRapid() and move1.isRapid():
|
||||
return None
|
||||
kink = dogboneII.Kink(move0, move1)
|
||||
Path.Log.debug(f"{obj.Label}.createBone({kink})")
|
||||
if insertBone(obj, kink):
|
||||
|
||||
Reference in New Issue
Block a user