fix center calc for tabs in non-circle-like polygons
This commit is contained in:
parent
b5d32aeed9
commit
88f1b8cafd
2 changed files with 5 additions and 1 deletions
|
|
@ -919,7 +919,7 @@
|
|||
let count = proc.camTabsCount,
|
||||
angle = proc.camTabsAngle,
|
||||
angle_inc = 360 / count,
|
||||
center = trace.circleCenter(),//BASE.newPoint(0,0,slice.z),
|
||||
center = trace.bounds.center(slice.z),
|
||||
offset = (tabWidth + toolDiam) / 2,
|
||||
ints = [],
|
||||
segs = [];
|
||||
|
|
|
|||
Loading…
Reference in a new issue