Onshape Sheet Metal Tutorial: Making a Bracket That Folds
This Onshape sheet metal tutorial walks through one small part from start to finish: a 2 mm steel L-bracket with two fixing holes, modelled so that Onshape can unfold it into a flat pattern and export a DXF for cutting. It is written for beginners who can already draw a basic sketch in Onshape and now want a part that can be cut from sheet and folded, not 3D printed. The short version is: sketch the base, turn it into a Sheet metal model, add a Flange, cut the holes, check the flat view, then export.
I use Onshape for hobby parts modelling, and my professional CAD work is in manufacturing and joinery, so this walkthrough spends as much time on why each setting exists as on where to click. The steps themselves are taken from Onshape’s current help pages, which are linked as they come up, not from a recorded session. If Onshape is completely new to you, read the Onshape beginners guide first, then build a plain block with the first 3D model walkthrough. Sketching and extruding are assumed here.
What you need before you start
Sheet metal is included in Onshape’s Free plan. On the day this was written, Onshape’s plans and pricing page ticked Sheet Metal for every plan, with the Free plan at £0. Two conditions come with that: the Free plan is for non-commercial use only, and every document you create is accessible to the public. If the bracket is for a paying job, or the design is private, the Free plan is the wrong one. The same page lists the Standard plan at £1,200 per user per year.
There is nothing to install. Onshape runs in the browser, which is covered in more detail in Is Onshape browser-based?
You also need three numbers, ideally from whoever will fold the part:
- the material and its thickness,
- the inside bend radius their tooling produces at that thickness,
- the K-factor (or bend allowance, or bend deduction) they use for that combination.
If you do not have a fabricator yet, you can still follow along with the example values below and change them later. The model will update.
The three settings that decide whether the bracket folds correctly
A sheet metal part is designed folded but cut flat. The software has to work out how long the flat blank must be so that, once bent, the folded part comes out at the size you drew. Three settings drive that calculation, and Onshape asks for all of them when you create the sheet metal model.
| Setting | What it means | Why it exists |
|---|---|---|
| Thickness | The thickness of the sheet. | The part is cut from one sheet, so Onshape takes a single thickness for the whole model. |
| Bend radius | The inside radius of each bend. | The radius is set by the press brake tooling, not by your preference, and it changes how much material each bend uses. |
| K Factor | The fraction of the material thickness at which the neutral axis lies in a bend. | The inside of a bend is compressed and the outside is stretched. Somewhere between is a line that keeps its length, and the flat pattern is calculated along it. |
Onshape’s Sheet Metal Model help page gives the default bend K Factor as 0.45. That is a starting value, not a property of your material. Fractory’s sheet metal bending guide describes the K-factor as an empirical constant that varies with the material, its thickness, the bend radius and the bending method.
The size of the effect is easy to work out. The length of material used up by a bend is the arc length along the neutral axis: the bend angle in radians multiplied by (inside radius + K × thickness). For a 90 degree bend in 2 mm sheet with a 2 mm inside radius and K at 0.45, that is 1.571 × (2 + 0.9), or about 4.56 mm. Change K to 0.33 and it becomes 1.571 × (2 + 0.66), or about 4.18 mm. That is a difference of roughly 0.4 mm per bend. On a one-bend bracket it may not matter. On a box with several bends that has to fit around something, it adds up.
For the bend radius, Fractory’s rule of thumb is to make the inside radius the same as the material thickness, which is what this example does: 2 mm sheet, 2 mm radius.
Onshape sheet metal tutorial: modelling the bracket
The bracket has a 60 mm × 40 mm base, one 40 mm flange folded up at 90 degrees along a 60 mm edge, and two 5 mm holes in the base.
Sketch the base
- Create a new document and open its Part Studio.
- Click Sketch in the Feature toolbar and select the Top plane.
- Choose Corner rectangle (shortcut g). Click once for the first corner, starting on the origin, then click again for the diagonal corner.
- Straight after the second click, type
60and press Enter, then40and press Enter. Onshape’s Corner Rectangle help page describes this as dimensioning the rectangle without using the Dimension tool. If you miss the moment, use Dimension (shortcut d) on one long side and one short side instead. - Click the checkmark to accept the sketch.
You now have a flat rectangle and no solid. Do not extrude it. The sheet metal tool will give it thickness.
Turn the sketch into a sheet metal model
- Click Sheet metal model on the Part Studio toolbar.
- The dialog opens with the operation set to Convert. Change it to Thicken. Convert is for wrapping sheet metal around an existing solid, and Extrude is for pulling a sketched profile sideways. Thicken is the simple choice for a flat base.
- Select the rectangle’s sketch region in the graphics area.
- Under General, set Thickness to 2 mm and Bend radius to 2 mm.
- Leave Bend calculation on K Factor and the default bend K Factor at 0.45, unless your fabricator has given you a different figure.
- Click the checkmark. A Sheet metal model feature appears in the Feature list.
From this point the part is an active sheet metal model. The help page explains what that means: features you add are treated as operations on a piece of sheet, and each one is reflected in the flat pattern as you go.
Add the flange
- Click Flange. It is one of the additional tools that become available while a sheet metal model is active.
- Select one of the 60 mm edges of the base.
- Set End type to Blind and enter 40 mm.
- Set the angle control to Bend angle and enter 90 degrees. If the flange previews pointing down, click the arrow to flip it.
- Leave Use model bend radius ticked so the flange uses the 2 mm radius from the model.
- Click the checkmark.
Two details on the Sheet Metal Flange help page are worth reading slowly. First, a Blind flange distance is measured from the point where the outer edges of the base and the flange would intersect, to the tip of the flange. So 40 mm is the outside height of the flange, not the length of its flat face. Second, Flange alignment offers Inner, Outer, Middle and Hold line, and the choice moves the flange wall relative to the edge you picked. That changes the overall outside size of the part. After adding the flange, check the outside dimensions with the Measure tool instead of assuming the base is still exactly 40 mm deep. If it is not what you need, edit the flange and try a different alignment.
Cut the fixing holes
- Start a new sketch and select the top face of the base as the sketch plane.
- Draw two circles, 5 mm in diameter, and dimension their centres 20 mm in from the free 60 mm edge and 15 mm in from each end.
- Accept the sketch, click Extrude, choose Remove, select the two circles and set the end type to Through all.
- Click the checkmark.
On an active sheet metal model, an opening made with Extrude and Remove always has sides perpendicular to the wall it pierces. That is what you want for a part cut from flat sheet.
Check the flat pattern before you export anything
Click Sheet metal table and flat view. Onshape’s help page for the table and flat view places the icon midway along the right side of the window. A panel opens showing the flat pattern and a table of bends and rips. This bracket should show one bend.
Click the bend’s row in the table and it highlights in both the flat pattern and the folded model. Double-click its radius to change it. Double-click the K Factor cell to enter a different value for that bend alone. If you enter something outside a sensible range, the cell turns red and a tooltip suggests valid values.
Look at the flat pattern as the person cutting it would:
- Is it one closed outline with two holes inside it?
- Is the bend line where you expect, parallel to the long edge?
- Are the holes well clear of the bend line?
According to the help pages, the folded view, the flat view and the table are updated together in real time. Edit the flange height or the thickness in the Feature list and the flat pattern follows.
Export the flat pattern as a DXF
- Right-click on the flat pattern and select Export DXF/DWG of flat pattern.
- Enter a file name.
- Choose DXF as the format, then a version. If your cutting service names a DXF version, use that.
- For scope, choose Single flat pattern part only. The other two scopes export every flat pattern from that sheet metal model, or every one in the Part Studio.
- Choose a download option.
- Review the export parameters. They include exporting splines as polylines, setting z-height to zero, and including or hiding bend centrelines and bend tangent lines.
- Click Export.
Whether to include the bend lines depends on who receives the file. Someone folding the part needs to know where the bend goes. Someone only cutting the blank may want nothing but the outline and holes. Ask before you send it. You do not need to make a drawing of the flat pattern first: the current help page documents this direct export from the flat view.
What goes wrong, and how to tell
The flange is too short to bend. A press brake folds the sheet over a V-shaped die, and the flange has to reach across it. Fractory’s bending chart, which it says applies to construction steel with a yield strength of around 400 MPa, gives a minimum flange length of 8.5 mm for 2 mm sheet with a 2 mm inside radius over a 12 mm die. The 40 mm flange here is well clear. A 6 mm lip on the same sheet would not be. Onshape will model it without complaint, so this is a check you make yourself.
Holes are too close to the bend. The same guide warns that holes near a bend can deform, and advises keeping them further from the bend than the minimum flange length. Check this in the flat view, where the bend line and the holes are visible together.
Extrude will not add material. While the sheet metal model is active only a subset of features is allowed. Extrude with Remove works; Add and Intersect do not. Use Flange or Tab to add material.
The flat pattern has stopped updating. This happens after Finish sheet metal model. That feature deactivates the sheet metal model so the part is treated as an ordinary solid, and later changes do not affect the flat pattern or the table. Onshape’s help page for it says the feature is unnecessary unless you plan post-fabrication operations, such as drilling through a face at an angle. For this bracket, leave it out.
A flange ignores a filleted corner. Onshape keeps the original edge when you fillet or chamfer a sheet metal corner, and a flange built on that edge follows the original, not the fillet. Add flanges first and soften corners last. Onshape recommends the same order for its Corner break tool, because once a corner break is applied the joint types can no longer be edited in the table.
The part comes back the wrong size. If the model was right and the folded part is not, suspect the K-factor and bend radius before anything else. They need to match the tooling that made the part, and the defaults are only defaults.
When sheet metal mode is the wrong tool
Use it for parts that will be cut from sheet and folded. A bracket that will be 3D printed gains nothing from a flat pattern, and a plain extruded solid is simpler. A flat plate with no bends can be an ordinary extrude as well, though starting it as sheet metal costs little and makes it easy to add a flange later.
The Free plan’s public documents are the other reason to pause. Anything you model there can be viewed by other Onshape users. If that is a problem, Onshape vs Fusion 360 for beginners compares the free options.
Next step
Change the thickness to 3 mm in the Sheet metal model feature and watch the flat pattern change, then put it back. Add a second flange on the opposite edge and see the table gain a second bend. Once the bracket behaves as you expect, go back to the Onshape beginners guide for the wider picture of what Onshape is and what the free plan includes, and send the three numbers from the top of this post to a fabricator before any metal is cut.
Sources
- Onshape Help: Sheet Metal Model
- Onshape Help: Sheet Metal Flange
- Onshape Help: Sheet Metal Table and Flat View
- Onshape Help: Finish Sheet Metal Model
- Onshape Help: Corner Rectangle
- Onshape Help: Dimension
- Onshape Help: Extrude
- Onshape: Plans and Pricing
- Onshape blog: Faster Sheet Metal Design in Onshape
- Fractory: Sheet Metal Bending, Design Tips and K Factor
