LaserQuote Studio

Browser-Local 2D CAD Geometry Inspector

DXF Cut Length & Perimeter Calculator

Drop 2D .dxf or .svg files to measure exact cut length, outer perimeter, pierces, and open-loop errors locally—free CSV export included.

Drop 1 or more 2D .dxf / .svg files here

Parsed 100% locally in browser RAM · Supports bulge arcs, NURBS splines, blocks & multi-file batch totals

Try Built-In CAD Samples

dxf

nema-motor-mount-120x120mm.dxf

Units: mm ($INSUNITS=4) · 6 vector entities

Outer (1)Inner (5)⊕ 6 Pierces
BBox: 120.00 mm × 120.00 mm
W: 120.00 mm
H: 120.00 mm
All 6 contours closed cleanly within 0.05 mm tolerance — ready for CAM kerf compensation.

Total Cut Path Length

6 contours

723.29 mm

28.476 in•0.723 m•2.373 ft

Outer Perimeter (1)

459.40 mm

Inner Holes / Slots (5)

263.89 mm

Total Pierces

6 pierces

Bounding Blank

120.0 × 120.0 mm

Next Step: Turn Cut Length Into Cycle Time or Client Quote

Per-Contour Path Length Breakdown (6 Paths)

Closed loops = 1 pierce each · Sorted outer-first

#Contour TypeStatusLength (mm)Length (in)ShareSpan (mm)
1outerClosed Loop459.40 mm18.087 in63.5%120.0 × 120.0
2innerClosed Loop157.08 mm6.184 in21.7%50.0 × 50.0
3innerClosed Loop26.70 mm1.051 in3.7%8.5 × 8.5
4innerClosed Loop26.70 mm1.051 in3.7%8.5 × 8.5
5innerClosed Loop26.70 mm1.051 in3.7%8.5 × 8.5
6innerClosed Loop26.70 mm1.051 in3.7%8.5 × 8.5

How a Browser-Local DXF Cut Length Calculator Measures Real CAD Paths

When preparing drawings for fiber laser, CO2 laser, waterjet, CNC plasma, or vinyl cutting, total vector path length is the primary geometric input behind cutting speed, consumable wear, and job pricing. Simple online scripts that only sum straight LINE entities routinely under-measure curved brackets by 10%–25% because they drop arcs, circles, or polyline fillets.

This DXF cut length calculator parses full 2D Autodesk DXF geometry directly in browser RAM without uploading proprietary client drawings to any remote server. It computes exact arc lengths for ARC and CIRCLE entities, evaluates AutoCAD group-code 42 bulge fillets on LWPOLYLINE / POLYLINE loops (using exact included-angle geometry θ = 4 × atan(|bulge|)), adaptively samples ELLIPSE and Cox–de Boor NURBS SPLINE curves, expands BLOCK / INSERT instances, and projects tilted OCS extrusion normals (210/220/230) cleanly into 2D WCS coordinates.

Outer Perimeter vs. Inner Cutouts, Pierces & Open Loop Checks

After extracting raw vector segments, the parser runs three shop-floor topology checks so your measured DXF perimeter matches what a CAM controller will actually cut:

  • Duplicate Segment Deduplication: Flattened 3D drawings often stack two identical lines on top of each other. Our engine removes overlapping identical paths so your cut length isn't artificially doubled.
  • 0.05 mm Endpoint Chaining & Open Loops: Adjacent segments whose endpoints meet within 0.05 mm are chained into closed contours. Any contour with an unclosed gap wider than 0.05 mm is highlighted in red on the blueprint so you can repair kerf loops before nesting.
  • Outer vs. Inner Nesting & Pierce Count: Using point-in-polygon nesting depth, every closed contour is classified as an Outer silhouette (cyan) or an Inner hole/slot (emerald). Each distinct contour requires 1 pierce start—making it easy to see whether interior holes dominate your total path length.

DXF $INSUNITS Codes & Cut Length Unit Reference

Every valid DXF header can store a numeric $INSUNITS code telling CAM software how many millimeters equal 1 drawing unit. Use this table if a customer sends a unitless file that looks scaled off by 25.4× or 10×:

DXF HeaderDrawing UnitMetric FactorTypical Source
$INSUNITS = 0Unitless (Unspecified)Manual Confirm RequiredCommon in legacy DXF / CorelDraw / Rhino exports; always confirm mm vs. inch.
$INSUNITS = 1Inches (in)× 25.4 mmStandard US imperial CAD export (SolidWorks, Fusion, AutoCAD Imperial).
$INSUNITS = 4Millimeters (mm)× 1.0 mmDefault metric sheet-metal & laser CAM standard worldwide.
$INSUNITS = 5Centimeters (cm)× 10.0 mmFrequently seen in signage, architectural, and Adobe Illustrator exports.
$INSUNITS = 6Meters (m)× 1,000.0 mmLarge structural plate, architectural facade, and plasma table drawings.

Related Laser Cutting & CAD Estimation Tools

DXF Cut Length & Perimeter FAQ

How do I measure the exact total cut length of a DXF file without AutoCAD?+

Drop your 2D .dxf or .svg file into this browser-local DXF cut length calculator. The parser evaluates every LINE, ARC, CIRCLE, LWPOLYLINE (including group-code 42 fillet bulges), ELLIPSE, SPLINE, and INSERT block directly in browser memory—zero uploads or CAD licenses required—and reports total cut path length in mm, inches, meters, and feet.

What is the difference between outer perimeter and total cut length in a DXF?+

Outer perimeter measures only the exterior silhouette of a sheet-metal or acrylic blank. Total cut length adds the outer perimeter plus every interior hole, slot, cutout, and open scribe path. On perforated brackets or slotted vent panels, interior cutouts often represent 60% to 80% of the total linear cut distance.

Why did my DXF cut length appear 25.4× too large or too small?+

Many CAD packages export DXF files with $INSUNITS set to 0 (unitless). If a part was drawn in inches (say 4.00 units wide) but read as millimeters, both bounding dimensions and perimeter will be off by 25.4×. Our DXF cut length calculator flags $INSUNITS=0 files automatically and gives 1-click Confirm mm / Confirm inch overrides.

Does the DXF perimeter calculator remove duplicate overlapping lines?+

Yes. Overlapping double lines—a common artifact from 3D-to-2D projection exports—can double your measured cut length and burn sheet edges twice on the laser bed. Our topology pass deduplicates identical overlapping segments and flags any unclosed contour gap wider than 0.05 mm.