A fabricator sends you a DXF. It has the cut profile, the bend lines on a separate layer, and a note that says “10 ga A36, K=0.42”. You need to recreate it as a SolidWorks sheet metal part so you can validate fit, run interference checks against the assembly, and re-export a DXF that matches your shop’s layer conventions.

There are two ways to get from that DXF to a working sheet metal body in SolidWorks. The discoverable path through the UI — Boss Extrude (Thin) → Convert to Sheet Metal → Sketched Bend — is what most users land on because every command is on a top-level toolbar. The cleaner path — Base Flange from sketch → Sketched Bend along bend lines — exists but it’s hidden behind a Sheet Metal toolbar that nobody opens until they’ve already started the wrong way.

A 2026 r/SolidWorks thread (post 1s3lx2e) had seven comments converging on the same conclusion: Base Flange + Sketched Bend is the right answer, and the only reason it isn’t obvious is the UI. This post explains why the two paths produce different feature trees, why the wrong default costs you on the next revision, and the exact sequence to use Base Flange when you already have a DXF in front of you.

What’s actually in the DXF

Before you import anything, look at the layers. A clean DXF from a fab vendor has three things you care about:

  1. Outline geometry — closed polylines or splines representing the part’s flat profile.
  2. Bend lines — line entities on a layer named something like BEND, BENDS, BEND-UP, BEND-DN, or per-fold-direction layers.
  3. Bend metadata — sometimes encoded in MTEXT next to each bend line, sometimes in the DXF block name, sometimes nowhere.

SolidWorks doesn’t natively read the bend metadata layer. The DXF/DWG import wizard maps geometry to a sketch, and that’s it — bend angles, K-factors, and direction don’t survive the import. You’re going to set those manually no matter which path you take. We covered the broader story of what fabricators actually need from your DXF files — the asymmetry between what gets put into the DXF and what tools can read out is exactly the gap this post closes.

If the bend lines are on the same layer as the outline, separate them before import. The DXF wizard can put each layer on its own sketch, but it can’t disambiguate entities on a shared layer. File → Open → set “Files of type” to DXF/DWG → next → “Import to a new part as 2D sketch” → assign each layer to its own sketch.

The Boss Extrude + Convert path (and why it costs you)

This is the path most users take because every step is in the main UI:

  1. Import the DXF as 2D sketches.
  2. Use the outline sketch to create a thin Boss Extrude with thickness equal to the gauge (10 ga ≈ 0.135").
  3. Run Insert → Sheet Metal → Convert to Sheet Metal, pick a face as the fixed reference, set the K-factor.
  4. Add Sketched Bend features for each bend line sketch.

The feature tree ends up looking like:

Sketch1 (outline)
Sketch2 (bend lines)
Boss-Extrude1 (thin, 0.135" thick)
Sheet-Metal1
  - K-Factor: 0.42
  - Default radius: 0.045"
  - Fixed face: <Face>
Convert-Solid1
Sketched-Bend1 (BendLineSketch1, 90°)
Sketched-Bend2 (BendLineSketch2, 90°)
Flat-Pattern1

Three things go wrong on the next revision:

1. Sheet-Metal1 sits between the Boss Extrude and the Sketched Bends. If the fabricator changes the gauge, you can’t just edit the Boss Extrude thickness — you also have to edit Sheet-Metal1’s bend defaults. Editing one without the other gives you a part where the body thickness disagrees with the sheet metal thickness, and Flat Pattern silently keeps using the old value. Every Sketched Bend after that point inherits the stale K-factor.

2. Convert-Solid1 is dead weight. The feature does nothing once Sheet-Metal1 exists — it’s a leftover from the conversion handshake. Editing the Boss Extrude after Convert-Solid1 is in the tree triggers a rebuild path that recomputes the conversion, which is slow on parts with many subsequent bends.

3. The fixed face reference is fragile. Convert to Sheet Metal stores the fixed face by ID. If you rebuild the Boss Extrude in a way that changes face IDs (cut a hole through that face, edit the sketch profile), the fixed face reference breaks and Flat Pattern fails until you re-pick it.

The Base Flange + Sketched Bend path

This path uses the Sheet Metal toolbar from the first feature:

  1. Import the DXF as 2D sketches.
  2. Select the outline sketch, click Insert → Sheet Metal → Base Flange/Tab (or the Base Flange icon on the Sheet Metal toolbar).
  3. In the Base Flange property manager, set thickness, default bend radius, and K-factor.
  4. Add Sketched Bend features for each bend line sketch.

The feature tree:

Sketch1 (outline)
Sketch2 (bend lines)
Base-Flange1
  - Thickness: 0.135"
  - K-Factor: 0.42
  - Default radius: 0.045"
Sketched-Bend1 (BendLineSketch1, 90°)
Sketched-Bend2 (BendLineSketch2, 90°)
Flat-Pattern1

Two features instead of three (Base Flange replaces both Boss Extrude and Sheet Metal). The thickness, K-factor, and default radius all live on Base Flange1 — there’s a single source of truth, and editing one of them propagates correctly. The fixed face is implicit (it’s the back face of the base flange), so it doesn’t break when you edit the outline sketch.

The bend allowance/K-factor question is its own beast — see the deep dive on why your DXF flat pattern dimensions don’t match the folded part for what K-factor really controls and how to back into it from a known bend allowance.

Step-by-step: from DXF to flat pattern

Here’s the exact sequence, assuming a DXF with outline on layer 0 and bend lines on layer BEND:

1. Open the DXF.

File → Open → set type to DXF/DWG → select file

In the import wizard:

  • “Import to a new part as: 2D sketch” — checked.
  • “Add constraints: Merge points, Geometric Relations” — checked.
  • Layer mapping: assign 0 to Sketch1, BEND to Sketch2.

2. Create the Base Flange.

  • Click Sheet Metal toolbar → Base Flange/Tab.
  • Select Sketch1 (the outline) as the profile.
  • In the property manager:
    • Sheet Metal Parameters: thickness 0.135", radius 0.045".
    • Bend Allowance: choose K-Factor, enter 0.42.
    • Auto Relief: tear (or rectangular if you have stamping constraints).
  • Click the green check.

3. Add Sketched Bends.

For each bend line sketch:

  • Click Sheet Metal toolbar → Sketched Bend.
  • Select the bend line(s) in Sketch2.
  • Pick the fixed side (the side that doesn’t move when the bend forms).
  • Set the bend angle (90° from a flat is the default).
  • Click the green check.

4. Verify the flat pattern.

  • In the feature tree, right-click Flat-Pattern1 → Unsuppress.
  • The flat should match the original DXF outline exactly. If the perimeter is off by more than a few thousandths, the K-factor is wrong — re-edit Base-Flange1 and adjust.

5. Re-export the DXF.

  • Right-click the flat face → Export to DXF/DWG.
  • In the export dialog, choose entities to export: bend lines, bounding box, hidden lines as needed by your fab shop.
  • The DXF entity export settings carry their own gotchas — we covered them in SolidWorks DXF entity export settings.

When Boss Extrude + Convert is still the right answer

Three cases where Convert to Sheet Metal beats Base Flange:

1. The starting body is a 3D solid, not a flat sketch. If a colleague hands you a STEP file of a bent part — not a DXF, an actual 3D body that someone modeled as a regular extrude/cut sequence — then Base Flange isn’t an option because there’s no clean flat sketch to drive it from. Convert to Sheet Metal works on the existing solid and builds the bend region from the body’s geometry. We covered the related pitfall — STEP imports breaking DXF export — in why your STEP-imported models break DXF export.

2. The part is flat-only with no bends. A laser-cut plate, a gasket profile, a gear blank. You don’t actually want a sheet metal part — you want a thin solid you can DXF-export. Boss Extrude is the right feature; skipping Convert to Sheet Metal entirely is even better. The post on when not to use sheet metal features walks through why this matters for rebuild time.

3. The part has variable thickness. Sheet metal modelling assumes a single thickness everywhere. If your part has a thicker reinforcing pad welded to a thinner skin, Base Flange can’t represent that — but Boss Extrude + Convert with a multi-body workflow can.

The decompiled detail

If you’re scripting DXF-to-sheet-metal automation, the API path matters. SolidWorks.Interop.sldworks.IFeatureManager exposes both routes:

  • InsertSheetMetalBaseFlange2 creates a Base Flange directly from a sketch. It takes thickness, K-factor, bend radius, and an auto-relief type. The returned IFeature is a BaseFlange feature (swFeatureNameID_e.swFmBaseFlange).
  • InsertConvertToSheetMetal runs Convert to Sheet Metal on an existing body. It takes a fixed face, thickness, K-factor, and bend radius. The returned IFeature is a Convert-Solid feature (swFeatureNameID_e.swFmConvertToSheetMetal).

Decompiling SolidWorks.Interop.sldworks.dll shows that InsertSheetMetalBaseFlange2 produces a single feature that owns the sheet-metal definition, while InsertConvertToSheetMetal always produces two features — the convert feature plus an implicit Sheet-Metal feature that gets inserted above the body in the tree. Same end result for a clean part; an extra feature to maintain on revision. The API signatures are documented in the SolidWorks API help (sldworksapi.chm), but the “this produces two features” detail isn’t called out — you only see it when you decompile or when you watch the feature tree change.

If you’ve used the SolidWorks API enough to know it, the in-process vs standalone SolidWorks API decision shapes whether you script this through an add-in or a standalone EXE — the call signatures are the same, but error handling differs.

Common failure modes

Imported sketch has open contours. The DXF was exported with line entities instead of polylines, or the polyline didn’t close cleanly. Base Flange refuses an open profile. Fix it by selecting all entities in the imported sketch, running Tools → Sketch Tools → Repair Sketch, and looking at the dangling endpoints it reports.

Bend lines don’t span the full width. If a bend line in the DXF is shorter than the flange it’s supposed to bend, Sketched Bend will fail with “bend line does not extend across the part”. Extend the line by editing the bend sketch — it doesn’t matter that it goes past the part edge, SolidWorks trims it automatically.

Fixed side flips. When you click the fixed-side arrow in the Sketched Bend property manager, the preview can flip the wrong way the first click. Click again to flip it back. The “fixed side” is the side that does NOT move when the bend forms — get this wrong and your part bends in the wrong direction relative to the DXF’s bend metadata.

K-factor doesn’t match the fab shop’s convention. Most North American shops use K=0.4 to 0.5 for steel; European shops sometimes specify bend allowance directly. If you have a known bend allowance instead of a K-factor, switch the Bend Allowance type from K-Factor to Bend Allowance in the Base Flange property manager and enter the value directly. We covered the ratio between these in the K-factor walkthrough.

Why this matters for batch work

If you’re DXF-importing one part, either path gets you to a working flat. If you’re rebuilding a library of fab parts from a vendor’s DXF archive — converting the supplier’s flat patterns into proper SolidWorks sheet metal bodies so your team can edit them — the difference between two features per part and three features per part shows up in:

  • Rebuild time across the assembly (Convert-Solid features rebuild on every parent change).
  • Mass property accuracy (Boss Extrude with a separate Sheet-Metal feature can drift in thickness if anyone edits the extrude without re-syncing).
  • Re-export consistency. CadShift’s batch DXF export reads from the Flat-Pattern feature; the cleaner the source tree, the more predictable the output. The IPartDoc::ExportToDWG2 call is unchanged either way, but the feature stack you’re exporting from determines whether the output is repeatable.

For a one-off, take whichever path you got to first. For a workflow you’ll run a hundred times, take the path that produces fewer features.

Summary

Base Flange + Sketched Bend is the right default when you start from a DXF with bend lines. It produces a cleaner feature tree, makes thickness/K-factor edits propagate correctly, and avoids the fragile fixed-face reference that Convert to Sheet Metal carries. Boss Extrude + Convert still has its place — for 3D solids that came from outside SolidWorks, for variable-thickness parts, and for flat-only parts where you don’t actually want sheet metal at all.

The Sheet Metal toolbar is the one to keep open. The discoverable UI path through Boss Extrude is the wrong default for this specific job, and noticing that early saves a feature on every part you rebuild from a DXF.