Commit graph

538 commits

Author SHA1 Message Date
HellAholic
5db75acffb No need for type cast -> it returns a bool 2025-06-16 10:44:36 +02:00
Erwan MATHIEU
facf0b7d4a
Merge branch 'main' into PostProcessing_InsertAtLayerChange_update 2025-06-16 10:24:18 +02:00
HellAholic
21cf6ee14e
Merge branch 'main' into AddCoolingProfile 2025-06-13 12:39:33 +02:00
HellAholic
5afb380c0b
Merge pull request #20388 from GregValiant/FilamentChangeUpdate
Update FilamentChange.py
2025-06-13 12:28:21 +02:00
GregValiant
1e18e0e63d Update AddCoolingProfile.py
Found a bug.  The ";LAYER:" line was not being added to the "modified data" string when in "single_fan_by_feature" mode.

Update AddCoolingProfile.py

bug fix for the bug fix.
2025-04-16 10:16:32 -04:00
GregValiant
03aa64448a Update AddCoolingProfile.py
Update AddCoolingProfile.py

Un-trapped ValueError in line 782.  It might also be an IndexError.  I left it open.

Update AddCoolingProfile.py

Change an IndexError to a ValueError
2025-04-13 20:12:24 -04:00
GregValiant
d78d19820b Update PurgeLinesAndUnload.py
Missed a newline in line 499.
2025-04-04 08:27:10 -04:00
HellAholic
c91862f4bb Make the conversion to uppercase optional
- Add the option type bool
- Set to be enabled by default
- Add condition to only convert if bool value is true
2025-03-25 20:33:01 +01:00
GregValiant
99b198339a Update AddCoolingProfile.py
Update per requested changes.
Comments are consistent with "# ".
global_stack, extruder_list, extruder_count are assigned to "self".
2025-03-22 15:41:39 -04:00
HellAholic
a94f5e0f28
Add space after # for the comments 2025-03-22 17:53:48 +01:00
GregValiant
001dfc30af Update AddCoolingProfile.py
Re-worked the Build Volume fan code to include a printers Auxiliary fan if there is one.
2025-03-22 11:10:23 -04:00
GregValiant
06cbb2c65c Update FilamentChange.py
Hide the "Z-Move" when in "use firmware configuration" mode.
2025-03-13 20:40:59 -04:00
HellAholic
2cf13c5e94 Remove extra empty line 2025-03-09 19:30:55 +01:00
HellAholic
b25620826f use helper function
Since the added lines are identical, it can be replaced with a helper function
2025-03-09 19:30:55 +01:00
GregValiant
253d11f84d Update PurgeLinesAndUnload.py
This change adds a setting for "minimum Z height" for the "nail down the string" moves.

Update PurgeLinesAndUnload.py

Bug fix.  The prime blob code didn't account for the retraction at the end.  This adds an 'unretract' to compensate.
2025-03-09 19:30:55 +01:00
HellAholic
be0671ccca
Merge branch 'main' into PurgeLines 2025-02-20 10:30:54 +01:00
GregValiant
436e3e84b8 Create PurgeLinesAndUnload_old.py
Update PurgeLinesAndUnload.py

Added 2 settings so the user can dictate where the prime blob will be.
"Blob Location X" and "Blob Location Y".

Delete PurgeLinesAndUnload_old.py

I'm not sure how I do these things.
2025-02-14 12:52:23 -05:00
HellAholic
26d5afe56c
Merge pull request #19796 from GregValiant/SearchAndReplace
Re-write of Search and Replace
2025-02-14 10:22:51 +01:00
HellAholic
cebdafc548
Make wipe move consistent 2025-02-12 12:42:24 +01:00
GregValiant
5d0d782b8b Update PurgeLinesAndUnload.py
Indents for child settings
2025-02-11 10:27:56 -05:00
GregValiant
5fe1193df1 Update PurgeLinesAndUnload.py
Added purge blob option.
Required changes in some settings to 'self'.
Fixed  'quick_purge_speed' to adjust for 2.85 filament.
2025-02-11 08:43:56 -05:00
Erwan MATHIEU
01fd82e8e5
Merge branch 'main' into fix_qml_py_re 2025-02-11 13:19:50 +01:00
HellAholic
8f14e62809 re-indent the collaterals 2025-02-10 21:32:03 +01:00
HellAholic
3afffbd403 Wipe move consistency for rectangular
- Remove the travel move -> type probably
- Remove the second F in 3 out of 8 wipe moves
2025-02-10 20:56:35 +01:00
HellAholic
573a92bd79 Indentation fix 2025-02-10 20:55:23 +01:00
HellAholic
b421c057a8 Add overwritten part for start_x and start_y set to None 2025-02-10 20:15:22 +01:00
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
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
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
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
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