mirror of
https://github.com/Denvi/FlatCAM.git
synced 2026-03-21 07:37:12 +01:00
Bug fix in Gerber parser. Removed requiring the 0 in D0x.
This commit is contained in:
@@ -688,7 +688,7 @@ class Gerber (Geometry):
|
||||
|
||||
# G01 - Linear interpolation plus flashes
|
||||
# Operation code (D0x) missing is deprecated... oh well I will support it.
|
||||
self.lin_re = re.compile(r'^(?:G0?(1))?(?:X(-?\d+))?(?:Y(-?\d+))?(?:D0([123]))?\*$')
|
||||
self.lin_re = re.compile(r'^(?:G0?(1))?(?:X(-?\d+))?(?:Y(-?\d+))?(?:D0?([123]))?\*$')
|
||||
|
||||
self.setlin_re = re.compile(r'^(?:G0?1)\*')
|
||||
|
||||
|
||||
Reference in New Issue
Block a user