- in legacy graphic engine, fixed a bug that when deleting an object all objects where deleted

- added a new TclCommand named set_origin which will set the origin for all loaded objects to zero if the -auto True argument is used and to a certain x,y location if the format is: set_origin 5,7
This commit is contained in:
Marius Stanciu
2019-09-23 03:35:32 +03:00
committed by Marius
parent c17d05600b
commit edbb690d1b
6 changed files with 150 additions and 31 deletions

View File

@@ -5041,7 +5041,7 @@ class Excellon(Geometry):
def bounds(self):
"""
Returns coordinates of rectangular bounds
of Gerber geometry: (xmin, ymin, xmax, ymax).
of Excellon geometry: (xmin, ymin, xmax, ymax).
"""
# fixed issue of getting bounds only for one level lists of objects
# now it can get bounds for nested lists of objects