Lookie here! G-Code mirroring code. https://github.com/bkubicek/grecode
Lookie here! G-Code mirroring code. https://github.com/bkubicek/grecode
This is just what I have been looking for. I have a customer who wants to engrave a logo in a gunstock. I was thinking of putting aluminum foil tape (the sort used for sealing a/c ducts) on the gunstock and using the tool tip as the probe grounding the tool setting puck to the foil tape. I have yet to try it out but am anxious to do so. Thanks, scorch for coding this software. I found this through the CNC Coockbook blog.
Bob
I built an additional type probe using a momentary switch. No matter what kind of material I probe now, it works. And there's no glue residue to clean up.
Sent from my VS990 using Tapatalk
I tested his probing software when he first announced it. I made a probe with a switch inside. The software worked perfect. I also used his software to wrap gcode for 4th axis rotary. Great piece of software.
Hello,
i have a Little Problem with the Output from SolidWorks.
G-Code Ripper gives me 3 Errors which i have to correct in the G-Code before i can load it into the Ripper.
1. O Codes are not supported
2. A Codes are not supported
3. D Codes are not supported
After deleting this codes i can finally load the file. Hopefully i did not delete any important Things from the original Code. ( i am new in CNC Milling )
Also there is a black command window all the time. What is that for and can i start the Ripper without this window?
Would be great to have an answer...because this is a very great Programm !!!
Matthias
1. I am not clear on what the O code at on the first line of this file is doing. Usually I see O codes with a keyword after them (sub, repeat, etc). This O code does not seem to be doing anything so you are safe deleting it. (Maybe someone smart will tell us why it is there.)
2. The A codes in the file indicate A-axis movements The code only sets the A-axis to the zero position two time so you are safe deleting these also
3. The D code sets the tool diameter for the tool that is selected. There is no tool compensation called so you are safe deleting this one also. (The G40 explicitly turns it off)
I make G-Code Ripper stop processing on these codes to force the user to bypass them if needed. I would rather make the user makes the decision. There might be settings in Solid works to get rid of these unneeded codes.
The extra black window is an artifact of the way I produce the Windows executable. You can pretty much ignore it. You can run without the black window by installing Python on your machine and running the .py file directly. I don't recommend that because I don't want to have to support people getting python running and the way I package the executable files they run faster than a standard Python install would run.
Scorch
www.scorchworks.com
Hello,
thnks for the fast Answer!!
Maybe the O-Codes Comes from the Postprocessor i use. It is called "PostDevTestMachine.vmid" and "PostDevTestMachine.gpp".
I think i found it here, or maybe somewhere else.
But i also tried other PostProcessors in Solidcam. There are also These O-Codes inside the final Code.
It would be very GREAT if you could do some changes in your Ripper,
an Option for the user to self decide to let the Ripper skip the O, D and A codes.
It would be very great if you could do that and recompile one Windows Version without the Debug Window.
Would be great of you...Thanks
Matthias
...i have an Additional question and here some better explayin what i mean.
Attached is a Picture where you can see my Probe.
When i move the Z-Axis down until the Probe just touches the Part i have a Z-Value of ...lets say -10.000.
That is the Position of the Probe you can see in the Picture.
But the Wires of the Probe are not closed at this Moment.
To Close the wires i have to move the Z-Axis around 2.5mm down.
So, what Value have i to put in to the "Probe Z Offset" in the Ripper ? ( -10.000 or -12.500 )
Thanks
MAtthias
Hello,
ok, i will try that this eve when i am back home.
Can you say something about the other question i ask you?
Would be great, because i had yesterday, as example, a *.TAP file with a very lot of D1 Values....
Greetings and Thanks
Matthias
I'd still like to see this able to mirror image G-Code, while keeping the same movement direction so regular milling doesn't switch to climb milling, or visa-versa.
I think about the potential mirror option sometimes but getting it to work right with the milling style (climb mill vs. conventional) make things complicated. Running the tool path backwards to achieve the same cut style could be disastrous. I am not sure how it would be possible to get the cuts correct.
Scorch
www.scorchworks.com
You might consider making a copy of the post processor files and edit them to fit your need. I am not familiar with the format of Solidcam files but generally post processor files are reasonably easy to edit especially if you are only looking to suppress some specific commands.
I might change the behavior so the errors can by bypassed but I am not planning on working on that anytime soon.
You can run without the black window by installing Python on your machine and running the .py file directly.
Scorch
www.scorchworks.com
You are asking a bit much for some freeware. Mirror in your CAD/CAM.
Greetings Master
Do you have the code on the github?
I thought to give gcode ripper a try but I get this error:
ERROR EXP-3: Unable to evaluate expression: [/2]
For all the versions listed on your website.
In this case on a virtual machine with ubuntu 12.04 as well as on my main machine, budgie 18.04
Is that a bug or am I doing something wrong?
Sven
http://www.puresven.com/?q=building-cnc-router