Ghostkeeper
7a913bf99a
Fix comment
...
It had some variable name pasted into it by accident.
Contributes to issue CURA-936.
2016-03-02 17:31:58 +01:00
Jaime van Kessel
9c5e169f2b
Loaded profiles are now marked as dirty so they are saved correctly
...
CURA-936
2016-03-01 16:24:43 +01:00
Jaime van Kessel
e90fd95495
Profile importing now checks if it's the right file type
...
Contributes to CURA-936
2016-03-01 15:16:50 +01:00
Ghostkeeper
afd63c53c0
Escape characters of escape_characters dict at initialisation
...
Instead of escaping it each time you read a function with that ugly inline for loop, escape the characters when initialising the dict itself.
Contributes to issue CURA-34.
2015-12-17 13:35:16 +01:00
Ghostkeeper
a3936540d8
Move escape characters to be a static class variable
...
It is static and constant, so it won't need to initialise this dictionary every time it reads.
Contributes to issue CURA-34.
2015-12-17 13:35:16 +01:00
Ghostkeeper
6908f2c011
Move prefix length out of for loop
...
It is cached so it only needs to be computed once.
Contributes to issue CURA-34.
2015-12-17 13:35:16 +01:00
Ghostkeeper
cfa4382052
Move serialised version number to top of GCode reader/writer
...
The version number is more clearly exposed there.
Contributes to issue CURA-34.
2015-12-17 13:35:16 +01:00
Ghostkeeper
8947873121
Update documentation
...
The doxygen documentation of the class and both its functions was also out of date.
Contributes to issue CURA-34.
2015-12-17 13:35:16 +01:00
Ghostkeeper
fedfffb98d
Update documentation
...
Just a slight inaccuracy in the documentation of one of the imports.
Contributes to issue CURA-34.
2015-12-17 13:35:16 +01:00
Ghostkeeper
065b954cad
GCodeProfileReader plugin properly returns a profile
...
Instead of setting the profile as the current profile, return the resulting profile.
Contributes to issue CURA-34.
2015-12-17 13:35:16 +01: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