@Mecanix,
The virtual machine is composed of an xml file (vm.xml) and mesh files (STL) so everyone could be able to make their own, no particular knowledges are required.
I use a normal CAD like Fusion360 to extract the single parts of a CNC as a STL files.
Example for 5 axis on demo machine:
Code:
<?xml version="1.0" encoding="utf-8"?>
<virtual_machine version="1">
<fixed>
<part file="fixed-basement.stl" x="0" y="0" z="0" color="606060"/>
<part file="fixed-z-column.stl" x="0" y="0" z="0" color="606060"/>
<part file="fixed-spindle-carter.stl" x="0" y="0" z="0" color="796878"/>
<part file="fixed-spindle-carter-2.stl" x="0" y="0" z="0" color="796878"/>
<part file="fixed-spindle-carter-3.stl" x="0" y="0" z="0" color="796878"/>
</fixed>
<axis_x slave_of="Y" direction="-1">
<part file="x-basement.stl" x="0" y="0" z="0" color="21CF1C"/>
<part file="a-motor.stl" x="0" y="0" z="0" color="D6CD2F"/>
</axis_x>
<axis_y slave_of="" direction="-1">
<part file="y-basement.stl" x="0" y="0" z="0" color="21DED1"/>
</axis_y>
<axis_z slave_of="">
<part file="z-spindle.stl" x="0" y="0" z="0" color="ff4500"/>
<part file="bt40.stl" x="0" y="0" z="0" color="91a3b0"/>
</axis_z>
<master slave_of="XY">
<part file="a-table.stl" x="0" y="0" z="-5" color="62615C"/>
</master>
<slave>
<part file="c-table.stl" x="0" y="0" z="0" color="C6C3B9"/>
</slave>
</virtual_machine>
We have used a simple virtual machine structure info instead of a complex tree to simplify that job.
In next days I will write a simple wiki document "How to create a VM by zero".
PS:
At momement supported kinematics are:
- 2 Axis
- 3 Axis
- 4 Axis (Ax)
- 4 Axis (Ay)
- 5 Axis (AxCz)
- 5 Axis (ByCz)
- 5 Axis Table-Table AC (RTCP enabled)
- 5 Axis Table-Table BC (RTCP enabled)
- 4 Axis Head A (RTCP enabled)
- 5 Axis Head-Head AC (RTCP enabled)
The product price is enough affordable starting from 399E (4 axis step/dir outputs) to go a little over 1000E (6 axis with RTCP, EtherCAT, OPC-UA, Laser acquiring, etc).
Price is dependent by purchasing options. I'm not of commercial office to place precise prices.
PC software, at moment, don't implement a preventive collision detection but with simulator at x11 is possible to run fastly a gcode and visually detect anomalies in toolpath.