Commit graph

572 commits

Author SHA1 Message Date
HellAholic
e5723a1088
small fix 2025-02-10 19:44:10 +01:00
GregValiant
6c81c232e1 Update PurgeLinesAndUnload.py
Removed default 1mm border and added "Border Distance" setting.
2025-02-10 12:43:08 -05:00
GregValiant
1dc8dd8a80 Update PurgeLinesAndUnload
Removed the default border of 1mm and added a setting "Border Distance".
2025-02-10 12:40:59 -05:00
HellAholic
1728db9427 Top/Bottom -> Rear/Front
Top -> Rear
Bottom -> Front
2025-02-10 16:57:55 +01:00
GregValiant
94c64a031e Update PurgeLinesAndUnload.py
Changes made per wawanbreton suggestions.
"border distance" setting is not included.
2025-02-10 10:46:05 -05:00
Erwan MATHIEU
80fa6aabc3
Update altered year 2025-02-10 13:38:15 +01:00
Erwan MATHIEU
e1bd4baed2 Adjust settings descriptions 2025-02-10 10:36:44 +01:00
GregValiant
36141b082c Update SearchAndReplace.py
Replaced the complex method of dealing with rafts to something simpler.

Update SearchAndReplace.py

Update
2025-02-07 18:52:20 -05:00
GregValiant
017a05fff7 Update DisplayInfoOnLCD.py
Changed the fialment type 'get' from:
'getProperty'
   to
'material.getMetaDataEntry'
2025-02-02 08:02:59 -05:00
GregValiant
fba94ae2c4 Update AddCoolingProfile.py
Changed variable name "curaApp" to "global_stack".

Update AddCoolingProfile.py

Add except for 'Build Volume Fan' for previous versions.
2025-01-16 06:06:53 -05:00
GregValiant
5678c64f18 Update SearchAndReplace.py
Change variable name from cura_app to global_stack.
2025-01-12 10:04:39 -05:00
GregValiant
0284771430 Update DisplayInfoOnLCD.py
Split functions from Execute.
Added function "Add Settings" so it also works with the "filename_layer" option.
2025-01-11 10:12:42 -05:00
GregValiant
a8849f7081 Update DisplayInfoOnLCD.py
Added a condition so the pause_cmd setting box is hidden unless the 'display_option' == "display_progress".
2025-01-10 17:26:43 -05:00
GregValiant
043afdb6ed Update DisplayInfoOnLCD.py
Update.  Remove vestigial line of code at line 530.
2025-01-10 09:01:44 -05:00
GregValiant
984c19decc Update DisplayInfoOnLCD.py
Bug fix.
2025-01-08 23:01:19 -05:00
GregValiant
28f8e2af79 Update PurgeLinesAndUnload.py
Change the comment line location from the end of data[1] to the first line of the "moves".

Update PurgeLinesAndUnload.py

Move the "start from" comment from the end of data[1] to the first line of the "moves" list.

Update PurgeLinesAndUnload.py

Change the comment line location from the end of data[1] to the first line of the "moves".
2025-01-08 10:22:40 -05:00
GregValiant
da0b99cb82 Update DisplayInfoOnLCD.py
Added "global_stack" variable.
2025-01-08 07:46:42 -05:00
HellAholic
e7546031d3 Some cleanup
- variable names updated to reflect their use more clearly
- removed obsolete if/else for move (the length of the list will be always 2)
2025-01-07 23:50:01 +01:00
GregValiant
be509b6696 Update SearchAndReplace.py
Update SearchAndReplace.py

Changed comments.
Revised code below line 170.
Changed 'curaApp' to 'cura_app'
2025-01-07 12:27:34 -05:00
GregValiant
349c5284a9 Update SearchAndReplace.py
Update a description

Update SearchAndReplace.py

Fixed the "descriptions".  Cura didn't like the dashes or backslashes.
2025-01-07 09:24:25 -05:00
GregValiant
248b5915db Update AddCoolingProfile.py
Made changes per request.
2025-01-03 07:14:45 -05:00
GregValiant
e91a636152 Update AddCoolingProfile.py
Add control for a Build Volume fan.

Update AddCoolingProfile.py

Oops.  Left in a debugging line.
2025-01-01 17:00:21 -05:00
GregValiant
e7a1bf89ec Update DisplayInfoOnLCD.py
Revised the M118 lines and insertion point in the gcode.
Revised M117 same.
Added nozzle size and filament type to data[0]
2024-12-30 16:35:02 -05:00
GregValiant
8c28eecd91 Update PurgeLinesAndUnload.py
Added consideration for Disallowed Areas and Tool Offsets.
This also includes a lot of variables moved into "self".
2024-12-29 15:54:02 -05:00
HellAholic
703028d00d Adjustment bit for self.start_x, self.start_y 2024-12-26 17:44:09 +01:00
HellAholic
7e4b6a63f7 Remove the temp V2 2024-12-26 17:35:01 +01:00
GregValiant
bb71538aca Merge branch 'PurgeLines' of https://github.com/GregValiant/Cura into PurgeLines 2024-12-26 11:19:27 -05:00
GregValiant
f08873fa35 Update PurgeLinesAndUnload.py
Updated with the combined changes and ready for review.
2024-12-26 11:19:12 -05:00
HellAholic
20847a0b33 Final adjustments to V2
- Add condition to check for self.start_y before appending undefined/non to the gcode
- Move self.start_x and self.start_y def to the init()
2024-12-26 16:54:26 +01:00
HellAholic
e9f1be7b6b Greg's changes 2024-12-26 16:41:07 +01:00
HellAholic
b872610275
comment fix for v2 2024-12-26 12:42:55 +01:00
HellAholic
d80f291dc5 More V2 shenanigans
- Rename the start location to end purge location to match with what it represents
- Added location and position enums
- Rewrite the _get_adjustment_lines function as _move_to_location (generic)
- Replace goto_str with a position tuple for consistency and error prevention (typo prevention)
2024-12-26 12:40:06 +01:00
HellAholic
79ec595785 v2 update 2024-12-24 19:21:40 +01:00
HellAholic
3eb6db1a7b Temp v2 2024-12-23 18:14:31 +01:00
GregValiant
60b64d70be Update PurgeLinesAndUnload.py
Added a "quick purge" option before the actual unload to insure the filament is free to pull back.
Made adjustments for "Machine Disallowed Areas".
Added some comments.
Re-ordered some of the code.
2024-12-21 09:21:44 -05:00
GregValiant
035ae14eb7 Update PurgeLinesAndUnload.py
Changed 'Execute' procedure per suggestion.
Add 'G10' firmware retraction support to 'Adjust Starting E'.
2024-12-10 18:43:03 -05:00
GregValiant
82336a0616 Create PurgeLinesAndUnload.py
This script has 4 options.
Add Purge Lines will draw lines left, right, top, or bottom of the build plate and either fill length of half length.  If a print takes up the entire width then the purge lines could be moved to the bottom.
2024-12-08 20:47:16 -05:00
GregValiant
ee61854981 Re-write of Search and Replace
Added some options:
- Replace the 'First Instance Only' of the Search term.
- Limit the Search to a layer range.
- 'Ignore StartUp G-code' and 'Ignore Ending G-code'
2024-10-23 06:57:10 -04:00
HellAholic
ed6daa3735
Merge pull request #19083 from GregValiant/InsertAtLayerChange
Rewrite - Insert At Layer Change
2024-10-02 14:03:03 +02:00
Erwan MATHIEU
d2b3ca3896 Apply suggested changes 2024-10-02 13:07:45 +02:00
Erwan MATHIEU
e4b4b8e4a4 Remove extra-spaces after units 2024-10-01 15:16:43 +02:00
GregValiant
ffc21403a1 Update TimeLapse.py
Update TimeLapse.py

Update to include a pause before the image is snapped.
2024-09-04 22:01:48 -04:00
David Fries
6e3e3e6742 Use raw strings for regular expressions with invalid escape sequences
If "T(\d*)" was "T(\n*)" it would search for newlines.  There isn't
any such \d escape character.

It should be "T(\\d*)" or r"T(\d*)" going with the latter, to be
easier to read and be consistent with other Cura usage.

Start python with -Wd or for python 3.12 will raise a SyntaxWarning.
2024-08-31 12:11:59 -05:00
GeekyKayaker
df9862b866 Add some options to CreateThumbnail to allow for some customisation over the format of the begin block for the image 2024-07-22 17:06:00 +01:00
GregValiant
dabc3d8032 Rewrite - Insert At Layer Change
This is an extensive re-do of the script.
#     Added an 'Enable' setting
#     Added support for multi-line insertions (comma delimited)
#     Added insertions in a range of layers or a single insertion at a layer.  Numbers are consistent with the Cura Preview (base1)
#     Added frequency of Insertion (once only, every layer, every 2nd, 3rd, 5th, 10th, 25th, 50th, 100th)
#     Added support for 'One at a Time' print sequence
2024-05-15 20:53:20 -04:00
GregValiant
35775ce3c8 Merge branch 'TIme-Lapse' of https://github.com/GregValiant/Cura into TIme-Lapse 2024-05-14 08:39:46 -04:00
GregValiant
0e0d022fe6 Update TimeLapse.py
Added support for Firmware Retraction
2024-05-14 08:39:41 -04:00
Jelle Spijker
1a95cd39ca
Merge branch 'main' into TIme-Lapse 2024-05-14 00:21:03 +02:00
GregValiant
0ba72bccf9 Re-write Time Lapse
An update to the script.
- Added insertion frequency
- Added support for relative extrusion
- Retract is now a boolean and the settings come from Cura.  There won't be a retraction if there is already a retraction.
2024-04-20 15:35:26 -04:00
Erwan MATHIEU
4bd1c4c4e0
Merge branch 'main' into patch-1 2024-04-12 10:16:32 +02:00