jasonhamilton / hotwing-core

This project contains a series of classes and functions to aid in creating GCode for 4-Axis CNC foam cutters, specifically working with wing profiles, interpolating new profiles, and computing inverse kinematics for CNC.
GNU General Public License v3.0
8 stars 7 forks source link

Full code output #11

Open louisfrederic opened 4 years ago

louisfrederic commented 4 years ago

Can you write a output mode where you output all 4 axes of the GCode? Like: G00 X0 Y0 Z0 U0 G01 X1 Y0 Z0 U0

not like: G00 X0 Y0 Z0 U0 G01 X1

jasonhamilton commented 4 years ago

That shouldn’t be too difficult. Is this a GCode spec? I’m curious why you need it that way.

louisfrederic commented 4 years ago

Thank you for your fast reply. I use a version of grbl panel from Daniel Rascio which needs the full set of axes.

jasonhamilton commented 4 years ago

How did you install it? Would you know how to find the source and replace a file?

louisfrederic commented 4 years ago

I have downloaded the .exe file and also the source. I opend the Project in visual Studio and migth have found the line but can't compile the gui because the of missing .net3.5 I also tryed to install the .net3.5 but this is a big pain with win10.

Or did you talk about your hotwing-core? If so, yes I can so this...

jasonhamilton commented 4 years ago

I only have my Mac laptop on me at the moment so I won’t be able to build the exe file until I’m back at my desktop machine. I can make the change to the source but unless you can compile it, it probably won’t be of much help. I will try and update this today some time.

louisfrederic commented 4 years ago

I think I found a quick an dirty way to get full output of all axes with every step. Maybe I will make a new class and If you like you can test it and adopt it to your Code.

jasonhamilton commented 4 years ago

I pushed some commits and the code has been updated so it now outputs all axis. I just haven’t had time to update the binaries.

This is the updated file: https://github.com/jasonhamilton/hotwing-core/blob/master/hotwing_core/gcode_formatters/generic.py