Merge pull request #10505 from Roy-043/Draft-Fix-angle-range-issue-of-make_circle
Draft: Fix angle range issue of make_circle
This commit is contained in:
@@ -342,13 +342,9 @@ class Arc(gui_base_original.Creator):
|
||||
end = math.degrees(self.firstangle + self.angle)
|
||||
if end < sta:
|
||||
sta, end = end, sta
|
||||
while True:
|
||||
if sta > 360:
|
||||
sta = sta - 360
|
||||
elif end > 360:
|
||||
end = end - 360
|
||||
else:
|
||||
break
|
||||
sta %= 360
|
||||
end %= 360
|
||||
|
||||
try:
|
||||
Gui.addModule("Draft")
|
||||
if utils.getParam("UsePartPrimitives", False):
|
||||
|
||||
Reference in New Issue
Block a user