- Subtraction Tool - minor changes

- in Gerber Editor - added some parameters to the UI: selected polygon coordinates and vertexes number and also added polygon simplification
- in Gerber Editor - fixed update of Aperture Table rows selection on multiple shapes selection
- in Geometry Editor - modified the FCCircle class to work as is the rest of the Geometry Editor add shapes classes
This commit is contained in:
Marius Stanciu
2020-12-02 21:18:08 +02:00
committed by Marius Stanciu
parent 356a13bf8b
commit 4309d1f8a7
3 changed files with 8 additions and 6 deletions

View File

@@ -2076,7 +2076,8 @@ class FCCircle(FCShapeTool):
p1 = self.points[0]
p2 = self.points[1]
radius = distance(p1, p2)
self.geometry = DrawToolShape(Point(p1).buffer(radius, int(self.steps_per_circ / 4)))
circle_shape = Point(p1).buffer(radius, int(self.steps_per_circ / 4)).exterior
self.geometry = DrawToolShape(circle_shape)
self.complete = True
self.draw_app.app.jump_signal.disconnect()