Home · Guide · FAQ · About · Privacy · Disclaimer

How to use LatheDXF

Last updated: August 2026 · Open the converter

LatheDXF converts a 2D profile DXF into G-code for a single-tool wood lathe with Mach3-style output. This guide walks through DXF preparation, parameter choice, preview, and running the program on your machine.

1. Prepare your DXF profile

Draw the cross-section of your turned part as a 2D profile:

  • Use LINE, ARC, LWPOLYLINE, or connected entities.
  • The profile should represent radius vs length (tool moves in X radius and Z length).
  • Close open contours where possible; the toolpath follows the profile geometry.
  • Default mapping: DXF X → Z (length), DXF Y → radius. Use the axis selector if your drawing differs.
  • Work in millimetres for predictable feed and step values.

On first visit, a sample profile (4KULP.dxf) loads so you can explore the tool before uploading your own file.

2. Upload and check the profile

  1. Open lathedxf.com.
  2. Drag your .dxf file onto the upload area or click browse.
  3. Set view to DXF profile — the green outline should match your drawing.
  4. Use zoom (mouse wheel) and drag to inspect curves and corners.

3. Set machining parameters

  • Stock radius — raw blank radius; must be larger than the profile plus finish allowance.
  • Step down — depth per roughing pass (typical 1–3 mm for wood).
  • Finish allowance — material left for the final profile pass (e.g. 0.5 mm).
  • Arc segment length — how curves are split in the DXF; smaller = smoother arcs.
  • Rough F / Finish F — feed rates in mm/min for G1 moves.
  • G-code X — Mach3 post as radius or diameter (match your controller setup).

4. Generate G-code

  1. Click Generate G-code.
  2. Switch view to Toolpath — white/green lines show roughing and finish.
  3. Red lines are G0 rapid moves; keep hands clear when testing on the machine.
  4. Use Play to animate the cut; pause/resume to inspect sequence.
  5. Edit G-code in the panel if needed, then Update preview.
  6. Click Download (.nc) and save the file.

5. Mach3 setup tips

  • Confirm G90 (absolute) and units (G21 mm or G20 inch) in the program header.
  • Check whether your Mach3 config expects X as radius or diameter — match the setting in LatheDXF.
  • Run Verify or air cut at reduced feed before the first real pass.
  • Set a safe Z zero and X reference on the machine before running.
  • Start with lower spindle speed and feed; increase after a successful test cut.

6. Safety checklist

  • Read the full disclaimer before cutting.
  • Never run unverified G-code unattended.
  • Confirm clearance on internal valleys and retract moves.
  • Wear eye protection and follow your machine manual.

Questions? FAQ · safatezemir@gmail.com

Türkçe — Kullanım kılavuzu

1. DXF profili hazırlayın

Parçanın kesit profilini 2D DXF olarak çizin. LINE, ARC ve POLYLINE kullanılabilir. Varsayılan: DXF X → torna Z, DXF Y → yarıçap.

2. Yükleyin ve kontrol edin

  1. lathedxf.com adresini açın.
  2. DXF dosyasını sürükleyip bırakın.
  3. DXF profili görünümünde yeşil çizgiyi kontrol edin.

3. Parametreler

  • Stok yarıçapı — ham parça yarıçapı
  • Paso — kaba talaş derinliği
  • Son paso payı — finiş öncesi bırakılan pay
  • G-code X — yarıçap veya çap (Mach3 ayarınıza uygun)

4. G-code oluşturun

  1. G-code oluştur butonuna basın.
  2. Takım yolu görünümünde kaba/finiş yollarını inceleyin.
  3. Oynat ile animasyonu izleyin.
  4. İndir (.nc) ile dosyayı kaydedin.

5. Mach3

X değerinin yarıçap mı çap mı olduğunu Mach3 ile eşleştirin. İlk kesimde düşük F ve simülasyon/kuru koşu yapın. Ayrıntılı güvenlik için sorumluluk reddi metnini okuyun.

← Open converter