move to specific sync_to and sync_from methods
This commit is contained in:
parent
e81979ad84
commit
613f959781
1 changed files with 5 additions and 1 deletions
|
@ -179,7 +179,11 @@ class BoardObject(BaseObject):
|
|||
Part.LineSegment(start, begin)
|
||||
)
|
||||
|
||||
def sync(self):
|
||||
def sync_from(self):
|
||||
self.sketch_outline()
|
||||
self.substrate_body.recompute(True)
|
||||
|
||||
def sync_to(self):
|
||||
board = self.kicad_board
|
||||
|
||||
commit = board.begin_commit()
|
||||
|
|
Loading…
Add table
Reference in a new issue