Notifications
Clear all

Designing toolpaths with Grasshopper  

  RSS
Ksenia
(@ksenia)
New Member
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!

This topic was modified 3 years ago by Ksenia
Posted : 17/09/2021 8:40 am
ftoons
(@ftoons)
New Member
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 ?

Posted : 11/02/2023 10:23 am
ftoons
(@ftoons)
New Member
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

Posted : 11/02/2023 10:44 am
alan_91
(@alan_91)
New Member
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

Posted : 12/02/2023 11:00 pm
ftoons
(@ftoons)
New Member
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.

Posted : 13/02/2023 7:32 am
Pasdecatastrophe
(@pasdecatastrophe)
New Member
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?

This post was modified 12 months ago by Pasdecatastrophe
Posted : 18/04/2023 9:07 am
MarioDakota
(@mariodakota)
Member
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

Posted : 31/05/2023 3:44 pm
SiliconRally
(@siliconrally)
Member
RE:

Guys, what hosting do you use to keep the backups of log files?

This post was modified 6 months ago by SiliconRally
Posted : 22/09/2023 1:33 pm
Pasubio
(@pasubio)
Eminent Member
RE: Designing toolpaths with Grasshopper
Posted by: @ksenia

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 😉

https://web.archive.org/web/20220310041110/https://www.making.unsw.edu.au/learn/advanced-3d-printing-with-grasshopper/

Posted : 25/10/2023 11:19 am
Share: