How to use Jedicut G-Code with GRBL 4 Axis CNC Foam Cutter

posted in: CNC, Hot Wire, JediCut, Software | 12

Jedicut is a free program that can be used with the USB CNC foam cutter build on this website. It only runs on Windows. I have made a full tutorial on making a swept-wing using Jedicut but this was configured to use LinuxCNC. So in this post, I’ll show what needs to be changed to work with the new USB foam cutter.

You can download Jedicut from here

What is Jedicut?

You may ask. It’s used to generate G-code for 4 axis hot wire CNC foam cutters. You create your project by uploading either DXF or DAT files which are usually wing profiles but other shapes can be used. Once you have configured all your dimension a cut file is produced with the G-code that we upload to our USB foam cutter. But it won’t work unless we change a few setting.

Jedicut does have the ability to control a CNC machine but this post is only concerned with generating G-Code with the plugin included with Jedicut.

Jedicut clarky

Making Jedicut work with the USB CNC Foam Cutter

If you just installed Jedicut and tried to upload some G-Code you may get errors from the Grbl Hotwire Controller used by the USB foam cutter.

Step 1 – Matching the Axis Names

jedicut error 4 axis grbl foam cutter

The error above is usually caused by the Axis names not matching what the GRBL software expects.

The error message is a bit obscure but it usually means the axis names generated by Jedicut are don’t match our Grbl Hotwire Controller This is easy to fix, just go Tools->Options and then the GCode tab. In the ‘Name of axes’ dialogue change X2 to U and Y2 to Z as the picture below.

jedicut axis correct for grbl foam cutter

Step 2 – Remove Static Header Setting

Once you have changed the Axis names the error should stop and your G-code should load. When you try to run it through you will get a couple of errors against the some of the setting in the Static Header. These G-codes are not implemented in our firmware which causes the error.

So all we need to do is remove all the lines apart from

( SET FEED RATE MODE )
G94

Very Slow Speed in G-code

The latest version of Jedicut includes a Materials List and the default material can cause very slow speeds in the g-code. The simplest option is to just remove them and it works as before.

jedicut speed problems

Test Run

With the changes made you should find Jedicut will run without any issues on the USB CNC foam cutter. The picture shows a test I made with the above changes. Jedicut works in Incremental Mode its G-codes are referenced to the last position and not the zero origins. The viewer can look a little strange when using Jedicut

Hopefully, these steps now have your running G-code. If you are still having issues just drop me a line and I’ll take a look.

G-code running on Grbl Hotwire Controller

12 Responses

  1. Klaus Eckstein

    Hallo Keith,
    With witch Program can i make Fuselage gcode dir my foamcutter ,i Know devfus but this ist not free .i Design my Fuselage in fusion360 but there is No Postprozessor for foamcutting .i Hope you can Help me
    Thanks so much
    Greetings From Germany

    • Keith

      Hi Klaus
      I’m afraid DevFus Foam is the only option that I have found can do fuselages with any success. If you had a simple fuselag then Jedicut may be able to do it. But it would need a lot of work to get all the profiles. It’s a shame Fusion 360 doesn’t have a post processor. I have been asking on them but never had any success.
      DevFus Foam is very good and if you compare the price to the cost of a new RC model it doesn’t seem so bad and you can make many fuselages.
      Hope that helps a little
      Keith

  2. mike schildt

    Hi Keith
    great information, my issue with jedicut is when adding the wing data. i can’t change the wing root and tip relative thickness. both are light gray. they start out editable but as soon as i add the wing dat file they both gray out and are not editable. Mike

    • Keith

      Hi Mike
      Can you send some screenshots not sure I understand your problem. Send them via the contact page there is an option to upload files there
      Keith

  3. Don Burke

    Hi Keith:
    I am working my way through things with the help of your videos. Solved an issue with the nema23’s being 6 wire (as you mentioned, they work fine if you just don’t use the center taps on the steppers). Sent for 4 wire 17’s from Amazon in case I could not get things working, so I have 5 of those in case of more issues with the 23’s. I am having issues with the 5x controller program. I can’t get the samples to draw anything in the right boxes or run, ERR messages all over the place stopping it, I need to do more reading and watching videos again and again to catch what I am missing. I have one issue I was wondering if anyone else has mentioned: Using 5x I can jog back and forth for about 10-20 seconds and then the program locks up. Sometimes it will not move one direction, then if I move the other direction it seems to clear of that issue and it will move both directions. If I close the program and restart it, it reacts but it may not move and then a box pops up and tells me that some direction that was given had not completed. If I wait, sometimes it will move on its own and then stop. It seems it remembers the last input before it last failed! Sometimes it just starts up for the 10-20 seconds and then fails again. I have not had things work so that I could install a wing profile to try that portion of the program. I am using windows 7 ultimate, I7-2600k cpu/64 bit(maybe an issue?). There is a lot for me to still work out. I might get out my other computer and try it on there. Also when loading the arduino program, I get several red lined errors but the program seems to load and the serial port gives the proper feedback. If you hear of anyone having these issues and working out a solution, let me know if you have time. Sorry to hear about your father in law. I know it is tough as I lost both of my in-laws 2 years ago within 6 months of each other.
    Thanks for your time and efforts, and try to take it easy.

    Don

    • Keith

      Hi Don
      Have you tried the older program to see if that gives the same issues? I wasn’t able to test on Windows 7 so can’t confirm if it works OK on it. If you want to send some screenshots to [email protected] I’ll take a look.
      Keith

  4. AntonL

    Hello, followed the guide on this but when i press start its like the motors are vibrating and not moving. I am using the hotwire mega 5x and i am able to control the motors manually, do you know anything about this?

  5. AntonL

    I was able to solve it, the problem was that the speed in Jedicut wasnt translating to the g code. In Jedicut i set the speed to 100 but the speed in the g code said like 0.0003. But changing that number to 100 in the gode solved it and i have been able to cut some wings But i shouldnt have to modify the g code to make it work right?

    thanks, anton

    • Keith

      Hi Anton
      The problem is the latest version of Jedicut has a material option in the heating control which causes the problem. If you just delete that it should work OK. Had a few guys with that same issue.
      I’ll update the Jedicut posting with that info.
      Hope that works for you

      Keith

  6. AntonL

    oh yeah that worked! thanks very much!

    thanks, anton

    • Keith

      Hi Anton
      Just updated the post on the website as well.
      Glad you got it working
      Keith

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.