5 axis simulation

More
27 Jul 2019 16:30 #140753 by fma
5 axis simulation was created by fma
Hi!

I'm working on a 5 axis 3D printer, which will only be able to print a portion of sphere. For more info, see:

wiki.logre.eu/index.php/Pseudo_5_axis_3D_printing

The code to map/unmap the sphere to plane, in order to slice the part, is written. As I don't already have the A/C axis on my printer, I would like to simulate the G-Code with LinuxCNC.

I started with the sim_9axis, and removed the unused axis, but when I start it, I get:
LINUXCNC - 2.7.0
Machine configuration directory is '/home/fma/linuxcnc/configs/5axis'
Machine configuration file is '5axis.ini'
Starting LinuxCNC...
.
Found file(REL): ./5axis.hal
Found file(REL): ./spindle_encoder.hal
Found file(REL): ./axis_manualtoolchange.hal
Found file(REL): ./home.hal
waiting for s.axes
waiting for s.axes
waiting for s.axes
waiting for s.axes
waiting for s.axes
waiting for s.axes
waiting for s.axes
HAL: ERROR: duplicate component name 'inihal'
ini_hal_init: ERROR: hal_init() failed
emcMotionInit: ini_hal_init fail
waiting for s.axes
HAL: ERROR: duplicate component name 'inihal'
ini_hal_init: ERROR: hal_init() failed
emcMotionInit: ini_hal_init fail
waiting for s.axes
HAL: ERROR: duplicate component name 'inihal'
ini_hal_init: ERROR: hal_init() failed
emcMotionInit: ini_hal_init fail
HAL: ERROR: duplicate component name 'inihal'
ini_hal_init: ERROR: hal_init() failed
emcMotionInit: ini_hal_init fail
HAL: ERROR: duplicate component name 'inihal'
ini_hal_init: ERROR: hal_init() failed
emcMotionInit: ini_hal_init fail
A configuration error is preventing LinuxCNC from starting.

I searched on the forum, but didn't find anything related with my config.

Thanks for your help.

Frédéric

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

More
27 Jul 2019 17:09 #140754 by pl7i92
Replied by pl7i92 on topic 5 axis simulation
seams you do not use a Real time kernal
what os do you use

a 5Axis 3d printer is not nessasary as you can print only HULL in 3axis mode

ther seams not to be a need for this what is the part that you try to do

with internal build up yre able to rint every part that can be imagin in 3axis

also the 5axis shoudt be like a Water Cutter in joint setup

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

More
27 Jul 2019 17:46 #140756 by fma
Replied by fma on topic 5 axis simulation
I'm using linuxCNC iso, in virtualbox. But I found the issue: I messed up with the axis3, axis4 and axis5: I have to define 3 and 5, not 3 and 4. It works, now.

As explained on the project wiki, I want to print BB-8 panels, and avoid stair effect. With 5 axis, I can have a nice finish on the external of the sphere.

Now, how can I get this simulated 3D view:

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

More
28 Jul 2019 22:09 #140847 by andypugh
Replied by andypugh on topic 5 axis simulation

Now, how can I get this simulated 3D view:


linuxcnc.org/docs/2.7/html/gui/vismach.html

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

More
29 Jul 2019 06:58 #140865 by fma
Replied by fma on topic 5 axis simulation
Thanks!

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

More
29 Jul 2019 07:13 #140866 by pl7i92
Replied by pl7i92 on topic 5 axis simulation
there is a simulation mashine under SIM.AXIS.Vismach
this might bring light to the setup
 HALCMD = loadusr -W xyzac-trt-gui
 HALCMD = net  :table-x      joint.0.pos-fb             xyzac-trt-gui.table-x
 HALCMD = net  :saddle-y     joint.1.pos-fb             xyzac-trt-gui.saddle-y
 HALCMD = net  :spindle-z    joint.2.pos-fb             xyzac-trt-gui.spindle-z
 HALCMD = net  :tilt-a       joint.3.pos-fb             xyzac-trt-gui.tilt-a
 HALCMD = net  :rotate-c     joint.4.pos-fb             xyzac-trt-gui.rotate-c
 HALCMD = net  :tool-offset  motion.tooloffset.z
 HALCMD = net  :tool-offset  xyzac-trt-kins.tool-offset xyzac-trt-gui.tool-offset
 HALCMD = net  :y-offset     xyzac-trt-kins.y-offset    xyzac-trt-gui.y-offset
 HALCMD = net  :z-offset     xyzac-trt-kins.z-offset    xyzac-trt-gui.z-offset
 HALCMD = sets :y-offset     20
 HALCMD = sets :z-offset     10

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

Time to create page: 0.382 seconds
Powered by Kunena Forum