Guide · Video 5:44
How to design sheet metal parts for laser cutting, with AI and a DXF flat pattern
To design a sheet metal part for laser cutting, you need the bent part and its flat pattern: the unfolded outline as a DXF file at 1:1, with the bend lines kept apart from the lines to cut. In SOMA you set your material, thickness and bend radius once in the sheet metal skill, describe the part to SOMA AI in plain words, and it builds the bent part and writes the DXF and a drawing with a bend table. Check the flat size and the bend allowance with your laser cutting service before you order, because they depend on their machines and material.

What you need
- SOMA, free and open source, for Windows, macOS or Linux.
- A sign-in for SOMA AI: a ChatGPT Plus or Pro plan, or an API key from Anthropic (Claude), OpenAI, Google Gemini, OpenRouter or OpenCode. SOMA is free, the AI runs on your plan or key, and an API key is billed per use by the provider. The cheapest way to start is an OpenCode Go subscription for about $10 a month. The video uses GPT-6.1 Sol with a ChatGPT sign-in.
- Your material, sheet thickness and inner bend radius. Ask your laser cutting service which ones they offer; the video uses 2 mm steel (DC01) with a 2 mm inner bend radius.
- STEP files of the parts your sheet metal part has to fit, if you have them. The video uses a NEMA 17 stepper motor, a 100 mm piece of 2020 V-slot extrusion and a micro switch, all from the FreeCAD Parts Library.
Step by step
1Import the parts it has to fit
Start a new model and click Import at the top. Add the STEP files of the parts your bracket has to fit. In the video they are a NEMA 17 stepper motor and a 100 mm piece of 2020 V-slot extrusion.
The files go into the model's inputs folder, where SOMA AI can use them. Click one in Files and it shows up in the 3D view, here the motor with its 10 parts. Back to model returns to your model.

2Set the sheet metal skill to your material
Skills tell SOMA AI how your parts are made. Open Skills in the sidebar. Under Manufacturing there is Sheet metal, and also Laser cutting and Plasma cutting.
Click Sheet metal, set it to Always for this model and enter your values. The video uses steel (DC01), 2 mm thick, with a 2 mm inner bend radius and a K-factor of 0.4.
SOMA AI then follows the skill's rules: distances from holes to bends, bend reliefs, and the flat pattern with the right K-factor.

3Describe the part to SOMA AI
Click the SOMA AI tab and pick a model; the video uses GPT-6.1 Sol. Then say in plain words what the part has to do: which parts it holds, how it is fastened and what you want to change later.
If you ask it to, SOMA AI asks what is still open before it starts. In the video it asks two questions: where the motor should sit (beyond the end of the extrusion is recommended), and whether to start with 2 mm mild steel and 8 mm of belt-tension travel. Click your answers and send them.
In inputs/ are a NEMA 17 stepper motor and a 100 mm piece of 2020 V-slot extrusion. Design a bracket bent from sheet metal that holds the motor at one end of the extrusion, with the shaft pointing sideways, so a GT2 belt can run along the extrusion. A C-shaped channel: a plate against the side of the extrusion that carries the motor, with a flange bent back along its top and bottom edge. Make the motor holes slots, so I can tension the belt. Fix it to the extrusion with M5 screws and T-nuts, add the screws, and show the motor and the extrusion in place, the extrusion lying horizontally. I want to change the sheet thickness later. Ask me about anything that is unclear before you start.

4Check the bent bracket
SOMA AI measures the motor and the extrusion in the STEP files, picks the screws and builds the bracket. SOMA shows every step right away.
In the video it is a C-shaped channel: a plate that carries the motor, with a flange bent back along the top and the bottom. The motor sits in slots, so it can slide to tension the belt. Two M5 screws with washers and T-nuts hold it on the extrusion, and four M3 screws with washers hold the motor.
The structure tree lists the bracket and the screws, with the motor and the extrusion as references. Explode and Section above the 3D view change nothing: Explode pulls the bracket and its screws apart, and a section shows the two bends with their radius and the screws in the T-nuts.

5Ask for the flat pattern as a DXF
A laser cuts a flat sheet, so the service needs the part unfolded: the flat pattern. It comes as a DXF file, a common 2D drawing format that laser cutting services accept.
Ask for the outline and holes to cut, and for the bend lines on their own layer, so they are marked but not cut. SOMA AI unfolds the bracket; each bend adds a little length, worked out from the radius, the thickness and the K-factor.
Click the DXF in Files and SOMA opens it right there, at 1:1 in mm: the outline and holes to cut, and the bend lines on their own layer, which you can turn off and on under Layers.
Now the flat pattern for the laser cutting service: a DXF file with the outline and the holes to cut, and the bend lines on their own layer. Update it every time the model is built. Show the flat blank next to the bracket too. And make a drawing of the flat pattern with a bend table.

6Check the drawing with the bend table
Open Drawings in the sidebar. The drawing shows the flat blank with its size, a table with every bend (its position, angle, inner radius and bend allowance) and the coordinates of every hole and slot.
In the video the blank is 124 x 102.8 mm with two 90 degree bends. SOMA AI also notes to tell the service not to cut the BEND layer, and to confirm the bend allowance against their tooling. Send the drawing along with the DXF.

7Add a limit switch with Mark up
Import the STEP file of the extra part, here a micro switch from the FreeCAD Parts Library. Then click Mark up and draw where it goes: a circle where the tab should be, an arrow and a short note.
Click Send to agent and add one sentence. In the video SOMA AI bends up a tab from the top flange at the end of the bracket and mounts the switch on it with two M2 screws, washers and nuts, its lever facing the carriage. The flat pattern grows with it: the tab, a third bend line and a bend relief notch.
Add a tab here for a limit switch and mount the micro switch from inputs/ on it. The carriage runs along the extrusion toward the motor: the tab should stand out from the bracket toward it, with the switch lever facing the carriage, so the carriage presses it at the end of travel. Bent like the rest, and in the flat pattern too.

8Change the thickness and send the DXF
SOMA AI also made the main sizes adjustable. Open the Parameters tab: in the video it has the sheet thickness (1.5 to 3 mm), the belt tension travel and the return flange depth.
Change the sheet from 2 to 3 mm and SOMA rebuilds the bracket. The flat pattern gets the new bend allowance, and the DXF is updated with it. Open the DXF again to check it.
Then upload it to a laser cutting service, bend the flanges and bolt the motor on.
Tips
- Ask your laser cutting service for their materials, thicknesses and bend radii first, and enter those in the sheet metal skill. The flat pattern is only right for the values it was calculated with.
- Ask for the bend lines on their own layer, and tell the service not to cut it. Then the laser cuts only the outline and holes, and the bend lines still show where to bend.
- Ask for the DXF to be updated every time the model is built. Then a change in the Parameters tab or by SOMA AI never leaves you with an old flat pattern.
- Ask SOMA AI to ask about anything unclear before it starts. It collects its questions at once, and you click your answers.
- SOMA AI's work takes a while: in the video it is shown sped up. You can watch every step in the 3D view while it works.
- If you cut your own parts on a plasma table, there is a Plasma cutting skill as well.
Related guides
Transcript of the video
I need a bracket that holds a stepper motor on an aluminium extrusion. Bent from sheet metal, and cut by a laser service. Today I'll show you how to design it without any CAD knowledge. SOMA AI builds the bracket around the real motor and extrusion, and unfolds it into a DXF for the laser.
We use SOMA. It's free and open source, and you can download it at somacad.app. SOMA itself is free. For SOMA AI, you bring your own AI: a ChatGPT subscription or an API key.
I start a new model and import two STEP files: a NEMA 17 stepper motor and a 100 mm piece of 2020 V-slot extrusion. Both come from the FreeCAD parts library, under a Creative Commons license.
You can view the STEP files by clicking them in the file browser. They show up in the viewer.
The files sit in the inputs folder, where SOMA AI can use them.
Skills tell SOMA AI how your parts are made. There's one for sheet metal, and also for laser cutting and plasma cutting.
I set the sheet metal skill to my material: 2 mm steel, with a 2 mm inner bend radius. SOMA AI then follows its rules: distances from holes to bends, bend reliefs, and the flat pattern with the right K-factor.
Everything is prepared. Now we build the bracket with SOMA AI. I click its tab, and pick the model: GPT-6.1 Sol.
I describe what I need in plain words: the motor at the end of the extrusion, the shaft sideways for a belt, slots to tension the belt, and M5 screws with T-nuts.
Before it starts, SOMA AI asks what is still open. I click my answers and send them.
Then it measures the motor and the extrusion in the STEP files, picks the screws, and builds the bracket. SOMA shows every step right away. Here it is. The structure tree lists the bracket and the screws, with the motor and the extrusion as references. It's a C-shaped channel: a plate that carries the motor, with a flange bent back along the top and the bottom. The motor sits in slots, so it can slide to tension the belt.
From behind, you see how the motor is held: four screws with washers in the slots, and the shaft comes through for the pulley.
To look at the model, SOMA has viewing tools that change nothing. Explode pulls the bracket and its screws apart, so you see how they go together.
And a section cuts through the middle: the two bends with their radius, and the screws going into the T-nuts in the slot.
Now the file for the laser service. I ask for the flat pattern as a DXF, with the bend lines on their own layer, and a drawing with a bend table.
SOMA AI unfolds the bracket. Each bend adds a little length, worked out from the radius, the thickness and the K-factor.
Click the DXF, and SOMA opens it right here: the outline and holes to cut, and the bend lines on their own layer.
And the drawing: the flat blank with its size, and a table with every bend, its direction, angle and radius.
One more thing: a limit switch, so the carriage stops at the end. I import a real micro switch, also from the FreeCAD parts library.
With Mark up, I simply draw where I want it, and write what it is. A circle where the tab should go, an arrow, and a short note.
Send it to SOMA AI, and add one sentence. The switch lever should face the carriage, so the carriage presses it at the end of travel.
There's the tab, bent up from the top flange, with the micro switch screwed on and its lever facing the carriage. And the flat pattern grows with it.
SOMA AI also made the main sizes adjustable. In the Parameters tab, I change the sheet from 2 to 3 mm.
A moment later the bracket is thicker, and the flat pattern has the new bend allowance.
Open the DXF again, and it's up to date. Ready to send off.
Upload it to a laser cutting service, bend the flanges, and bolt the motor on. And if you cut your own parts on a plasma table, there's a skill for that too.
From two STEP files to a flat pattern for the laser, without drawing a single line. Get SOMA for free at somacad.app.
NEMA 17 stepper motor and V-slot 20x20 extrusion STEP models by Charles Fox, FreeCAD Parts Library (https://github.com/FreeCAD/FreeCAD-library), licensed under CC BY 3.0 (https://creativecommons.org/licenses/by/3.0/). The extrusion file was changed: FreeCAD's construction geometry and duplicate bodies removed, the shape is unchanged. The V-slot profile is an OpenBuilds design. Micro switch ESS05 STEP model by Almisuifre, FreeCAD Parts Library, CC BY 3.0, unchanged. Voice: Kyutai Pocket TTS. Music: "Inspirational Technology" by AtlasAudio (Pixabay). Sounds: Kenney Interface Sounds (CC0).
Questions
What file does a laser cutting service need?
Most laser cutting services want a 2D DXF file of the flat part at a scale of 1:1, in millimeters, with only the lines to cut. For a part that will be bent, that is the flat pattern, and the bend lines should be on their own layer or marked so they are not cut. They also need the material, the thickness and, for bending, the bend angles and radii.
What is a flat pattern in sheet metal?
The flat pattern is the bent part unfolded into the flat sheet it is cut from. It is slightly different from simply adding up the outside dimensions, because the metal stretches and compresses in each bend. The difference is the bend allowance, calculated from the bend radius, the thickness and the K-factor.
What is the K-factor?
The K-factor tells where in the sheet's thickness the material neither stretches nor compresses when it is bent, as a fraction of the thickness. It is used to calculate how long the flat part must be. It depends on the material and the bending process, so use the value your bending service gives you; the video uses 0.4 for 2 mm steel.
Can I design sheet metal parts without CAD skills?
Yes. In SOMA you describe the part in plain words and SOMA AI, its built-in agent, builds the bent part, the flat pattern as a DXF and a drawing with a bend table. You set the material, thickness and bend radius once, and change sizes later in the Parameters tab. Check the flat size and the bends with your service before ordering.
What happens to the flat pattern when I change the sheet thickness?
A different thickness changes the bend allowance, so the flat pattern changes too. In SOMA, SOMA AI can keep the DXF up to date on every build, so after you change the thickness in the Parameters tab, the flat pattern and the DXF follow.
Try it
SOMA is free and open source, and SOMA AI is built in: describe what you need, no CAD or coding skills needed.