Designing toolpaths with Grasshopper
Has anyone tried the methods described in "Advanced 3d printing with grasshopper Clay and FDM" by Diego Carcia Cuevas and Gianluca Pugliese ? https://www.food4rhino.com/en/resource/advanced-3d-printing-grasshopper-clay-and-fdm
i.e. programming custom tool paths in Grasshopper (generated outside the standard Slicer software)?
What would be the introductory G-code to get the printer ready for printing along a custom tool path with MK3S+, PLA and 0.4mm nozzle? The book gives a breakdown of basic G-code structure, and advises to look at a G-code file for your printer in a text-editor to work out the necessary intro part, but when I do this for a file generated with PrusaSlicer for a basic geometry, the file is really long and hard to know where I can paste custom code for my object.
Any advice appreciated!
RE: Designing toolpaths with Grasshopper
I was hoping to find an answer to the same question.
I was wondering if you found an answer Ksenia ?
RE: Designing toolpaths with Grasshopper
I just found the naswer on this page:
https://www.making.unsw.edu.au/learn/advanced-3d-printing-with-grasshopper/
For Prusa printers:
Start Code:
---
M82 ;absolute extrusion mode
G21 ; set units to millimetres
G90 ; use absolute positioning
M82 ; absolute extrusion mode
M104 S250 ; set extruder temp
M140 S60 ; set bed temp
M190 S60 ; wait for bed temp
M109 S250 ; wait for extruder temp
G28 W ; home all without mesh bed level
G80 ; mesh bed leveling
G92 E0.0 ; reset extruder distance position
G1 Y-3.0 F1000.0 ; go outside print area
G1 X60.0 E9.0 F1000.0 ; intro line
G1 X100.0 E21.5 F1000.0 ; intro line
G92 E0.0 ; reset extruder distance position
G92 E0
G92 E0
G1 F2100 E-0.8
---
And End Code:
---
G1 F2100 E2686.24656
M140 S0
M107
M104 S0 ; turn off extruder
M140 S0 ; turn off heat-bed
M107 ; turn off fan
G1 X0 Y210; home X axis and push Y forward
M84 ; disable motors
M82 ;absolute extrusion mode
M104 S0
---
Hope that helps
RE:
Hi all,
Have anyone tried the GH script for Prusa? Were you guys manage to make it happen with the answer above from UNSW website?
Cheers
RE: Designing toolpaths with Grasshopper
Hi Alan_91,
Yes, I tried it and it works. I’m still early in the book and just got the cylinder printed. But everything else should still work.
One thing I struggled with was to properly calculate the extrusion.
I had to multiply the E value with a factor of 0.4 to get flow that for now appears not too much.
I’ll followup if I get better results at some other point.
RE:
Very nice initiative. Thanks for sharing. I will try to merge it in my business too. Right now I am working on a project that will marry 3D priting with artificial solutions in my retail business. Let me explain what I mean. I've been thinking of venue crowd counting with cameras for a while and how they can analyze customers emotions. Then I will make a printout in my outlets that uplifts their mood, for example. It will make them feel happier and more relaxed, thus more ready to spend money on my products. What do you think?
RE: Designing toolpaths with Grasshopper
Designing custom tool paths in Grasshopper for 3D printing can provide unique possibilities for creating intricate and tailored prints. While I don't have access to the specific book you mentioned, generating G-code for your printer can be achieved by understanding the basic structure of G-code and examining sample G-code files for your printer model. To prepare the printer for printing along a custom tool path with a Prusa MK3S+ using PLA and a 0.4mm nozzle, you can begin with an introductory G-code section that includes homing the axes, zeroing the extruder, setting the nozzle height, and priming the extruder. Thanks
RE:
Guys, what hosting do you use to keep the backups of log files?
RE: Designing toolpaths with Grasshopper
Has anyone tried the methods described in "Advanced 3d printing with grasshopper Clay and FDM" by Diego Carcia Cuevas and Gianluca Pugliese ? https://www.food4rhino.com/en/resource/advanced-3d-printing-grasshopper-clay-and-fdm
The page is now restricted, you can find it all thanks to the Wayback Machine 😉