Nino van Hooff
c6e6c76962
Merge remote-tracking branch 'origin/master' into doxygen_to_restructuredtext_comments
...
# Conflicts:
# cura/API/Account.py
# plugins/SimulationView/SimulationView.py
2020-05-15 13:38:37 +02:00
Ghostkeeper
aff28d821f
Also reset extrusion for Griffin printers
...
The rest may not be necessary but the G92 is crucial if redo layer is activated.
Contributes to issue CURA-7413.
2020-05-11 18:35:27 +02:00
Ghostkeeper
05b0bf5988
Turn 'Redo Layers' into a boolean for at most 1 layer
...
We've deemed it irresponsible to redo multiple layers. This will dig the nozzle back down into the layers that were printed before the pause.
This doesn't include a version upgrade yet.
Contributes to issue CURA-7413.
2020-05-11 18:34:41 +02:00
Nino van Hooff
a4fe3d7685
Convert doxygen to rst for POS, MonitorStage, PostProcessing
2020-05-08 16:28:07 +02:00
Jaime van Kessel
db7429488d
Merge branch 'del_scripts_pycache' of github.com:Ultimaker/Cura
2020-04-30 13:50:57 +02:00
Remco Burema
aaee651369
Fix comment.
...
a smaller part of CURA-7404
2020-04-28 13:28:02 +02:00
Remco Burema
242e0d403e
Clean pycache for scripts as well.
2020-04-28 12:11:55 +02:00
Nino van Hooff
971d8cd8e2
Remove leftover debug code from ChangeAtZ.py
...
CURA-7146
2020-04-23 11:48:50 +02:00
Nino van Hooff
ec334e0891
Merge pull request #6778 from novamxd/master
...
ChangeAtZ 5.2.0
2020-04-22 16:18:27 +02:00
Nino van Hooff
7302e8ba7f
Update missed sdk versions from 7.1 to 7.2.0 for Cura 4.6
...
CURA-7383
2020-04-21 11:46:12 +02:00
novamxd
096198ec9a
Revamped ChangeAtZ
...
Removed some derpug code
2020-04-19 04:47:54 -05:00
Jaime van Kessel
14f9228a1d
Merge branch '4.6' of github.com:Ultimaker/Cura into 4.6
2020-04-16 13:17:30 +02:00
Ghostkeeper
9f38374960
Also track Z coordinates and retract extra for the distance travelled then
...
Otherwise if a retracted move had a different Z coordinate, this would not be put in the final print. It's pretty simple to extend it this way.
Fixes #7458 .
2020-04-15 18:37:13 +02:00
novamxd
8b206751f8
Revamped ChangeAtZ
...
Added an enabled flag, allowing users to enable/disable ChangeAtZ layers at will without removing them
Improved performance of GCodeCommand, deferred parsing of arguments to when it is first requested as opposed to all the time
Removed type hints because the supported python version in Cura is too low
2020-04-13 22:22:21 -05:00
Jaime van Kessel
2e9dca71ce
Remove a number of unused imports
2020-04-10 13:58:10 +02:00
Jaime van Kessel
fe27da5e8a
Remove a number of unused variables
2020-04-10 13:46:19 +02:00
Jaime van Kessel
6a6ad6e815
Remove unneeded semicolons
2020-04-10 13:34:57 +02:00
Ghostkeeper
d5166030d7
Don't detect retractions if E is almost equal, but rounding errors
...
Contributes to issue CURA-7351.
2020-04-09 11:27:40 +02:00
Ghostkeeper
9b997d421b
Keep current_e updated even if not finding retractions
...
Otherwise the new E is never going to be lower than the current E. I don't know how this ever worked then.
Contributes to issue CURA-7351.
2020-04-09 11:22:05 +02:00
Ghostkeeper
d9649dc3dd
Reduce indentation and complexity by using a pre-check
...
Contributes to issue CURA-7351.
2020-04-09 11:03:10 +02:00
Jaime van Kessel
329c5c5c11
Rename pause duration to disarm timeout and set default to give same behavior as before
...
The name wasn't really covering what it was doing. It wasn't setting the duration of the
pause, it was setting the timeout for the stepper disarm.
Also, ive set the defaults so that the behavior remains the same, unlesss a user
explicitly enables this
CURA-7331
2020-03-30 17:20:59 +02:00
Jaime van Kessel
4682b9c4ae
Merge branch 'pp-plugin_pause-a-h_disarm' of https://github.com/ilyko96/Cura
2020-03-30 17:12:54 +02:00
Nino van Hooff
ddd7d15287
Attempt to appease mypy
2020-03-26 09:45:26 +01:00
Nino van Hooff
3bb3b69082
Attempt to appease mypy
2020-03-25 17:32:41 +01:00
Nino van Hooff
92f278acc8
Change trusted scripts path from resources to plugin/scripts
...
CURA-7319
2020-03-25 16:54:43 +01:00
Jaime van Kessel
dec68002bc
Use patch.object to temporarily replace mock a function call
...
CURA-7319
2020-03-25 12:35:15 +01:00
Jaime van Kessel
d5b58cf3b4
Add missing typing
2020-03-25 11:47:38 +01:00
Nino van Hooff
c0d2977f4d
Cleanup test_enterprise_signed_user_script_allowed
...
CURA-7319
2020-03-24 16:28:43 +01:00
Nino van Hooff
5b045f89b1
Finish postprocessing script signature checking
...
CURA-7319
2020-03-24 16:24:24 +01:00
Nino van Hooff
7f89c7e740
Merge branch 'master' into ppscript_pre_secure
2020-03-24 11:37:53 +01:00
Ilia Mazlov
5b85dae926
PP-plugin -> PauseAtHeight: steppers disarm timout
2020-03-04 16:49:35 +01:00
fieldOfView
00f406b5dd
Add list of active scripts to tooltip
2020-02-28 22:51:37 +01:00
fieldOfView
0f662da2c3
Show the number of active postprocessing scripts
2020-02-28 22:29:20 +01:00
Tim Kuipers
0f4ff1f149
lil: fix naming and spacing to fit code conventions
2020-02-26 15:37:25 +01:00
Tim Kuipers
14d351e185
Merge branch 'master' of https://github.com/Hrybmo/Cura into Hrybmo-master
2020-02-26 15:31:58 +01:00
John Hryb
9aa6887b02
Update ColorMix.py
...
Updates based on review.
2020-02-22 11:58:19 -05:00
novamxd
943d04a734
* Revamped ChangeAtZ
...
Added additional option for disabling all retract options
Added more comments.
Added support for firmware based retractions.
Added support for outputting changes to LCD (untested).
Added type hints to most functions and variables.
Created GCodeCommand class for better detection of G1 vs G10 or G11 commands, and accessing arguments.
Fixed issue of properly restoring previous values in single layer option.
Improved wording of Single Layer vs Keep Layer to better reflect what was happening.
Moved most GCode methods to GCodeCommand class.
2020-02-17 22:58:39 -06:00
Ghostkeeper
6f707f3149
Bump SDK version number of Cura 4.5 to 7.1
...
We've added new things to our API. This allows plug-in developers to use them.
Contributes to issue CURA-7205.
2020-02-10 10:45:07 +01:00
Matt Jani
81429f8985
Cleaned up timelapse post processing script (issue #6730 )
2020-02-03 15:19:11 +01:00
Matt Jani
155408d77d
Merge branch 'master' of https://github.com/Ultimaker/Cura
2020-01-28 15:28:26 +01:00
Matt Jani
f62312449b
Fixed wrong extrusion (issue #6730 )
2020-01-28 15:26:43 +01:00
Kostas Karmas
a720939e64
Fix max layer to correspond to starting layer
...
When the starting layer was set to 0 the max layer was not adjusted
to be max_layer-1.
This commit makes the extra adjustment.
2020-01-27 14:21:51 +01:00
konskarm
e128dadbf5
Merge pull request #6930 from jtychu/master
...
Update DisplayFilenameAndLayerOnLCD.py
2020-01-27 14:08:26 +01:00
Remco Burema
935c71edda
Fix name/file-location oops.
2020-01-17 17:25:00 +01:00
Remco Burema
fe2098376f
Prepare PostProcessingPlugin for security.
2020-01-17 17:15:37 +01:00
fieldOfView
6abf916ced
Fix typing in __init__ methods to appease MYPY
2020-01-14 21:56:06 +01:00
Jaime van Kessel
523b4e96a8
Ensure that post processing scripts are correctly reloaded on project loading
...
Previously it would not re load post processing plugins if it was updating an existing machine
Fixes #6881
2020-01-07 10:45:57 +01:00
Johnathan Chu
1f2e079185
Update DisplayFilenameAndLayerOnLCD.py:
...
- Fixed filename appearing in middle of text when scrolling is disabled and displaying max layer.
- Fixed filename appearing twice when scrolling is enabled and displaying max layers.
2020-01-06 21:45:43 -08:00
novamxd
bcc12030a2
Revamped ChangeAtZ
...
Adjusted coding style to use spaces instead of tabs
2020-01-03 19:01:33 -06:00
novamxd
6c22a5ed06
* Revamped ChangeAtZ
...
Fixed a bug where extruder temps for extruder one and two were being applied universally. Now sets individually as expected.
2019-12-26 00:56:57 -06:00