Skip to content

Commit

Permalink
Symmetry Bug Fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
caseycrogers committed Jun 10, 2015
1 parent 43cf0e6 commit a8eacbb
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Dogbone.py
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,9 @@ def createDogbone(circStr, circVal, edge):
if not pointTuple:
adsk.core.Application.get().userInterface.messageBox('non-adjacent edges')
return
line0 = lines.addByTwoPoints(pointTuple[0], pointTuple[1].geometry)
tempPoint = adsk.core.Point3D.create((pointTuple[1].geometry.x + pointTuple[2].geometry.x)/2,
(pointTuple[1].geometry.y + pointTuple[2].geometry.y)/2, 0)
line0 = lines.addByTwoPoints(pointTuple[0], tempPoint)
line0.isConstruction = True
line1.isConstruction = True
line2.isConstruction = True
Expand Down

0 comments on commit a8eacbb

Please sign in to comment.