move to specific sync_to and sync_from methods

This commit is contained in:
Morgan 'ARR\!' Allen 2025-04-30 20:23:20 -07:00
parent e81979ad84
commit 613f959781

View file

@ -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()