149 Commits

Author SHA1 Message Date
Jack Ha
f918a978b2 Fixed extruder per gcode layer. Created show_caution preference for gcode reader. CURA-3390 2017-03-15 14:29:59 +01:00
Jack Ha
bab1de604f Less yields for G-code reader and faster. CURA-3390 2017-03-15 13:16:51 +01:00
Jack Ha
792332e2ec Made G-code reader a lot faster. CURA-3390 2017-03-15 13:14:51 +01:00
Jack Ha
fda00d4c9f Added caution message for g-code reader. CURA-3390 2017-03-15 11:40:31 +01:00
Jaime van Kessel
1c7c5545b5 Comment checking now uses startswith 2017-03-13 15:52:42 +01:00
Jaime van Kessel
ae97e60ee4 Added logging if unknown feature type was encountered 2017-03-13 15:48:30 +01:00
Jaime van Kessel
b57c5af348 Added documentation 2017-03-13 15:45:59 +01:00
Jaime van Kessel
412b8bcb41 Moved check to inside if statement to prevent undeeded parsing 2017-03-13 15:34:30 +01:00
Jaime van Kessel
69b8a06eca Added documentation why gcode0 was defined to be the same as gcode1 2017-03-13 15:33:04 +01:00
Jaime van Kessel
3c9010fde4 Minor refactor to improve readability
CURA-3390
2017-03-13 15:29:25 +01:00
Jack Ha
30af908e29 Fixed GCodeReader. CURA-3273 2017-02-09 15:27:53 +01:00
Youness Alaoui
ad95f94d40 Remove redundant check 2017-01-05 13:04:56 -05:00
Victor Larchenko
33cd386556 D6: Fixed layers and line widths 2017-01-05 13:04:32 -05:00
Victor Larchenko
f8874bfe21 D6: Fixed multi-extrusion 2016-12-23 15:53:17 -05:00
Victor Larchenko
67ab0cab41 D6: Changed decorator and swapping to LayerView 2016-12-23 15:53:17 -05:00
Victor Larchenko
90f7cebbbb D6: Fixed gcode loading to scene while undo/redo 2016-12-23 15:53:17 -05:00
Victor Larchenko
fecf23d66d D6: Moved extensions to plugin metadata 2016-12-23 15:53:17 -05:00
Victor Larchenko
620a3891da D6: Moved decorator to cura 2016-12-23 15:53:16 -05:00
Victor Larchenko
3605403314 D6: Moved file loading code 2016-12-23 15:53:16 -05:00
Victor Larchenko
26fe0ddbb5 D6: Refactoring 2016-12-23 15:53:16 -05:00
Victor Larchenko
afc9b71279 D6: Fixed dual extrusion E value 2016-12-23 15:53:16 -05:00
Victor Larchenko
ba372f69a7 D6: Refactoring 2016-12-23 15:53:16 -05:00
Victor Larchenko
60eb83d920 D5: Refactored main cycle 2016-12-23 15:53:16 -05:00
Victor Larchenko
e6ebd225d3 D5: Added support of printers with center is zero parameter 2016-12-23 15:53:16 -05:00
Victor Larchenko
4aa59950ca D5: Added decorator 2016-12-23 15:53:16 -05:00
Victor Larchenko
002b3139e6 D5: Fixed dual extrusion colors 2016-12-23 15:53:16 -05:00
Victor Larchenko
a795323e5f D5: Added cura-generated gcode coloring 2016-12-23 15:53:16 -05:00
Victor Larchenko
897f01150b D5: Added class documentation 2016-12-23 15:53:16 -05:00
Victor Larchenko
c18b3149da D5: Moved loading files code 2016-12-23 15:53:16 -05:00
Victor Larchenko
cd7979e301 D5: Refactoring 2016-12-23 15:53:16 -05:00
Victor Larchenko
1631045d7a D5: Refactoring 2016-12-23 15:53:16 -05:00
Victor Larchenko
ce9251b5a6 T466: Fixed show only top layers bug 2016-12-23 15:53:16 -05:00
Victor Larchenko
2948e99fe8 T466: Removed dual extrusion offsets, the second extruder shown as another color 2016-12-23 15:53:16 -05:00
Victor Larchenko
cb1b9770fd T466: Added support of multiextrudion 2016-12-23 15:53:16 -05:00
Victor Larchenko
be3a945fb0 T466: Fixed Nothing to slice bug 2016-12-23 15:53:16 -05:00
Victor Larchenko
2b2eec5643 T466: Removed nested functions 2016-12-23 15:53:16 -05:00
nickthetait
b576e4a7bd Improve description of plugin for T466 2016-12-23 15:53:16 -05:00
nickthetait
79f54a16f6 Update copyright information 2016-12-23 15:53:16 -05:00
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