September 4, 2026

Designing Custom PCB Outlines: Fixing DXF and SVG Import Failures

Designing Custom PCB Outlines: Fixing DXF and SVG Import Failures

A non-rectangular board almost always starts outside the PCB editor: a mechanical engineer hands over a DXF file, or a designer exports an SVG, and the shape needs to become the board's edge cuts layer.

The handoff breaks often: a vague error appears, the shape loads at the wrong scale, or nothing appears at all. An import DXF board outline error rarely means the file is corrupt; it usually means the file was built for CAD software, which tolerates geometry a PCB editor's import engine rejects. This guide covers the common failure modes and how to fix them.

Key Takeaways

Why You Get an Import DXF Board Outline Error

PCB editors reject non-rectangular outlines for specific, diagnosable reasons. Whatever the error message says, an import DXF board outline error usually reduces to one of five causes:

  • Open paths: Boolean operations in the CAD tool leave micro-gaps at a seam that trigger a "path not continuous" error.
  • SVG coordinate mismatches: pixel units instead of millimeters, or an origin offset the PCB editor doesn't account for.
  • Unsupported curve types: splines and complex arcs the PCB editor approximates poorly or rejects outright.
  • Unmapped layers: the DXF layer holding the outline was never assigned to Edge.Cuts or the board outline layer.
  • Unit scale errors: the CAD tool exported in inches while the editor expects millimeters, so the board comes in sized like a postage stamp.
An open path, a split arc, and a unit mismatch all break a board outline. Closing every path into one continuous line and confirming units before import keeps it clean.
An open path, a split arc, and a unit mismatch all break a board outline. Closing every path into one continuous line and confirming units before import keeps it clean.

Fixing "Path Not Continuous" DXF Errors

A "path not continuous" error means the outline has at least one endpoint that never connects to another segment, even if the contour looks closed on screen.

What typically creates the gap:

  • Boolean operations: a union or subtract leaves a sliver gap where two profiles meet.
  • Coincident, unmerged endpoints: two segments occupy the same point but are still separate entities.
  • Split arcs on export: some exporters break a single arc into disconnected fragments.

Closing Open Paths by CAD Tool

CAD Tool How to Close the Path
Fusion 360 Check the Sketch Palette for an "open profile" warning, then Trim/Extend.
SolidWorks Run Check Sketch for Feature Use before export.
FreeCAD Select all Sketcher elements and apply a coincident constraint.

PCB editors typically set a small tolerance for path closure, so gaps under that threshold snap shut and gaps beyond it fail. When a CAD tool keeps producing open contours, convert the outline to one closed polyline before exporting.

Fixing SVG Import Problems

SVG files fail on a different set of issues than DXF, mostly because SVG was built for screens rather than fabrication. A few export practices resolve the common SVG import problems:

  • Set units to millimeters before export. Most PCB editors expect SVG import at millimeter scale rather than the pixel-based default. Check your editor's import settings to confirm, since SVG itself defaults to pixels at 96 DPI. Importing at pixel resolution without adjusting for this produces a board sized nothing like the intended outline.
  • Flatten every transform and group. Nested groups and unresolved transform matrices shift coordinates the import engine can't reliably reverse.
  • Convert strokes to paths. PCB editors read filled shapes rather than stroke width, so a stroked outline imports as a zero-width line.
  • Export cleanly from Illustrator or Inkscape. In Illustrator, run Outline Stroke, then flatten transparency. In Inkscape, run Path \> Union and set document units to mm before exporting.

Importing Custom Outlines into Flux

Flux imports DXF and SVG files directly into the PCB editor's layout shape tool, and the same path-continuity rules apply. A DXF file for a Flux board outline can contain lines, splines, arcs, circles, and ellipses; polylines are excluded, and the geometry must form a single closed polygon. A file exported with polylines needs those exploded into simple lines and arcs first, the same step KiCad requires for its own DXF import.

Preview the imported shape before assigning the geometry to the board outline. Flux snaps closed geometry within its coordinate tolerance and flags shapes it can't resolve into a clean loop. Set the import origin to match the existing board coordinate system, or the new outline will land offset from components already placed on the board.

Building a Clean CAD-to-EDA Mechanical Handoff

Preventing an import error costs less time than fixing one after the mechanical engineer has moved to the next revision. A few agreements upfront remove most of the failure modes above:

  • Agree on format and units first. Confirm DXF or SVG, and millimeters or inches, before the drawing starts.
  • Use DXF format R14 or 2000. Newer format versions introduce compatibility issues older, stable formats avoid.
  • Deliver simple closed polylines instead of surface bodies. A 3D CAD export carries surface data a PCB editor can't parse; request a flat 2D profile instead.
  • Send only the outline, cutouts, and mounting holes. Dimension lines and construction geometry on the same layer often import along with the shape and need manual deletion.

This same outline becomes the board-outline layer in your final Gerber export. Correct geometry at the import stage prevents another cleanup pass before fabrication. See our guide to JLCPCB Gerber file requirements for what that layer needs to look like on the way out.

Bring the Next Outline in Clean

Custom board shapes only need one clean import to reach the board outline layer. Flux validates path closure and layer mapping when a DXF or SVG comes into the layout shape tool, and catches an import DXF board outline error before it costs a revision. Bring in your next custom outline using Flux's DXF and SVG import documentation.

FAQs

Profile avatar of the blog author

Gabriel Hacohen

Gabriel Hacohen is an electrical engineer with deep expertise in analog circuitry, medical devices, high-performance computing, and semiconductors. He holds both Bachelor's and Master's degrees in Electrical Engineering and has written for companies including NVIDIA, Cadence, Synopsys, Netflix, and Autodesk.

Go 10x faster from idea to PCB
Work with Flux like an AI hardware engineer—handling complex tasks, learning your standards, explaining its decisions, and collaborating with you at every step.
Illustration of sub-layout. Several groups of parts and traces hover above a layout.
Design PCBs with AI
Introducing a new way to work: Give Flux a job and it plans, explains, and executes workflows inside a full browser-based eCAD you can edit anytime.
Screenshot of the Flux app showing a PCB in 3D mode with collaborative cursors, a comment thread pinned on the canvas, and live pricing and availability for a part on the board.
Design PCBs with AI
Introducing a new way to work: Give Flux a job and it plans, explains, and executes workflows inside a full browser-based eCAD you can edit anytime.
Screenshot of the Flux app showing a PCB in 3D mode with collaborative cursors, a comment thread pinned on the canvas, and live pricing and availability for a part on the board.
Design PCBs with AI
Introducing a new way to work: Give Flux a job and it plans, explains, and executes workflows inside a full browser-based eCAD you can edit anytime.
Screenshot of the Flux app showing a PCB in 3D mode with collaborative cursors, a comment thread pinned on the canvas, and live pricing and availability for a part on the board.

Related Content

555 Timer Guide: Pinout, Operating Modes, and Circuit Examples

555 Timer Guide: Pinout, Operating Modes, and Circuit Examples

A complete 555 timer guide covering pinout, internal operation, monostable and astable modes, timing calculations, and practical circuit examples. It also explains component selection and PCB layout tips for reliable designs.

Profile avatar of Gabriel Hacohen
Gabriel Hacohen
|September 4, 2026
Capacitor Symbols Explained: Types, Polarity, and Schematic Use

Capacitor Symbols Explained: Types, Polarity, and Schematic Use

A visual guide to capacitor schematic symbols, polarity markings, and specialized capacitor types. It explains how to choose the correct symbol and footprint to prevent assembly and design errors.

Profile avatar of Gabriel Hacohen
Gabriel Hacohen
|September 4, 2026
How to Wire a Potentiometer: Pinout, Diagrams, and PCB Examples

How to Wire a Potentiometer: Pinout, Diagrams, and PCB Examples

A practical guide to potentiometer wiring, including pin identification, voltage-divider and rheostat configurations, Arduino examples, and PCB footprint considerations. It helps designers avoid common wiring and layout mistakes.

Profile avatar of Gabriel Hacohen
Gabriel Hacohen
|September 4, 2026
Inverting Op-Amp Circuits: Formula, Gain, and Design Examples

Inverting Op-Amp Circuits: Formula, Gain, and Design Examples

A practical guide to inverting op-amp circuits, covering how negative feedback creates inversion, how to calculate gain with Rin and Rf, and how real-world limits affect design. It also explains component selection and PCB layout practices for reliable amplifier performance.

Profile avatar of Gabriel Hacohen
Gabriel Hacohen
|September 4, 2026
Troubleshooting JLCPCB Gerber Upload and CAM Tool Compatibility Errors

Troubleshooting JLCPCB Gerber Upload and CAM Tool Compatibility Errors

A troubleshooting guide for common JLCPCB Gerber upload errors, including unreadable files, missing board outlines, drill-file issues, and Gerber X2 compatibility problems. It explains how to export and verify clean Gerbers before ordering.

Profile avatar of Gabriel Hacohen
Gabriel Hacohen
|September 4, 2026
PCB Enclosure Design: How to Design an Enclosure

PCB Enclosure Design: How to Design an Enclosure

A practical guide to designing PCB enclosures around board geometry, clearances, mounting, assembly, and 3D-printed prototyping. It also explains how Flux can generate prototype enclosures directly from a PCB project.

Profile avatar of Gabriel Hacohen
Gabriel Hacohen
|September 4, 2026
Electronic Component Sourcing: Lead Times & Component Lifecycles

Electronic Component Sourcing: Lead Times & Component Lifecycles

Strategies for sourcing electronic components, managing BOMs, navigating lead times, and planning for component lifecycles to build a resilient hardware supply chain.

Profile avatar of Gabriel Hacohen
Gabriel Hacohen
|August 28, 2026
Design for Manufacturing: How to Move from Prototype to Production

Design for Manufacturing: How to Move from Prototype to Production

A practical guide to Design for Manufacturing (DFM) that helps hardware teams transition from validated prototypes to scalable, production-ready products.

Profile avatar of Gabriel Hacohen
Gabriel Hacohen
|August 26, 2026