[ Log In ]
[ Register ]

Question #: 14783

Question: What is the best program to use for converting a .DXF file to a G-Code file to use with Mach4. Mach4 will be used with a drill table.

Current Solution

There really isn't a program to directly convert a dxf (drawing exchange) file to gcode instructions.

Gcode is a set of instruction on how to cut geometric features which has numerous parameters for control.

A dxf file is simple geometry and does not contain enough information to properly control a machine.

For instance, take a circle that may be in the dxf. You may want to cut on the inside of the circle, or the outside of the circle. The cutting would need to be half the diameter of the end mill from the geometry so the edge of the end mill cuts along the line. There is also the speed to cut the geometry, how deep to cut the geometry, etc. This information does not exist in the dxf file.

A CAM program, like CAMBAM, Cut2D or other Vectric software, MechCAM, etc that allows you to apply machining operation to the dxf geometry. These machining operations are what is converted into Gcode.

Respond:

Other Possible Solutions to this Question

  • If I buy the Combo #1 with hardware, plans for $255.00 and get all the required parts, will i be able to use with Autodesk 123D?

    Yes, you can use the Autodesk123D CNC Utility found here: http://www.123dapp.com/aboutcnc

    This utility will work with any standard CNC machine. Our machines use standard electronics and you choose the software that controls the CNC machine.

    Click the link to add information to this solution:
    If I buy the Combo #1 with hardware, plans for $255.00 and get all the required parts, will i be able to use with Autodesk 123D?

  • the Y axis seems to be compressed. I have loaded the g-code for the roadrunner sample in the Mach3 program. After the code has completed it cycle the end result looks like a flattened roadrunner.

    Use the calibration in the settings tab. There is a button next to the "Reset" button on the settings page called "Set Steps Per Unit". Select the axis you wish to calibrate. Then specify a measurement that you want the axis to travel. Once the axis has finished moving that distance, you will inform the real measurement that the axis has traveled. That axis will now be calibrated. Do this to all of the axes that you wish to calibrate.

    Click the link to add information to this solution:
    the Y axis seems to be compressed. I have loaded the g-code for the roadrunner sample in the Mach3 program. After the code has completed it cycle the end result looks like a flattened roadrunner.

  • Attaching the aluminum rails to the table. Do you use a 1/4" or 5/16" drill bit?

    I like to use a 3/8" drill bit to create the holes on a table to mount the rails to give the rails a bit of wiggle room to adjust the alignment of the rail.

    Click the link to add information to this solution:
    Attaching the aluminum rails to the table. Do you use a 1/4" or 5/16" drill bit?

  • WHAT CAUSES ONE OF MY TWO AXIS MOTORS TO STOP WHILE THE MACH3 PROGRAM IS STILL RUNNING

    If one of your stepper motors decides to stop moving and the others are moving during a CNC milling or laser cutting job, then there could be two things that could be causing this.

    - The motor found its limiting torque (usually comes with a not-so-pleasant sound). This is where the control software is trying to move the stepper motor too fast (velocity, or too fast too quickly, acceleration) and the load against the stepper motor (inertia of the machine, or the material against the end mill while milling). Recommended action is to lower the velocity and/or acceleration, and/or lower the feedrate when cutting.

    - There is a wiring issue with the wiring from the driver to the motor. This could be a loose wire, or a chafed wire (or two shorting together). It can also be a loose digital wire from the controller board to the driver. Sometimes wire ties can be the culprit. Recommended action would be to thoroughly inspect the wiring.

    It's probably not the limit switches since that would cause a stop to the entire motion of the cnc router or laser machine.

    Sometimes Mach3 will show a status when something goes wrong, but in cases where the motor is stopping due to its torque limit, then that would not be shown in the status. It's always good to check it anyway.

    Additional Information:
    I need to clarify my situation a little better after going to my shop and trying to run another program on Mach 3. About 15 minutes into the milling process all the motors (2-X axis, Y axis and Z axis)stop but the program continues to run. I stop the program and after a couple of minutes when I try to restart the program all the motors start working again. Then after another 15 minutes or so, all the motors stop again. I checked and rechecked my wiring. This has never happened to me before when running the same programs with the same setups and motor speeds. All of a sudden when I reloaded a program I successfully used before it does this. Do you have any recommendations?

    Additional Information:
    Yeah, it sounds like a more complex issue. Have you tried running in the air without using the spindle. This may be a power related issue.

    Additional Information:
    That's exactly what I did. I ran the program without the router motor on just to see if the motors would get through the whole program but they stopped working after about fifteen minutes and then I was able to start them again after about 3 or 4 minutes. I never had this problem before so you can imagine my frustration especially after ruining a couple of projects on expensive material.

    Additional Information:
    Sure. I can completely understand. Try this: disconnect all but one of the driver from power and digital connection and do the air run. Repeat this for each driver and note your findings. This will rule out the drivers causing a power failure.

    Also, is your stepper motors and drivers on a separate power circuit from the computer?

    Additional Information:
    I will try disconnecting each driver and digital connection, which will be a real pain because it will be hard to access.

    All the stepper motors, drivers and computer are plugged into the same power strip.

    Additional Information:
    Ok, so there is no power failure going on, but I believe it is necessary to test each stepper motor and driver pair individually. Hopefully that will lead to a conclusion.

    Additional Information:
    It will take a little time but I will do it and report back on my findings.

    Additional Information:
    Curious, what machine is exhibiting this problem?

    Additional Information:
    I purchased a BYCNC kit back in 2009 with an approximate cutting area of 2' X 4'. I later changed out the Z-Axis Motor and controller for a larger one and have two X-axis motors and controllers. In 2010 I rebuilt the machine out of birch plywood instead of the particle board that the kit supplied. I sent Patrick pictures to him. The machine never gave me a problem till now.

    Additional Information:
    Thanks for the update. This is Patrick by the way. I answer pretty much all of the Customer Service questions. That machine has given quite a good history.

    Additional Information:
    I love the machine and made a number of samples of my work for my e-commerce site, but I can't start selling product until I know this problem is solved because I will not be able to fulfill orders. I finally got all the electronics out of its enclosed protected area near the machine so that I test each controller as you recommended. I hope the problem can be rectified. Will let you know.

    Additional Information:
    Thanks.

    Additional Information:
    I tested each stepper motor and driver pair individually and they worked so what might be the next step?

    Additional Information:
    Did each stepper motor driver pair work for the full +15 minutes?

    Additional Information:
    Yes, I had them in operation for over 30 minutes.

    Additional Information:
    Ok, well it’s good that the motors and driver are ok. We are now down to the power supply and the breakout board as possible causes for the stop. I have a feeling it may be the power supply where with all three drivers drawing current and the power supply maybe getting too hot. Is the fan in the power supply working? You can also test to see if there is 36 volts on the power supply voltage output (V+ and V-).

    Regarding the breakout board, if you have an oscilloscope, you can test if the driver pulses are outputting, but I would consider this as a last resort after you determine if there is a problem with the power supply.

    Additional Information:
    I tested the power supply with a voltmeter and each output was registering 39-40 volts. I think the problem may be the g-code. I am using V-Carve pro to do design and output to Mach 3 Mill g-code. When I studied the g-code lines I noticed that further into the program the z-axis g-code stopped zeroing out to move to the next part of the carving. In other words both the x and y keep moving and the z just stopped working because there was g-code missing. I think something is missing when the design was converted to g-code. I noticed that when I ran a simpler project it worked without problems so I need to investigate this further.

    Additional Information:
    New Update, Its not the g-code. I started to run the long program and everything was working fine until about 45 minutes into it, all the motors stopped working (but the program was still running) and there was a high pitched hum. When I put my hands on the motors they were all trying to move but it seemed they were all stalled. I turned the power off, gave it a minute and when I turned it back on I was able to move the motors again. Could this be a power supply problem?

    Additional Information:
    It does sound more and more like a power supply problem. Did you test the power supply after the motors stopped?

    Additional Information:
    No, I did not. What should I be looking for.

    Additional Information:
    It’s good that you know the voltage during normal operation, so you have a base understood. If the power supply is the problem, the voltage will be reduced or non existent when measured after the problem.

    Additional Information:
    Also, check to see if the fan is running on the power supply when the motors stop. That may (not absolutely) be an indication.

    Additional Information:
    I'll run another test, check the voltage and fan when the problem occurs and let you know. Thanks for hanging in there with me as we try to resolve the problem.

    Additional Information:
    It’s my pleasure. This service is rarely used and is faster then email. Odd nobody uses it. Any recommendations you can give would be great. No problem using this FAQ to pose ideas as this resolution will be cleaned up later.

    Additional Information:
    It might be that people do not realize you can communicate through the sight like this because they are so used to e-mail and texting. You may want to explain this feature in the customer service section.

    I ran the program this morning and it did not take long before the motors stopped. While operating the voltages for all three motors was 46 volts, when the motors stalled (and again there was a high pitch hum) the voltage went up to 60 volts and the fan on the power supply was operating.

    Additional Information:
    So, the driver work individually, but not all together. There is a high pitch sound when the motors fail. You have noted 60 volts from the power supply and the supply fan remains on. This is a difficult issue to resolve, but it seems to me that your power supply may be bad. The 60v measurement tells me that the current dropped and ohms law tells us that is current drops, volts will rise if the resistance stays the same.

    Additional Information:
    As one last test I am going to test each driver again and let them go through the entire program because it seems that the failure can occur at the beginning or towards the end of the program. When I originally tested ach driver I let them run for about a half an hour and the program takes over an hour to run completely. I just want to make sure that it is not the drivers. I will report back when I finished but as you noted it may be the power supply but I want to make sure.

    Additional Information:
    That’s a great idea.

    Additional Information:
    I just ran the x-axis through the whole program and there was no problem especially since I have two NEMA 23 motors moving that axis. Before I check the Y and Z could having a NEMA 34 on the Z axis with appropriate controller be a problem. I used the larger motor on the z axis because the router I am using is a large 1 1/2 hp. I've run this program in the past with this set-up and have not had a problem.

    Additional Information:
    Having a, say 3.0 amp driver, driving a stepper motor that typically requires a 6 amp driver would not seem to be an issue since the driver is limiting the current draw, but the driver may not be able to handle larger coil and back EMF with the protection on the 3.0 amp driver. With that said, I don’t believe that is the issue in this case.

    Additional Information:
    I don't either because I was able to run this and other complicated programs with this set-up in the past. I will let you know on the y and z axis.

    Additional Information:
    Thanks

    Additional Information:
    I ran the Y axis and z axis separately through the entire program and there was no stopping or problem. I guess the culprit is the power supply and I'll order a new one and hope that resolves the problem.

    Additional Information:
    Yes, that is the most probable cause. Please keep me informed. Thanks!

    Additional Information:
    Received and installed the new power supply. I ran the program with the router on and it worked flawlessly. The program runs for an hour and a half and I did not have a single problem. I guess it was the power supply but I was glad to go through all the diagnostics we discussed before replacing it. I hope this power supply lasts a lot longer than the last one. Thanks much for hanging in there with me and coming up with the solution.

    Additional Information:
    It’s my absolute pleasure and I am so happy to hear that the power supply replacement solved the problem.

    Additional Information:


    Additional Information:
    Y axis stop working X & Z work fine Y axis has two motors have check wiring & connections new breakout board still the same port & Pin set OK dont no were to go next David

    Additional Information:


    Additional Information:
    my cnc plasma cutter will run out the program when cutting. what is the cause?

    Additional Information:
    The cnc plasma question shod be a separate question. Can you pise that question by clicking the customer service live menu button at the top? Thanks.

    Click the link to add information to this solution:
    WHAT CAUSES ONE OF MY TWO AXIS MOTORS TO STOP WHILE THE MACH3 PROGRAM IS STILL RUNNING

  • I AM HAVING TROUBLES FINDING THE PD PROGRAM, HAVE BUT IT DOESN'T SHOW EVERYTHING NEED TO PROGRAM MY VFD. ANY HELP WILL BE APPRECIATED...

    When you power up your VFD, you can go into the programming mode by pressing the program button. You can press the up and down arrows to move through the parameters. Press the set button to go into the parameter to see the value of that parameter. If you want to make changes to that parameter, change the value with the up and down arrows until the desired value is shown, and press the set button to accept the changes.

    Click the link to add information to this solution:
    I AM HAVING TROUBLES FINDING THE PD PROGRAM, HAVE BUT IT DOESN'T SHOW EVERYTHING NEED TO PROGRAM MY VFD. ANY HELP WILL BE APPRECIATED...

  • Are the VFDs and pumps compatible with the european electric circuit (230V/50Hz) and what kind of connectors will be delivered?

    The VFD (Variable Frequency Drive) is not supplied with plugs, cable or connectors. You provide the cable and power plug or connector for the VFD. All you need to do is get an extension cable and expose the three wires of the cable and connect them to R, T and Ground. Please see the datasheet on this page for wiring information: https://www.buildyourcnc.com/item/spindle-inverter-2!2kw-spindle-novfd

    Our pumps only have a 110 volt input, so you will need to purchase the pump in your country.

    Click the link to add information to this solution:
    Are the VFDs and pumps compatible with the european electric circuit (230V/50Hz) and what kind of connectors will be delivered?

  • Building the 2'x4' CNC from the Woodsmith plans and want to use a router with 1/2" collet. Will your stepper motor kit with 2 NEMA-23 and 1 NEMA-34 be sufficient for a Bosch 1617 router motor, or will it be too heavy?

    You will be fine with using 2 NEMA 23/24 (425 oz-in) and 1 NEMA 34 (651 oz-in) motors with the Woodsmith CNC build with a large heavy router with a 1/2" collet. Specifically, the Woodsmith CNC build uses lead screws for each axis and this will provide mechanical advantage allowing the motors along with the drive mechanics (lead screws) an increase in torque.

    Click the link to add information to this solution:
    Building the 2'x4' CNC from the Woodsmith plans and want to use a router with 1/2" collet. Will your stepper motor kit with 2 NEMA-23 and 1 NEMA-34 be sufficient for a Bosch 1617 router motor, or will it be too heavy?

  • [77] I am having troubles finding the PD program, I have the Pd but it doesn't show everything I need to program my VFD. Any help will be appreciated...

    When you power up your VFD, you can go into the programming mode by pressing the program button. You can press the up and down arrows to move through the parameters. Press the set button to go into the parameter to see the value of that parameter. If you want to make changes to that parameter, change the value with the up and down arrows until the desired value is shown, and press the set button to accept the changes.

    Click the link to add information to this solution:
    [77] I am having troubles finding the PD program, I have the Pd but it doesn't show everything I need to program my VFD. Any help will be appreciated...

  • I AM INTERESTED IN THE 3 AXIS COMBO USB OPTION. NOTICE YOU ENDORSE PLANET-CNC FOR USE WITH THIS BUT WILL MACH3 INTERFACE WELL BEAK OUT BOARD?
  • Looking to buy a black toe 2x4, what electronics are included ? Is it optional with USB-interface? And for last do you ship to sweden?
  • WHAT EFFECTS OF CELL PHONES WILL THERE BE ON YOUNGER PEOPLE OPPOSED TO OLDER PEOPLE? THE AGE OR STATE DEVELOPMENT EFFECT DANGERS A PHONE?

    Physical size of the subject affects the fraction of the total radiofrequency energy that is absorbed in the body. To account for this known effect, the maximum permissible exposure standards for radiofrequency energy were set for the worst-case condition, that is assuming the body size for maximal absorption at a given frequency. Thus the maximum permissible exposure standards are fully protective for bodies of different sizes. For more detailed information, see the answers and the cited references to questions 79, 109, 694, and 893 under the Nonionizing Radiation section of the Health Physics Society Ask The Expert Web page. Gary H. Zeman, ScD, CHP

    Click the link to add information to this solution:
    WHAT EFFECTS OF CELL PHONES WILL THERE BE ON YOUNGER PEOPLE OPPOSED TO OLDER PEOPLE? THE AGE OR STATE DEVELOPMENT EFFECT DANGERS A PHONE?

  • WHAT SOFTWARE CAN BE USED WITH THE BLACKTOOTH LASER CUTTER?

    If you take the standard parallel cable BoB (Break Out Board), then you will need control software (Mach 3 or EMC2) and CAM software to make your G-Code (such as CamBam). Personally I use CamBam and Mach 3, they work beautifully but don't expect to turn them on and know how they work out of the box. Give yourself a few weeks to get familiar with the basics. CamBam is VERY powerful software for it's price. I'm surprised how much I keep learning on what I can do with it...I highly recommend it if you want as much control as possible.

    Mach 3 + CamBam as a bundle costs $310. EMC2 will give you a free replacement for Mach 3 and is exclusively for Linux.

    If you use the USB BoB, it will cost an extra $75 + $75 for the software. This is an all-in-one package so no need for Mach 3 or CamBam.

    For etching rasters (jpeg, bmp, tiff, non-vectors, photos), I highly recommend PicEngrave. It has been a labor of love for the past 9 years and John has done a wonderful job with it. It easily compares in quality compared to software that is in the $200-$300 range. John's software runs $40 and can be found here: http://picengrave.com/ (don't let the modest website fool you, this stuff can do amazing things). DotG and the Mach3 engrave plugin are two other options and instructions can be found on Dustans page in the gallery on buildyourcnc.com website.

    Additional Information:



    Additional Information:



    Additional Information:

    Click the link to add information to this solution:
    WHAT SOFTWARE CAN BE USED WITH THE BLACKTOOTH LASER CUTTER?

  • can I purchase just the parallel controller board? I purchased the usb option 4 axis combo and would like to also try the system with my parallel port computer. Any help with this will be greatly appreciated; my goal is to implement mach4.
  • What is the usb port for on the 5 Axis Breakout Board with Relay ($28.50)?

    The USB port located on the parallel 5 axis breakout board is for powering the board. There is no communications related to this port.

    Click the link to add information to this solution:
    What is the usb port for on the 5 Axis Breakout Board with Relay ($28.50)?

  • [801] Is this enough rating for a Nema 34 motor with max 6 amps? Also what about a 220V 2200Watt Spindle?

    For the NEMA 34 stepper motor with a maximum current of 6 amps, 18 AWG wire would technically be sufficient. According to the American Wire Gauge (AWG) standard, 18 AWG wire can handle up to around 10 amps of current in chassis wiring and around 16 amps in power transmission. If you are considering running a very long length of cable from the driver to the stepper motor, you may want to consider using 16 AWG.

    As for the spindle, this wire gauge is well-suited. There are three phase shifts, each at 120 degrees and each conductor is carrying only 1/3 of the power. At 220v, 2200 watts / 220 V = 10 amps. 1/3 of 10 amps is 3.333 amps, so each conductor will be have a load of 3.33 amps.

    Click the link to add information to this solution:
    [801] Is this enough rating for a Nema 34 motor with max 6 amps? Also what about a 220V 2200Watt Spindle?

  • HEY ! I HAVE PURCHASED A VFD WITH MATCHING SPINDLE 1.5KW AND CONTROL PROGRAM UCCNC. MY INTERFACE CARD IS DB25, THE QUESTION HOW DO CONNECT TO DB25 SO THAT CAN SPEED UCCNC? SINCERELY "CNC BEGINNERS"

    Identify the Control Signals: First, determine which control signals from the DB25 interface card are used for spindle speed control. Typically, these are PWM (Pulse Width Modulation) signals or analog voltage signals.

    VFD Configuration: Your VFD should be configured to accept the type of control signal your DB25 card provides. This involves setting parameters in the VFD that correspond to the type of input signal it will receive for speed control.

    Wiring: Connect the appropriate output pins from the DB25 card to the input terminals on the VFD. This usually involves connecting the PWM or analog output to the corresponding input on the VFD. Make sure to consult the manuals for both your VFD and interface card for specific wiring details.

    UCCNC Settings: Configure UCCNC to output the correct type of signal (PWM or analog) that matches your VFD's configuration. This is done through the software's spindle setup section.

    Test and Adjust: Run some tests to ensure that the spindle speed is being correctly controlled by UCCNC. You might need to tweak settings in either the VFD or UCCNC for optimal performance.

    Click the link to add information to this solution:
    HEY ! I HAVE PURCHASED A VFD WITH MATCHING SPINDLE 1.5KW AND CONTROL PROGRAM UCCNC. MY INTERFACE CARD IS DB25, THE QUESTION HOW DO CONNECT TO DB25 SO THAT CAN SPEED UCCNC? SINCERELY "CNC BEGINNERS"

  • Looking for electronics for a plasmacam table. It's going to to be a 5'x10' table with x,y,z axis. Will be running on windows ten with a hypertherm powermax45 xp plasma cutter. Any information or links would be greatly appreciated!

    What electronics do you have at the moment? Depending on your machine, you will need a minimum of 3 stepper motors and 3 drivers (unless your heavy axis requires two stepper motors and two drivers). You will also need an interface board that is capable of providing three inputs for the THC (Torch Height Controller), THC on, THC up and THC down, and outputs for firing the torch. I would recommend the Pokeys57CNC interface for the primary interface. This interface will connect to the stepper motor drivers and the THC. The Pokeys57CNC can also communicate via USB or Ethernet.

    Click the link to add information to this solution:
    Looking for electronics for a plasmacam table. It's going to to be a 5'x10' table with x,y,z axis. Will be running on windows ten with a hypertherm powermax45 xp plasma cutter. Any information or links would be greatly appreciated!

  • What are the bolt dimensions for the SBR20 linear rails, can they work with 8020 Aluminum extrusions?

    Our SBR20 rails use M8 bolts and are suitable for use with 8020 aluminum or any other common machine material. We suggest the use of our ball bearing pillow blocks with these rails, which you can find on our website here: https://buildyourcnc.com/item/mechanical-rails-linear-ball-bearing-block

    Additional Information:
    HOW TO FIND WIDH 38 HEIGHT 26 LINER GUIDE RAIL

    Click the link to add information to this solution:
    What are the bolt dimensions for the SBR20 linear rails, can they work with 8020 Aluminum extrusions?

  • [50] Is there a software control package that will work with Axis Electronics Combo (For Heavy Gantry) for apple os.

    Yes, with caveats. This kit includes a controller that will not be compatible, but if you use another type of controller that has web based control, you can use these electronics. Here is a list of web based control for CNC:

    - Easel: The web-based software from Inventables can be accessed through Safari or other macOS-compatible web browsers.

    - bCNC: A Python-based GRBL CNC command sender, although you may need to jump through some hoops to get it to run on macOS.

    - Universal Gcode Sender: A Java-based software that should run on macOS if you have the Java Runtime Environment installed.

    - CNCjs: Another web-based interface that you can run on macOS using Node.js.

    Click the link to add information to this solution:
    [50] Is there a software control package that will work with Axis Electronics Combo (For Heavy Gantry) for apple os.

Get Help with:
This Product
Orders
Tech Support
Sales
This Product
Order Query
Tech Support
Sales
Not logged in. Log In Register
Track Order(s)
View Order(s)
I Want to Schecule a One-On-One Paid Tech Support Session
Book an Appointment Pertaining to a BuildYourCNC Product (Free)
Ask a Quesion Below (Free):
Book an Appointment Pertaining Other Equipment ($60/half hour)
Book an Immedite Appointment Pertaining Other Equipment ($120/half hour)
Ask a Quesion Below (Free):
Waiting for response... I may not answer immediately, but I was notified on my cellular phone so my response is forthcoming. If I don't respond immediately, you can always go to the [My Account] page to see all of our chats at any time.