would offset 0.3 inches into the circle before piercing. The converter will eliminate Z coords and add preheating/piercing to circles.Īlso, now the interior offset can be set via the command line, e.g: It also ignores arcs, and only pierces circles on their interior. This works based on correct understanding of G2 syntax.
To run this correction script, download the coverter file - make it executable, and run it from command line. The number of rotations is currently 8, but one should be able to modify this. Third, it rotates the torch around a small radius (.05") during preheating. Second, it starts a pierce by moving towards the center of a hole. First, it takes out the z values generated by the DXF to G-code Converter (not needed in a 2-axis motion system at hand). To address the proper piercing issue, Vann Miller has written a correction script. Thus, finetuning is a precise matter - if one is interested in precise cuts such as small bolt holes. Moreover, the width of the cut needs to be considered, so the actual toolpath needs to be modified by about 1/16 smaller diameter size for circles when using a #2 cutting tip. It further emerges that the fuel flow rate should decrease after metal ignition, as the fuel gas is important primarily in preheating, not in cutting. Moreover, one wants to preheat the metal not by standing in place, but oscillate back and forth to heat the metal more evenly. Instead, one wants to pierce inside a hole, and subsequently move to the circle contour. For example, when one wants to torch out a hole - one should not pierce the metal right on the cutting line, because piercing is a messy operation. It turns out that the above code, while in principle correct, does not address the practical considerations of piercing metal.
Note that we are in a 2-hose machine torch configuration with manual cutting gas toggle.Īs it stands, the toolchain for open source torch cutting is quite disintegrated.
For Factor e Farm implementation - python d2g.py.Run the script from within the directory where the script is located: python scriptname.py.For Factor e Farm implementation - cd gcode.Navigate to the directory where you downloaded the script.Download python DXF2gcode conversion script onto your desktop.The instructions complicate the issue for novices. Just download the python script, run it, import the DXF, export the g-code file (.ngc).
Note: forget about the installation instructions.Let's cut wheel mounting plates for the open source tractor with the torch table: The program converts a 2D dxf drawing to CNC machine compatible G-Code.