JediCut Simulation on a FoamCutter Machine

Hello everyone,

once again I would like to give you a short overview of the latest developments on the programme.
This time I have been working on the production of wings for aircraft modelling.
I confess that I don’t really know anything about this and therefore depend on tips and suggestions for improvement from the modellers among you.
In the short video I show how to simulate the GCode of the program JediCut in GrblGru.
But I have also made a “WingCreator” with which you can construct wings yourself. I would like to tell you more about this in the next video.

Have fun with GrblGru

3 Likes

Hi,

I am just discovering GRBLGuru searching for “jedicut” in this forum.
I have the feeling that you just made a beautiful piece of code :+1:

I am a RC flyer and builder and I can have access to an old foam cutter using “MM2001” controller board (with parallel port controller).
My intention would be to retrofit this machine with a more modern controller board “FluidNC” dongle.

Coming back to your software. It seems that you can read gcode files generated by jedicut and send them to GRBL controllers ? So it should also work with FluidNC controllers right ?

Foam cutters have a particularity to handle “wire temperature”. I don’t exactly know how this is done into Gcode !

A few information xan be found here (but in french) :

jedicut Gcode

I have tried this software !
Loaded a sample gcode file here : RcKeith sample gcode

As it is a XYZA machine I declared a XYZA machine into Fluidnc firmware and tried to connect to it

Connection is Ok, the FLuidNC board seems to be seen. But imediately I get this error

I can’t find this line into the gcode file ?

So probably something is missing for FluidNC board to be recognized ?
I know that there are solutions to add “missing parameters” but I don’t know what GRBLgru is waiting for during initialization !

Thanks for your help

FluidNC does not support the U option on G10 commands. Hence the error message.
Maybe your example config is for a different Firmware?
See: Supported Gcodes | Wiki.js

You will need to edit the job start gcode and correct the G10 line. Maybe also sanity chack the rest of the output too. FluidNC is /essentially/ GRBL 1.1 compatible, so look for GRBL examples if looking at example configs online.

Something I’d not seen before… I’m guessing the ‘G10’ line is designed for that… It seems unlikely that GrblGuru is generating that line since it’s ‘non standard’ ?? (or maybe it is a Grbl Mega thing?

I had it working (almost) skipping this error (acknowledging the error !)
Then a gcode generated with XYZA seems to be sent to the board.

(sorry for the poor quality of this picture…)

But as soon as I click on the jog of “Y2” axis (A in my gcode) the GRBLGru sends a U motion which fails !

So I would say that it is almost working but not yet perfect !

BTW the 3D view is not refreshed as well during cut

I dont know GrblGuru at all (Laserweb is my thing) but it sounds like you need to configure the Axis mapping somehow? Sorry I cant help further; needs an expert.

Yep thanks for your help !

I am just testing Grbl hotwire Gcode sender and it works magically out of the box for FluidNC foamcutter :+1:

It does exactly what I was looking for :

  • 4 axis jog (independant or coupled)
  • override
  • temperature setting
  • 2 planes profiles view
  • real time progress

Thank you for your interest in GrblGru.

I am a little late in this discussion, and perhaps you have already found what you were looking for in the “Grbl hotwire GCode” program.
Regardless of that, I just want to briefly explain what my goal was in developing the Foam Cutter machines and what the current status is.

Originally, it was only intended as a graphical simulation of GCode, which was calculated by other programs (e.g. JediCut). But then it turned out that there was also a need for ‘normal’ cutting of Styrodur plates. (e.g. cutting out letters)
I then started to generate the corresponding GCode from normal DXF /SVG files.
As I don’t have such a machine myself and can’t carry out any tests, I am dependent on external help. Unfortunately, no one has been able to help me so far. The current status is therefore an unfinished construction project. :frowning:

Now to FluidNC. Here, too, I do not have a suitable controller. The control of GRBL, Mega-5X and GrblHAL controller works, so I assume that FluidNC will not cause any unsolvable problems.

The GRBL error message 20 states that an unknown axis has been controlled. I assume that this is the U axis. Axis names can be mapped under GrblGru in the MachineManager in the “Mapping” chapter.

So if you are interested in more GrblGru details, I would be happy to contribute anything you need. However, it would be even better (for me) if you would introduce me to the ‘secrets’ or at least the requirements of the Hot Wire Cutting.

Long story short:
But it would also be ok if you have already found the “Grbl hotwire GCode” program in a roundabout way. :slight_smile:

3 Likes

You were not late… we were too fast!

Thanks for this reply and for this nice piece of software.
I will be glad to help you test your soft with FluidNC.

Right now I have followed your advice and changed the U axis by “A” and it works !

grblGru3

I have loaded a gcode generated by jedicut sotware. Everything is fine regarding the connection and Gcode streaming with my FluidNC board.

However the 3d drawing is not moving. I don’t know if it is normal or not (or if I missed again something !)

And sure, I can try to explain to you what hotwire cutting secrets are (although I am quite new also to this hobby ! (but my brother is skilled in foam cutting ))

Once again thanks for your reply and your software

1 Like

Ok, I would suggest that we first try to move the axis manually.
Please select “GRBL-Mega-5x” under Controller and press the small “R” button to the right of the input. This will reset the controller. It should then be ready in the bottom right-hand window as shown in Pic 1.

Then go to the left window and set “Command line” on. Now you can enter commands in the left window and FluidNC will answer you in the right window.
Please enter “$$”. All parameters should now appear in the right window. (Similar to pic2 ) Please send me a screenshot of this.

Now please set "Command line"off, so that the normal buttons are active again.
Now try to move the individual axes with the arrow keys. pic 3

pic 1

pic 2

pic3
pic 3

1 Like

here is the answer for “$$”

grbl 3.7 [fluidnc 3.7.14-webui3-test (wifi) ‘$’ for help]

$22=0
$21=0
$20=0
$102=80.000
$101=80.000
$100=80.000
$112=1000.000
$111=1000.000
$110=1000.000
$122=25.000
$121=25.000
$120=25.000
$132=1000.000
$131=1000.000
$130=1000.000
$10=1
$30=0
ok
$22=0
$21=0
$20=0
$102=80.000
$101=80.000
$100=80.000
$112=1000.000
$111=1000.000
$110=1000.000
$122=25.000
$121=25.000
$120=25.000
$132=1000.000
$131=1000.000
$130=1000.000
$10=1
$30=0
ok
<Idle|MPos:0.000,0.000,0.000,0.000|FS:0,0|Ov:100,100,100>

and the result for the jog

But it seems that a few commands are not ok and still say “U” instead of “A”

And if I click “together” the right arrow is only targeting A instead of A +X

top down are ok

grblGru7

Homing button rizes an error (U again)

Thank you for your feedback. :slight_smile:

Unfortunately, there are still problems with the mapping of the U-axis.
Thanks to your help, I was able to fix some of the errors in the new version V5.2.6.
However, the A(U) axis cannot yet be moved in the simulation. But it should work in real mode.

I am working on the error in the simulation.

In the meantime, could you please check whether the axes and the model now move with V5.2.6.

3 Likes

Hi,
You were fast to correct all this !

I have tested the beta version:

  • axis are moving in simu mode
  • red axis is only moving up/down when clciking on up/down or right/left arrows
  • blue axis is working well

My FluidNC board is configured XYAZ
grblGru9

Thanks for the info
Mapping a translational axis into a rotary axis has turned out to be more difficult than I initially thought. I’ll get back to you here as soon as I have a new version.

Do you have the necessary hardware to carry out real practical tests? Or are you still missing something ?

Currently I don’t have the hardware totally ready. The hotWire machine I use is a very old MM2001 board connected via a // port to an XP PC…
My plan is to replace all the electronics by FluidNC board (I know it can work !) But it’s a matter of time… This machine is a “standard” 4 axis foam cutter

On the other hand I would like to make a hotwire turn table : https://www.youtube.com/watch?v=PTz5B3pGRKY

The hardware for this is almost ready as I have a 3 axis CNC driven by FluidNC and I can easily add a rotary axis. This CNC is already equiped with a hotwire cutter (vertical cut fixed on the Z axis).
But I would like to use this turn table to shape “fuselages” of my planes. More or
less like the video BUT with a non constant profile… The profile should be changed anytime the rotary axis moves. I could cut 16 or more faces to approximate the shape of the fuselage, then finish by sanding.

The workflow could be:

  • project the shape of the fuselage on horizontal plane, select half of this profile and send Gcode to follow it by a vertical hotwire
  • turn the rotary axis and repeat

I could be sure that no collision would occur as a fuselage is more or less a “bottle shape” but with a kind of ovoid section !

BUT I can’t find a software able to extract the profiles from a 3D model and then generate Gcode… If any idea ?

Meanwhile : I have found that KiriMoto handles 3axis + rotary CNCs.
And it has an option for “outline” cut of a 3D shape.

So it’s a very good candidate for my application “hotwire rotary foam cutter”. I will post my findings in a new thread.

1 Like

I have just uploaded a new version V5.2.7. The mapping should now also work. However, I have changed the functionality a lot. The GCode is now always generated with the axes of the model. The conversion of the axis letter now only takes place when the GCode is sent to the controller. I hope this has no other disadvantages.

By the way, I have already included the control of a turntable in the program. I am very confident that I can also calculate the GCode for this.

For now, however, it would be important for GrblGru to be able to control the 4 linear axes properly. With version V5.2.7 it should now also be possible to load DXF files and cut them out.

There are certainly still some bugs, but the essentials should actually work. I would be very interested to know if this works. Can you please check this?