mooncactus / gcode_postprocessors Goto Github PK
View Code? Open in Web Editor NEWSome g-code post-processors for 3D printing. This repository hosts the "famous" wood pattern.
Some g-code post-processors for 3D printing. This repository hosts the "famous" wood pattern.
Since Cura introduced latest 4.0 version with improved plugin support, I think it's time to fix wood script for Cura 4.0.
I tried to work through your instructions to get the script to function with Cura and cannot figure out how to see if it's installed and to find wherever it adds the setting. Any help would be appreciated if i'm missing something simple! Added the .py file to the plugins folder where my other extension plugins reside. Any tips to find the setting? What will i be looking for within the program to utilize this great script? Should it appear in that extensions drop down menu or somewhere else?
thanks!
I use octoprint with the CuraEngine and i would love to use your script, but i was wondering is it possible to use it this way or could you built a octoprint plugin for this.
For wood.py, when processing a gcode produced by the current cura, lastPatchZ is being set to an incorrect value. This causes the noisy texture to only be applied to a portion of the print (20mm up for me). Attached is the gcode the produces the error
CE3_2xbedguard v1.zip
I understand this piece of cura's gcode at the end of the script causes lastPatchZ to be overwritten with a small value of 20:
G91 ; Set coordinates to relative
G1 F1800 E-3 ; Retract filament 3 mm to prevent oozing
G1 F3000 Z20 ; Move Z Axis up 20 mm to allow filament ooze freely
The relative Z20 manuever is the last maneuver seen in the file, so lastPatchZ is overwritten with 20.
I was able to solve this problem by changing these lines:
elif abs(thisZ - formerZ) > minimumChangeZ and thisZ > skipStartZ:
formerZ = thisZ
to this:
elif abs(thisZ - formerZ) > minimumChangeZ and thisZ > skipStartZ:
if thisZ > formerZ:
formerZ = thisZ
I use Cura 4.7 and the script is not working.
It set the tempearute on 180 °C for prehead and 200°C on print.
I looked at the diffrence between the original code from Cura an the gcode after the script. Only to 3 Part are diffrent:
My comand is the following:
py wood.py -s 3 -i 180 -a 230 -g 3.0 -w M109 --file ../gcode_Todo/hannah_ring.gcode
Hello,
Is there any method of getting this plugin to run in cura 2.7 at all?
Thanks!
I added your Wood-Cura python script, restarted and then applied it (with default configuration). I even see the script (< / >) symbol at the bottom.
However the model looks exactly as before.
Tested it with the standalone python script though and there it works flawlessly.
Any idea what might be the issue? Cura is the latest version 5.2.2. Nothing else configured (e.g. no other scripts modifying G-Code etc.)
the if block at line 365 removes all M104 commands, but that includes the "Turn off hot end" command, M104 S0.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.