111 Commits

Author SHA1 Message Date
nickthetait
ec12b901d1 Rename to be consistent with other plugins
T466
2016-12-23 15:53:16 -05:00
Ghostkeeper
63d007c02c Rename GCodeReader to GCodeProfileReader
The new name is more appropriate since it reads only the profiles from the g-code. In the future there might be some other plug-in that reads the actual g-code as for instance a mesh.

Contributes to issue CURA-34.
2015-12-17 13:35:16 +01:00
Ghostkeeper
edbbc96281 Update metadata for GCodeReader
It more accurately describes what the plugin does.

Contributes to issue CURA-34.
2015-12-17 13:35:16 +01:00
Ghostkeeper
20151a5042 Change plugin type to profile_reader
This repairs the profile reading at startup. It should not be a mesh reader.

Contributes to issue CURA-34.
2015-12-17 13:35:16 +01:00
Ghostkeeper
6d225948f2 Remove newlines in deserialisation
The artificial line-breaks for the 80-character limit were taken along with the read-by-line of reading the g-code file, apparently. This obviously produced errors in the config parser.

Contributes to issue CURA-34.
2015-12-17 13:33:10 +01:00
Ghostkeeper
5358dfe2d6 Fix imports for GCodeReader
This code was more or less copied from the writer. It requires regular expressions and the application, but I didn't take the imports along.

Contributes to issue CURA-34.
2015-12-17 13:33:10 +01:00
Ghostkeeper
d60d2f6c71 Initial GCodeReader reading profiles from g-code
Hasn't been tested yet. Probably is wrong.

Contributes to issue CURA-34.
2015-12-17 13:33:10 +01:00
Ghostkeeper
d23cf97214 Allow multiple file types per mesh reader
A mesh reader plugin now uses a list of file types that it can offer to read, instead of being limited to one.

Contributes to issue CURA-266.
2015-12-15 11:21:19 +01:00
Arjen Hiemstra
9267b517d6 Fix coding style issues 2015-11-27 16:53:32 +01:00
daid
743b403b29 Whole bunch of um-pep8 style fixes. 2015-11-27 13:50:44 +01:00
Jaime van Kessel
3d292cf328 Added g-code reader stub 2015-09-23 14:27:50 +02:00