remove prints
This commit is contained in:
parent
da98f7ba01
commit
3a40276260
1 changed files with 0 additions and 4 deletions
|
@ -32,8 +32,6 @@ class BoardObject(BaseObject):
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def board_polygon(self):
|
def board_polygon(self):
|
||||||
print(self.polygon_id)
|
|
||||||
print([ poly for poly in extract_polygons(self.kicad_board) if poly.id.value == self.polygon_id ][0])
|
|
||||||
return [ poly for poly in extract_polygons(self.kicad_board) if poly.id.value == self.polygon_id ][0]
|
return [ poly for poly in extract_polygons(self.kicad_board) if poly.id.value == self.polygon_id ][0]
|
||||||
|
|
||||||
def execute(self, feature):
|
def execute(self, feature):
|
||||||
|
@ -186,9 +184,7 @@ class BoardObject(BaseObject):
|
||||||
for node in self.board_polygon.polygons[0].outline:
|
for node in self.board_polygon.polygons[0].outline:
|
||||||
vectors.append(self.point_to_vector(node.point))
|
vectors.append(self.point_to_vector(node.point))
|
||||||
|
|
||||||
print(self.feature.Vectors == vectors)
|
|
||||||
self.feature.Vectors = vectors
|
self.feature.Vectors = vectors
|
||||||
print(self.feature.Vectors == vectors)
|
|
||||||
|
|
||||||
App.ActiveDocument.recompute()
|
App.ActiveDocument.recompute()
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue