- application wide change: introduced the precision parameters in Edit -> Preferences who will control how many decimals to use in the app parameters
This commit is contained in:
@@ -77,6 +77,7 @@ class Excellon(Geometry):
|
||||
:return: Excellon object.
|
||||
:rtype: Excellon
|
||||
"""
|
||||
self.decimals = self.app.decimals
|
||||
|
||||
if geo_steps_per_circle is None:
|
||||
geo_steps_per_circle = int(Excellon.defaults['geo_steps_per_circle'])
|
||||
|
||||
@@ -83,6 +83,7 @@ class Gerber(Geometry):
|
||||
|
||||
# How to approximate a circle with lines.
|
||||
self.steps_per_circle = int(self.app.defaults["gerber_circle_steps"])
|
||||
self.decimals = self.app.decimals
|
||||
|
||||
# Initialize parent
|
||||
Geometry.__init__(self, geo_steps_per_circle=self.steps_per_circle)
|
||||
|
||||
Reference in New Issue
Block a user