A SolidWorks fab shop posted a sheet metal failure on Reddit last month. Their part had two L-flanges meeting at a corner with a small fold-back tab on one of them. The Sheet Metal feature kept throwing “Failed to compute flat pattern”, and after an afternoon of fighting it, they exported the DXF anyway, opened it in AutoCAD, and finished the cut profile by hand. Twenty-eight upvotes on a comment showing a five-step rebuild that worked for someone else but not them.
The frustrating thing is that none of the five patterns below are exotic. They show up in real bracketry, enclosures, and weldment skins. They fail not because the geometry is impossible, but because SolidWorks sheet metal makes assumptions about thickness uniformity, bend axis orientation, and feature order that quietly break the moment you push past a clean L-bend.
Here are the five that cost teams the most time, what actually breaks under the hood, and the redesign that makes each one model and flatten cleanly.
1. Flanges that fold back over themselves
You have a base flange with an edge flange running up at 90°. From that edge flange you want another flange that folds back over the base — a “Z” or hemmed return. Edge Flange refuses, or it accepts the operation but Flat Pattern fails with a vague “geometry intersects” message.
What’s happening: the second flange’s swept body intersects the first flange’s body when SolidWorks tries to merge the bend region. The Sheet Metal feature stores a single body with uniform thickness, and when two flange volumes overlap, the boolean union fails before the bend region geometry even gets generated.
Redesign that works:
- Split the fold-back into two sketched bend operations on a single tall flange, instead of one edge flange with a return. You sketch the bend lines on the flange face, run Insert → Sheet Metal → Sketched Bend twice (one for the up-bend, one for the back-bend), and SolidWorks treats both as bends in the same body — no merge collision.
- If you actually need a hem, use Insert → Sheet Metal → Hem on the top edge. Hems are a separate feature type with their own bend allowance handling and they explicitly support the fold-back case.
The give-away that you’ve got this problem is when Edit Flange Profile shows a clean sketch but Flat Pattern still fails. We covered the broader pattern of fixing flat patterns in the SolidWorks DXF flat pattern dimensions and K-factor walkthrough — the fold-back failure is a sibling problem in the same area.
2. Miter flanges with non-coplanar adjacent faces
Miter Flange wants a chain of edges that all share the same plane offset from the base. The moment one edge is on a face that’s tilted — even by a degree — the miter command silently drops it from the chain or fails outright.
The reason is buried in how Miter Flange works internally. The feature sweeps the user-defined profile sketch along the selected edges, then trims the swept body where adjacent profiles meet. For the trim to produce a continuous bend region, every segment’s bend axis has to be parallel to the same reference plane. SolidWorks computes this from the first edge you click and rejects any subsequent edge whose plane normal isn’t coplanar within a small tolerance.
Redesign that works:
- Use individual Edge Flange features instead of one Miter Flange when adjacent faces aren’t coplanar. You lose the automatic miter cut at the corners, but you can add Closed Corner (Insert → Sheet Metal → Closed Corner) afterward to clean up the seams. Closed Corner accepts non-coplanar faces because it operates on the corner of two already-existing flange bodies, not on a continuous edge chain.
- If the adjacent faces are close to coplanar but not exact (think weldment skins where the frame has a 1° draft), flatten the geometry with a Move Face on the parent body before running Miter Flange. This eliminates the source of the failure rather than working around it.
3. Non-orthogonal bend lines on rectangular flat patterns
This one bites people who got into sheet metal through the Convert to Sheet Metal route. They draw a flat sketch, extrude it as a thin boss, run Convert to Sheet Metal, and then try to add a Sketched Bend at an angle that isn’t 90° to the part’s edges. The bend works, but Flat Pattern produces a distorted or stretched flat — sometimes off by 5-10% in length.
The root cause is the K-factor calculation. SolidWorks treats the bend axis as a straight line and computes the developed length using a single K-factor across the entire bend. When the bend axis isn’t orthogonal to the rectangular flat, the bend region is a parallelogram, not a rectangle, and the inside/outside arc lengths differ along the bend. The single-K approximation accumulates error.
Redesign that works:
- For angled bends, use a bend allowance table (.btl file) rather than a single K-factor. Right-click the Sheet-Metal feature in the tree, choose Edit Sheet-Metal Defaults, and switch from K-Factor to Bend Allowance with a table populated for your material/thickness combinations. The table-based path uses a different developed-length algorithm that integrates along the actual bend region.
- If the angled bend is close to orthogonal (within 5°), redesign so it’s exactly orthogonal and add a trim cut afterward to get the angled edge. The cut is on the flat pattern, so it doesn’t suffer from K-factor distortion.
The bend allowance vs K-factor question is its own rabbit hole — see how SolidWorks creates flat patterns for the underlying algorithm.
4. Patterned bodies with sheet metal features
You have a base flange. You add a circular pattern of edge flanges around a central axis to create something like a flanged hub or a vented cover. The first edge flange computes fine, but the pattern fails — or it succeeds and then Flat Pattern hangs for thirty seconds and produces a flat with overlapping geometry.
What’s happening: every instance of the pattern adds a separate bend region to the Flat-Pattern feature, and the flatten algorithm has to resolve all bends simultaneously to keep the body’s thickness uniform. With N pattern instances, the bend resolver runs N times, and on circular patterns the bends share an axis — the resolver tries to flatten them as a single continuous bend, which is geometrically impossible because they’re at different angular positions.
Redesign that works:
- Pattern at the flat pattern level, not the 3D level. Create one edge flange with the bend you want, then add the pattern as a cut on the flat pattern (Insert → Pattern → Linear Pattern, with the flat pattern feature unsuppressed and the source being a sketch on the flat face). The pattern multiplies geometry on the flat, not bend regions in the 3D body.
- For non-flat-pattern-able patterns (e.g., pattern of bent tabs around a cylindrical hub), accept that this isn’t a single flat-pattern part. Model it as a multibody part with each tab as its own body, and export each body as a separate DXF. CadShift’s multibody DXF export handles the per-body flattening and orientation; otherwise you end up running Save As DXF on each body manually.
5. Thin parts that aren’t really sheet metal
This is the failure mode that comes from Convert to Sheet Metal habits. Someone gets a flat-cut part — a gear, a plate with through-features, a gusset — and runs Convert to Sheet Metal because they want a DXF. Convert succeeds. Flatten succeeds. The DXF export looks right. Then they add a sketched bend or an edge flange and the whole stack falls apart with a thickness-uniformity error.
The detail people miss: Convert to Sheet Metal doesn’t validate that the body has the geometric properties of a real sheet metal part. It just measures the shortest dimension, calls that thickness, and adds the Sheet-Metal and Flat-Pattern features. If the body has any feature with a wall thinner than that “thickness” — a chamfer, a counterbore, a hole with a fillet — every subsequent sheet metal operation will run a thickness check and fail.
The decompiled tell: in SolidWorks.Interop.sldworks, the IFlatPattern::FixedFace property returns the face that was selected as the fixed reference, and IFlatPattern::Status returns one of the values from swFlatPatternStatus_e. The status code swFlatPatternStatusVariableThickness is what you get when the body has any feature thinner than the declared sheet metal thickness — that’s the underlying error behind most “sheet metal feature failed” messages on converted bodies.
Redesign that works:
- For flat parts that are never going to bend, don’t Convert to Sheet Metal. Stay as a solid body and export the DXF directly with File → Save As → DXF/DWG on the flat face. We covered why Convert to Sheet Metal on flat parts is the wrong default in when not to use sheet metal features in SolidWorks.
- For flat-with-bends parts that fail Convert to Sheet Metal because of pre-existing fillets/chamfers, rebuild the part using Base Flange + Sketched Bend from a 2D sketch instead of converting an existing solid. The Base Flange path enforces uniform thickness from the first feature, so subsequent operations don’t have a hidden thickness-violation source to trip over.
What this means for your DXF pipeline
Every one of these failures ends with the same downstream symptom: someone exports a DXF that’s wrong, a fabricator catches it, and the part rebuilds. The patterns above are the ones we see CadShift users hit most often when they batch-export drawings — they’re also the ones that turn a clean automated DXF run into a manual fix-up session.
CadShift’s batch DXF export operates on the SolidWorks flat pattern data through IPartDoc::ExportToDWG2 (SolidWorks.Interop.sldworks exposes the call signature with bend-line, bounding-box, and fixed-face arguments), which means whatever the flat pattern computes is what you get. There’s no hidden post-processing that fixes a broken flatten — if Sheet Metal can’t model the part, no export tool can recover it. The redesigns above keep the source clean so the export downstream stays clean.
Where to look when something fails
When a sheet metal feature fails, the SolidWorks error dialog is rarely useful. The two places that actually tell you what broke:
- Tools → Evaluate → Sheet Metal Verification — runs a dedicated checker that lists every feature with a thickness, bend-radius, or geometry warning. It’s slow, but it gives you the specific feature ID that failed.
- API status codes — if you’re scripting through the API,
IFlatPattern::StatusandIBend::Statusgive you machine-readable error codes that map to specific failure modes (variable thickness, intersecting flanges, invalid bend axis). The constants are inswconst.dllunder theswFlatPatternStatus_eandswBendStatus_eenums.
Both beat staring at “Failed to compute flat pattern” and guessing.
Summary
The five patterns: flange-on-flange returns, miter flanges across non-coplanar faces, angled bend lines on patterned flats, sheet metal features inside circular/linear patterns, and Convert to Sheet Metal on parts that aren’t truly sheet metal. Each fails because it violates an assumption baked into the feature stack — usually thickness uniformity or single-axis bend resolution — and each has a redesign that keeps the part flatten-able without giving up the geometry you need.
If you’re spending more than ten minutes fighting one of these, the redesign is faster than the fight.