andersonsjanis / MultiAxisThesis

Exploring the benefits and limitations of multi-axis 3D printing for improved part quality and reduced waste
12 stars 1 forks source link

G-code slicing #2

Open mikedattolo opened 5 months ago

mikedattolo commented 5 months ago

Hey I have my own 5 axis printer yet I haven't been able to find any 5 axis slicers for g-code, I saw that you use Grasshopper and rhino to do the slicing, however I don't quite understand how to use it. I looked at the g-code it gives out however it has negative z values. Is there a way that you could build a tutorial or YouTube video to demonstrate how to use it?

andersonsjanis commented 5 months ago

I intend to make some videos on it, but I haven't gotten around to it yet.

I'm happy to help though. There are negative Z-values in the G-code, because you're looking at code after it's been through the inverse kinematics translation layer. If you already have IK in your firmware or your own translation layer then you can still use the pre-IK g-code generated by this script.

andersonsjanis commented 5 months ago

https://discord.gg/pDJ7n3eM

mikedattolo commented 5 months ago

I used Marlin to define my A and B axes for my printer. I was able to overcome the Z-axis issue. However, my values for A and B do not change in the g-code generated, at most they move to 1. For my A axis I have it set to a range of -180 to 180, and for B, I have it set to 0 to 100 degrees