You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Driving me nuts trying to pass layer height in Orcaslicer.
Orcaslicer doesn't have great nitty gritty docs (that I can find), but Prusaslicer docs say:
Script setup
Post-processing scripts can be written in any programming language (Perl, Python, Ruby, Bash etc.). They just need to be recognized by your system as an executable and accept the path to the G-code file as the only argument.
So I pulled it down and used my non-existent python experience to have it read layer height from the g-code file itself, falling back to the command line and then ultimately the 0.2 default if not found.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Driving me nuts trying to pass layer height in Orcaslicer.
Orcaslicer doesn't have great nitty gritty docs (that I can find), but Prusaslicer docs say:
Script setup
Post-processing scripts can be written in any programming language (Perl, Python, Ruby, Bash etc.). They just need to be recognized by your system as an executable and accept the path to the G-code file as the only argument.
So I pulled it down and used my non-existent python experience to have it read layer height from the g-code file itself, falling back to the command line and then ultimately the 0.2 default if not found.
Also refactored a bit to divvy up the monolith.
After a bit of a learning curve it works. Enough.
All reactions