- fixed bug in camlib.Gerber.parse_lines() Gerber parser where for Allegro Gerber files the Gerber units were incorrectly detected
This commit is contained in:
parent
cac92f75f2
commit
04bc1ba013
|
@ -16,6 +16,7 @@ CAD program, and create G-Code for Isolation routing.
|
||||||
- the 'passes' entry was changed to a IntSpinner so it will allow passes to be entered only in range (1, 999) - it will not allow entry of 0 which may create some issues
|
- the 'passes' entry was changed to a IntSpinner so it will allow passes to be entered only in range (1, 999) - it will not allow entry of 0 which may create some issues
|
||||||
- improved the FlatCAMGerber.isolate() function to work for geometry in the form of list and also in case that the elements of the list are LinearRings (like when doing the Exterior Isolation)
|
- improved the FlatCAMGerber.isolate() function to work for geometry in the form of list and also in case that the elements of the list are LinearRings (like when doing the Exterior Isolation)
|
||||||
- in NCC Tool made sure that at each run the old objects are deleted
|
- in NCC Tool made sure that at each run the old objects are deleted
|
||||||
|
- fixed bug in camlib.Gerber.parse_lines() Gerber parser where for Allegro Gerber files the Gerber units were incorrectly detected
|
||||||
|
|
||||||
11.08.2019
|
11.08.2019
|
||||||
|
|
||||||
|
|
|
@ -2358,7 +2358,7 @@ class Gerber (Geometry):
|
||||||
"D-no zero suppression)" % self.gerber_zeros)
|
"D-no zero suppression)" % self.gerber_zeros)
|
||||||
log.debug("Gerber format found. Coordinates type = %s (Absolute or Relative)" % absolute)
|
log.debug("Gerber format found. Coordinates type = %s (Absolute or Relative)" % absolute)
|
||||||
|
|
||||||
self.gerber_units = match.group(1)
|
self.gerber_units = match.group(5)
|
||||||
log.debug("Gerber units found = %s" % self.gerber_units)
|
log.debug("Gerber units found = %s" % self.gerber_units)
|
||||||
# Changed for issue #80
|
# Changed for issue #80
|
||||||
self.convert_units(match.group(5))
|
self.convert_units(match.group(5))
|
||||||
|
|
Loading…
Reference in New Issue