4 axis foam cutter configuration

More
21 Jul 2024 16:49 #305800 by stirra
4 axis foam cutter configuration was created by stirra
I have a rebuilt 4-axis foam cutter working with 2.9.3, but I would like to change how it is displayed in Axis.  The default display is XY; UV, with the wire vertical.  In reality, the axes are YZ; VW, with the wire horizontal.  I have tried changing all occurrences of XYUV to YZVW in the axis_foam.ini simulation, which does not give any error messages, but no change is visible in the Axis preview.  It still shows the UV plane above the XY plane with the wire between.

Any suggestions on how to achieve this?

Thanks,
-- Ralph

Please Log in or Create an account to join the conversation.

More
21 Jul 2024 18:55 #305805 by andypugh
Replied by andypugh on topic 4 axis foam cutter configuration
Don't try to fix this by shuffling the axes. Leave the system set up as XYUV.

As far as I can tell your issue is purely with the display on the screen?

Try editing glnav.py around line 444. (on a very slow connection on a train, can't check where the file is, but probably /usr/share/linuxcnc

The self.lat and self.lon numbers set the view in sperical coordinates. So set htese to alter the orientation of the default perspective view.

It's a Python file, so no need to recompile. Thogh you may need to restart linuxcnc.
The following user(s) said Thank You: my1987toyota

Please Log in or Create an account to join the conversation.

More
21 Jul 2024 20:22 - 21 Jul 2024 21:21 #305816 by my1987toyota
Replied by my1987toyota on topic 4 axis foam cutter configuration
I was wondering about this myself, so glad it was made a topic. Foam cutters seem to be seeing an increase
in interest. ( Me included ) I am also curious about it showing a 5th axis.
Last edit: 21 Jul 2024 21:21 by my1987toyota. Reason: adding info

Please Log in or Create an account to join the conversation.

More
21 Jul 2024 22:31 #305821 by stirra
Replied by stirra on topic 4 axis foam cutter configuration
Well, the file seems to be /usr/lib/python3/dist-packages/glnav.py , but I find my intuition for spherical coordinates is severely lacking. Setting the lat/lon to 0,0 gets the wire into the horizontal plane, but rotating it around in a desirable fashion is proving difficult. Is there a way to overload this set_view_p function somewhere downstream so I don't have to edit a python3 package, creating problems with future system software updates?

Thanks again.
-- Ralph

Please Log in or Create an account to join the conversation.

More
22 Jul 2024 01:10 #305823 by phillc54
Replied by phillc54 on topic 4 axis foam cutter configuration
You could create a  USER_COMMAND_FILE  in your config directory with a copy of the method from glnav.py like below. You do need to restart LinuxCNC to apply each change.
Warning: Spoiler!
The following user(s) said Thank You: stirra, my1987toyota

Please Log in or Create an account to join the conversation.

More
22 Jul 2024 03:59 #305828 by stirra
Replied by stirra on topic 4 axis foam cutter configuration
That was very helpful.

I still am having trouble coming up with lat and lon values that show the X/U and Y/V planes as vertical. It seems to me that changing the viewpoint through the lat and lon values never gets to such an orientation. Lat = -45 and lon = 0 almost looks like vertical X/U and Y/V planes, but I think it is an optical illusion.

Please Log in or Create an account to join the conversation.

More
23 Apr 2026 08:05 #345868 by Retrofit
Replied by Retrofit on topic 4 axis foam cutter configuration
  Hello to everybody
I use to retofit mill and lathe with linuxcnc , all of them with probe basic.
All of them are working  , i do this for hobby.
Now  i build a hot wire foam cutting machine , a large one , 3m*1,7*1,7 m ,(for 1,2*1,2 section cutting) 4 independent axis
It is configurated with 7i92+7i76 board (old type both of them , remain from other project ) , including the mechanics , remain from projects  , linuxcnc , axis - foam configuration.
On desktop looks like work.
I need an advice , a configuration , an ideea how to manage the wire change of lenght , with a stepper motor , not mechanicaly with spring , pneumatic cylinder , or weight on both sides.
Something like a 5th axis.
I tryed with double y and v axis (vertical axes) ,  mirror axes like routers , XYYUVV  , the mirror axes move and rotate a whell and 'recover' the lenght of the wire , but in my opinion is a better solution , I think with only one motor that can compensate and manage the lenght change.
Thanx in advance
Denis

Please Log in or Create an account to join the conversation.

More
24 Apr 2026 17:30 #345899 by stirra
Replied by stirra on topic 4 axis foam cutter configuration
I ended up using a bottle of water as a weight, with the wire fixed at one end and a pulley arrangement for the moving end. I used polished wire nozzles used for wire winding machines to guide the wire without fatiguing it. Do not try to use MIG welder wire nozzles, as they will break the wire very quickly.  I built the machine for a university lab, but I don't think they have used it very much since, so long term reliability is untested.-- Ralph
Attachments:
The following user(s) said Thank You: COFHAL

Please Log in or Create an account to join the conversation.

Time to create page: 0.098 seconds
Powered by Kunena Forum