hi,
I put together a couple of ideas for foamcutting:
- what is a hotwire foamcutter (HWFC)?
A HWFC moves a straight heated wire. The movement is done by moving
both ends of the wire independently.
One end is moved related to a X-Y cartesian coordinate system, the
other end related to a U-V coordinate
system, which is parallel to X-Y. When the position in X-Y is the same
as in U-V, the wire is perpendicular to both coordinate systems
(perpendicular to X-Y plane and U-V plane). The movement of the
wire can be controlled by a cnc-controller, using X-Y and U-V axes.
- how to cut a cylinder
If both ends of the wire move synchronized circular (a full circle), a
cylinder is cut. To move synchronously, 4-axes-gcode like
G01 X100 Y200 U100 V200
must be used.
The first problem here is: there is no 4-axis G02/G03 code. So we
cannot move really circular. The circle must be done by small linear
segments.
- how to cut a cone
To cut a cone, we need circles of different sizes on both ends.
But the circles (or generally the shapes) of the drawing are related
to the ends of the workpiece, not to the X-Y and U-V planes.
The drawn shapes are typically cross-sections at both ends of the
workpiece.
The shapes at the U-V and X-Y planes must then be calculated. They
depend on the size of the workpiece
(distance between the cross sections), the distance between the U-V
and X-Y planes and the position of the
workpiece within the planes.
- cutting with an angle
So far we have assumed that the coordinate planes and the workpiece
cross-sections are all parallel. This
is always true for the coordinate planes, but there might be an angle
between those and the cross-sections.
At least a horizontal angle is helpful. I don't think a vertical angle
is necessary.
- cutting complex shapes
A complex shape is an arbitrary mix of splines, arcs and linear
segments. And the shapes might be completely different on both ends.
If you drive X-Y and U-V just independently, the result is probably
not what you want.
I do not know, if there is a real, complete solution for this
situation. For sure there are limitations. A
straight wire is a straight wire, and also the movements at its ends
are limited by the dimensions of the machine.
But there are some things we can do:
If we want to cut a sharp edge at a certain position, we have to make
sure, that the wire arrives at this position at the same time on both
ends. I call this a "syncronisation point".
So we might define a number of these sync points. The movement bewteen
shall be synchronized. But the speed in g-code is always related to
the X-Y-Z axes. If there are splines and arcs between two sync points,
we must devide the paths into an equal number of pieces on both sides,
to achieve a sync move.
Example:
a practicle example can be found here:
http://www.rc-network.de/forum/showthread.php?t=172458
- Kerf
similar to the tool dimension of milling, there is a kerf here too.
Unfortunately it is not constant, like a tool diameter for milling. It
depends on the wire thickness, the temperature, the cutting speed and
the material. So typically the kerf is a mystery, and everybody knows
a secrete way to estimate it. (Of course for a known combination you
can measure it).
A typical HWFC software allows at least a different input for the kerf
on both sides. On the side with smaller dimensions (shorter path to
cut), the speed is lower, and the kerf is bigger. With complex shapes,
theoretically it would be nice to have different kerf settings between
two sync points. (could be an overkill ?)
- How to prepare the drawing, parameters
The drawing for a HWFC is supposed to contain pairs of shapes. One
pair of shapes defines a cut. The shapes are cross sections of the
work piece. The planes (XY, UV), and Kerf must be assigned.
Machineparameter is the distance between XY and UV. Addtional
Parameters are the size of the workpiece and
its position (distance to XY(UV, angle)
- 3-D cutting using a turntable
Adding a turntable with its axis perpendicular to the wire would add
another degree of freedom to cut 3D. Not
sure if this can be in the scope of d2g.
Gerd