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
Ghostkeeper
3ae6b8c4c1
Double-escape newlines in script string
...
Because they are stored twice: Once in the CFG of the script, and once in the CFG of the machine instance.
Fixes an issue reported here: https://github.com/Ultimaker/Cura/pull/3229
2018-04-26 13:30:59 +02:00
JPFrancoia
f15680b9ea
Cleaning dev instructions.
2018-04-26 09:47:49 +01:00
Ghostkeeper
942afe2c3f
Merge branch '3.3' into feature_show_config_errors
2018-04-12 16:20:42 +02: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
572721e20d
Catch ContainerFormatError when deserialising containers
...
Only the deserialize() functions themselves may pass the ContainerFormatError on, because their callers will have to handle those errors anyway.
Contributes to issue CURA-5045.
2018-04-06 13:26:16 +02:00
Ruben D
c65e3656bd
Fix persistence of setting names with uppercase characters
...
The problem was that Python's ConfigParser doesn't preserve case. Everything becomes lowercase. Some post-processing scripts have uppercase characters in their setting keys and these weren't preserved.
This fix configures the ConfigParser to pass the setting keys untransformed. The transformation function becomes the str() function which just passes the input through untransformed.
2018-03-29 00:39:57 +02:00
Ghostkeeper
e2724f53ad
Only check for loaded plug-ins at initial call to loadAllScripts
...
Not for every call to loadScripts.
2018-03-26 13:55:15 +02:00
Ghostkeeper
14936fdf21
Move looping over script directories to separate function
...
Removes some code repetition.
2018-03-26 13:50:29 +02:00
Ghostkeeper
9d63258703
Merge branch 'master' into feature_persistent_postprocessing
2018-03-22 19:19:05 +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
d98cab48ac
Get scripts from either Resources or Preferences
...
We must retain the old directory for legacy. People might still have scripts there.
2018-03-12 09:48:03 +01:00
Ghostkeeper
a3efbc70fb
Merge branch 'fix_postprocessing_script_path' of https://github.com/fieldOfView/Cura into fieldOfView-fix_postprocessing_script_path
2018-03-12 09:42:21 +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
Jack Ha
22cf5abec2
Merge branch 'master' into refactoring_machine_manager
2018-02-27 10:24:56 +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
a7e1910711
Add E in the priority list
...
This way we're assured of the order in which these parameters occur, even though the firmware doesn't care about it. It's easier to read though.
2018-02-26 09:54:07 +01:00
Ghostkeeper
5160373580
Add helper function to write g-code lines
...
Requested during the post-processing script workshop that I was giving.
2018-02-26 09:43:10 +01:00
Ghostkeeper
d0cc9ba8a6
Remove debugging prints
2018-02-26 09:42:29 +01:00
fieldOfView
c3bf0b834d
Fix location of post processing scripts on Linux
...
On Windows and OSX, resources and preferences are stored in the same folder. On Linux, preferences are in ~/.config, resources are in ~/.local/shared. Postprocessing scripts belong in the latter, along with all the other resources (definitions, plugins, themes).
Fixes #3356
2018-02-20 09:20:01 +01:00
Lipu Fei
495fc8bbd7
WIP: Refactor BuildPlateModel and split MultiBuildPlateModel
2018-02-17 22:24:05 +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
ee9de1f11b
Merge branch '3.2'
...
Lots of conflicts due to rounding vs. flooring of text element positions for weirdness with the font aliasing.
2018-02-14 10:53:51 +01:00
Mark
b531c0550d
Change Math.floor to Math.round as a last try to fix garbled fonts
...
CURA-4941
2018-02-14 09:28:47 +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
afeea6e214
Don't interrupt loading scripts when one error occurs
...
Instead of breaking the loading of the rest of the scripts, just don't load this particular one.
2018-02-12 11:23:43 +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
Ruben D
77566180f1
Remove commented code
...
Oops, forgot about this one.
2018-02-04 01:53:10 +01:00
Ruben D
f9bee9ad3e
Change tabs into spaces
...
I think this IDE isn't configured correctly yet.
2018-02-04 01:39:36 +01:00
Ruben D
927f193270
Only write scripts to stack upon pressing close button
...
This is more efficient, because we're not writing every time you modify the list of scripts. It's also more complete, since if you don't modify the list of scripts but just modify one of the settings, that setting change also gets written to the stack after closing the window.
2018-02-04 01:26:34 +01:00
Ruben D
bebcd78db0
Reset the selected script index upon changing printers
...
So that you're not getting into a state of viewing an invalid index. If you switch to a printer with 0 scripts attached, the index is still invalid, but it won't display anything then so you're okay.
2018-02-04 01:13:34 +01:00
Ruben D
91ab53e49c
Somewhat better documentation
...
Just some stuff that I saw and thought were missing.
2018-02-04 01:10:35 +01:00