It is its own, VERY, primitive language. If I can find a way to pass variables/perimeters from SW to Camworks PP I can fix all of this but I found one person asking for this (a few years back) and no response.
The speed increase is not my doing that is Soliworks’ Cam (Camworks basically) doing it and I have my tool left at the defaults which is something like 16000 max rpm.
One thing that is tearing me up is that I use the UPG (Universal thingie) and it has fallen back to defaults on me four times where I have to start all over so I no longer use it and I am now using the editor.
As I said if this stupid thing will allow a user to put in some values somewhere and grab them I can stop a lot of this and usher in a lot of cool stuff.
Now do remember that Marlin 2.0 finally has reverted, or will upon release (I haven’t kept up with the commits in the last 90 days), that what you tell Marlin is the max feedrate will be enforced so even though you are telling it to do a million MM/s it will enforce what you set within Marlin (the old 1.x way which made so much sense). If I can get this last piece (if it can be done else forget Solidworks) I can get the user to plug in their machine specifics so each header will tell Marlin this is my max and I know it works because that is what saved my CoreXY printer so it is in all gcode files now.
edit: Well, this is interesting but you know that G71? Well, that appears to be a weird one and is not roughing it is this - :T:<G!:ENGMET> That is the code that becomes the Gcode and the actual programming says this - :SECTION=CALC_ENGMET
:C: G_GROUP(GG(G_CANCEL_CYC))=GC(G_CANCEL_CYC)
:C: ENGMET=GC(G_ENGLISH)
:C: IF METRIC_OUT=2 THEN ENGMET=GC(G_METRIC) ENDIF
SO, G_ENGLISH is :DEFINE G_ENGLISH=9
:DEFINE G_METRIC=10
:C: GC(G_ENGLISH) = 70
:C: GC(G_METRIC) = 71
SOOOOOO, G70 is Imperial and G71 is telling it Metric. See how much I had to go through just to find that? Almost like hacking but I have changed them now to 20 and 21 respectively.
Maybe 2.0 will be more stable, but in the past it goes in and out. There are also a lot of 1.1.19 machines out there. Maybe I’m being paranoid.
The huge feedrate on the G3 still worries me.
Marlin doesn’t use english units. IDK if you can just enforce that by erroring when the units are english, but I don’t think figuring that out is worth it. I would just help the users use metric in CAM (solidworks should let you use english in design and metric in gcode).
You’re getting there. Making great progress. FWIW, the first fusion PP took effort, and worked ok. Guffy took a few weeks and really made it polished. It is a challenge, for sure.
It is strange as I am in Metric but everything is thinking in Inches so I have to add math routiunes to divide by 25.4 is you are in Metric. FWIW I am not going to concern myself with the folks who are using Barbarian measurements (as Cura puts it).
I am still missing one final piece as I can get those boxes for the input (btw, that shows mm from them but if you put 1.0 in the box internally it is 25.4 which is what alerted me) but it errors out if I try to use them and if I make everything play nice those boxes are empty BUT it still remembers the values you had in them and the new empty boxes do nothing.
G3 worries me as well but I haven’t touched any of that since I have no idea about arcs.
No idea. I googled it and there is some seimens cycle82 thing for counterboring. G82 and G83 are for boring too. No idea what those arguments are for, and Marlin won’t support G82/83.
Linix cnc has some really good gcode reference, btw.
I’m working with Solidworks CAM and have added this post processor.
I’m using the SKR1.2 Pro on the Lowrider CNC.
When I processor my part I will run the CNC off the SD card. In default it will not run and will sit there doing nothing. I have to delete a few of the G90 and the M3 command on top before it will actually start the program.
Then it looks like its processing but doesn’t drop the Z down.
It shows in the Gcode but stays at the same height.
If you can see anything out of the ordinary let me know? Is the Postprocessor for the MPCNC and not for LowRider?
Also I processed the part in Estlcam and noticed the G commands are G01 instead of G1 ? I’m pretty new to all this.