A printable enclosure
A 120 × 80 × 40 enclosure with 2.5 walls, four drilled screw bosses, a connector opening and a lid with ventilation slots, countersunk for flush M3 countersunk screws. Everything is done with Solids, Join and Subtract, then an STL export.
Intermediate level · about 20 minutes · all sizes in millimetres
Before you start
- This tutorial assumes the basics (Line, Rectangle, Extrude, groups): watch a beginner tutorial first if needed.
- Solids (key K) place parts already grouped: the Box accepts length;width;height in one go, the Cylinder radius;height.
- Join and Subtract (key N): click the solid to keep first, then the others. With several groups already selected, the operation is immediate.
- Move by hand: select, click a start point, the mouse moves off along an axis (the magnet holds it: red X, green Y, blue Z), then type only the distance. One press on Ctrl makes a copy.
- Right after a copy, typing *7 repeats it: seven more copies, at the same spacing.
- Each tool stays active after use; Esc returns to Select.
Tools used: Solid Box, Cylinder and Cone, Offset, Extrude, Move, Join, Subtract, Colour, Section plane, Export (STL).
The screenshots show the interface in French; the tools are the same in every language.
1. The box and its walls
- Solid, Box shape: click the origin, then type 120;80;40, all three sizes in one go.
- Double-click the box to open it. Offset: click the top and type 2,5, the wall thickness.
- Extrude: move the middle face down by 37,5. A 2.5 base remains. Esc to leave the group.
A Solid arrives already grouped: double-clicking opens it so its faces can be worked like a drawing.




2. The screw bosses
- Top view. Solid, Cylinder shape: click the base in a corner, 8 from the walls, then type 4;37,5 (radius and height): a Ø 8 boss up to the top.
- Select the boss, Move, one press on Ctrl to copy: click the centre of the boss, the mouse follows the red axis, type 104.
- Select both bosses, same gesture along the green axis: 64.
- Join: click the box, then the four bosses, one after the other.
Once joined, box and bosses are a single closed part, ready to be drilled.




3. Subtract: screw holes and connector
- Cylinder at the centre of a boss: radius 1,25, then 30 downwards, a Ø 2.5 pilot hole.
- Select it, Move: the mouse goes up along the blue axis, type 5: the hole sticks out of the boss. Copy it like the bosses: 104 along the red axis, then both at 64 along the green axis.
- Box on the front face: 12;6, then 10 inwards, the space for the connector.
- Subtract: click the box, then the connector and the four holes.
A solid that sticks out cuts cleanly and is easy to click: the first one clicked is kept, the others are removed.




4. The countersinks in the lid
- Close up, top view. Cylinder at the centre of a hole, on top of the boss: radius 1,6, then 5 upwards, the clearance for an M3 screw.
- Cone shape: click the centre of the top of the cylinder, type 5,5 (radius), then 5,5 downwards: the 90° countersink.
- Drag a selection box from left to right around both: only what is entirely inside is selected. Join: cone and cylinder become one.
- Copy the countersink like the bosses: Move with Ctrl, 104 along the red axis, then both at 64 along the green axis.
- Box laid on the top corner: 120;80;2,5, the lid. The countersinks stick out above it.
- Subtract: click the lid, then the four countersinks.
- Select the lid, Move: the mouse goes up along the blue axis, type 30: it lifts off.
Equal radius and height: a 90° cone, the angle of countersunk screws. At the surface of the lid the countersink is Ø 6: the head of an M3 screw sits flush.







5. The slots in the lid
- One slot: Box 3;40 on the lid, 10 downwards, then Move it 5 up along the blue axis so it sticks out.
- Select the slot, Move with Ctrl: 6 along the red axis, then type *7 straight away: seven copies, eight slots in all.
- Select the lid first, then Shift + click on the eight slots, and click Subtract. Colours of your choice: grey for the box, orange for the lid.
With the selection made, Subtract acts at once: the first one selected is the one subtracted from.




6. Section plane and STL export
- Section plane: click the front face, then type 8: the cut goes through the bosses and the countersinks.
- Close up, the 90° countersink shows in section. The sections button in the header hides or shows it.
- Ctrl + A, then Export, STL format: the file goes to the printer's slicing software.
The STL is in millimetres. Print the enclosure base down and the lid flat, in the plastic of your choice.





The finished enclosure
Free, with no ads. To go further: feet under the base, a rebate so the lid fits in, or an opening for a switch.
