232 Commits

Author SHA1 Message Date
Ghostkeeper
6977b8de6e
Make getValue return an int if it's an integer number
This is a more generic solution to what's done in 7058ddbb66084bee9cd507ed69f031ec1262163e.

Contributes to issue CURA-5491.
2018-07-09 09:01:52 +02:00
Ghostkeeper
96896088c3
Add spaces around equals operators
As per our code style regulations.
2018-07-05 16:27:52 +02:00
Jack Ha
b77220b260 Add more ultigcode retract and unretract. CURA-5491 2018-07-03 13:41:14 +02:00
Jack Ha
e61ad750b7 Fixed UM3 Griffin and UM2 UltiGCode for Pause At Height. CURA-5491 2018-07-03 13:13:33 +02:00
Jack Ha
c260078631 Remove temperature commands for pause at height for UM3. CURA-5491 2018-07-03 09:40:42 +02:00
Jack Ha
7058ddbb66 Corrected float/int mixups and allow catching temperature before the layers start. CURA-5491 2018-07-02 16:35:49 +02:00
Jack Ha
17c4b65453 Fix pause at height that uses new latest temperature CURA-5491 2018-07-02 15:13:44 +02:00
Ghostkeeper
d4ca3d144e
Use latest temperature instead of a manual resume temperature
We don't need the user to fill this in. We can just track the resume temperature ourselves.

Contributes to issue CURA-5491.
2018-06-21 16:07:29 +02:00
Ghostkeeper
7b82421751
Don't disable E steppers when pausing
There is no such command to disable only the E stepper drivers. This command M84 gets interpreted as disabling ALL stepper drivers, which on some printers would cause the print bed to fall down.
2018-06-14 14:57:03 +02:00
Diego Prado Gesto
dfd20e1362 CURA-5335 Looking for the actual line number in the gcode when using the filament change script. 2018-06-14 14:35:46 +02:00
ChrisTerBeke
717c11005b Codestyle changes after merge 2018-05-24 10:58:55 +02:00
ChrisTerBeke
7d0b664c53
Merge pull request #3648 from JPFrancoia/master
Bug fixes and improvements for PauseAtHeight plugin
2018-05-24 10:56:16 +02:00
JPFrancoia
f15680b9ea Cleaning dev instructions. 2018-04-26 09:47:49 +01:00
JPFrancoia
a14d594909 - Solve https://github.com/Ultimaker/Cura/issues/3608.
- Now account for raft layers when choosing "Pause at layer no".

- Now positions the nozzle at (X, Y) of the next layer when resuming.

- Cleaning code
2018-04-10 16:09:04 +01:00
Ghostkeeper
4226f3641b
Better defaults for filament change
And better descriptions.
2018-03-21 17:12:54 +01:00
Ghostkeeper
363166bbb7
Merge branch 'post_stretch' of https://github.com/electrocbd/Cura into electrocbd-post_stretch 2018-03-20 16:01:24 +01:00
Ghostkeeper
ecfb62b69e
Rename ColorChange to FilamentChange
I think this is more clear to the users what this should actually do.
2018-03-07 11:01:00 +01:00
Aleksei S
6df4ad3f6d Merge branch 'master' of github.com:Ultimaker/cura 2018-02-26 11:51:56 +01:00
Aleksei S
cd0846fad2 PostProcessing plugi, script Pause at Height redo layers
gives incorrect E-values
CURA-4670
2018-02-26 11:49:51 +01:00
Ghostkeeper
6934c3f881
Use self.putValue to write g-code
Mostly as a test of this function. Seems to work.
2018-02-26 09:54:42 +01:00
Ghostkeeper
d0cc9ba8a6
Remove debugging prints 2018-02-26 09:42:29 +01:00
Christophe Baribaud
bd1f2922ef Post stretch algorithm fixes
Extract line width from current extruder nozzle size
Change default values of stretch parameters from 0.08 to 0.1
2018-02-17 13:30:08 +01:00
Diego Prado Gesto
68acb13853 CURA-4615 Rename to ChangeAtZ also the file, the class name and
variables.
2018-02-14 17:23:02 +01:00
Ghostkeeper
fb0eda72b9
Change tabs into spaces
As per our code style.
2018-02-12 11:59:46 +01:00
Ghostkeeper
75265911d4
Add option to pause at layer
Fixes #3172.
2018-02-12 11:59:22 +01:00
Ghostkeeper
b8fce75dac
Track index instead of finding it back later
It has to iterate over all layers and do string comparison to find the index back. Instead we just keep track of the index so this should improve performance a bit.
2018-02-12 11:12:55 +01:00
Ghostkeeper
80b99e0323
Use double quotes instead of single quotes
As per our code style. It doesn't say anything about single-character strings in particular.
2018-02-12 11:10:57 +01:00
Ghostkeeper
0e23fb15af
Don't skip the first layer 2018-02-12 11:07:15 +01:00
Ghostkeeper
cfdde8dd07
Simplify indentation of pause at height script
Instead of making lots of nested if statements, use the if statements as an interruption check. This reduces the indentation a lot and makes it easier to read in my opinion. It also makes it easier to add stuff to these checks.
2018-02-12 11:06:17 +01:00
Ghostkeeper
183792ae09
Change 'Tweak' into 'Change' and 'tw@' into 'ch@'
Also in the resulting g-code.

Contributes to issue CURA-4615.
2018-02-09 10:55:50 +01:00
Aleksei S
fdfeeb5496 Renamed: In Postprocessing plugin the "Tweak" script is renamed to "Change"
CURA-4615
2018-02-06 13:38:14 +01:00
ChrisTerBeke
6c0fb110fe Add post processing source files 2018-01-09 10:31:12 +01:00