supermerill / SuperSlicer

G-code generator for 3D printers (Prusa, Voron, Creality, etc.)
4.05k stars 515 forks source link

Feature Request: Add Custom G-Code section to 'Print Settings' #496

Open ayerlock opened 3 years ago

ayerlock commented 3 years ago

Version

2.2.53

Operating system type + version

Windows 10

3D printer brand / version + firmware version (if known)

Voron 2.4/Klipper

Behavior

I have some tuning profiles that I use under the Print Settings (things like Pressure Advance, Resonance Testing, etc.). It would be extremely handy if I could create a print profile for PA tuning where I can call my Klipper PA tuning macro in the custom G-Code section rather than have to comment/uncomment it in either the filament settings or printer settings custom G-Code sections. I have screwed up a number of prints because I forgot to comment it back out since those settings rarely change between prints or me switching print profiles.

This is a feature request.

Project File (.3MF) where problem occurs

Upload a SuperSlicer Project File (.3MF) (Plater -> Export plate as 3MF for Slic3r PE 1.41.2 and older, File -> Save / Save Project for SuperSlicer, Slic3r PE 1.42.0-alpha and newer)

supermerill commented 3 years ago

same as #481 ? can you use the print_note and string search or do you need real values?