How to design a 3D-printed bracket, enclosure or gear

By ATOM CAD TeamUpdated

In short

To design a bracket, an enclosure or a gear, give ATOM CAD the dimensions of the parts to mount or house: it uses the standard dimensions of motors, screws and inserts, builds an exact solid and checks clearances and overhangs before export.

How do you design a motor bracket or an L-bracket?

Name the motor, the fastening and the way the part sits: ATOM CAD knows the dimensions of NEMA 14, 17 and 23 motors and of M2 to M8 screws, and cuts the matching clearance holes. For an L-bracket, it stiffens with triangular ribs at 45°, which print without supports.

Standard stepper motor dimensions known to ATOM CAD
MotorFace (mm)Bolt spacing (mm)Pilot (mm)Screw
NEMA 1435.226Ø22M3
NEMA 1742.331Ø22M3
NEMA 2356.447.14Ø38.1M5

Example request: a motor bracket

“Make me an L-bracket for a NEMA 17 motor (42.3 mm square, 31 mm screw spacing, 22 mm pilot). Overall size: 60 mm long, 50 mm wide, 50 mm tall, 5 mm thick. Two M4 mounting holes on the base. One piece, printable without supports.”

Example request: a wall hook

“Make me a wall hook: a mounting plate 25 mm wide and 50 mm tall (4 mm thick) with two 4 mm screw holes, and a hook arm that sticks out 35 mm from the wall, turned up at its end. Overall size: 25 × 50 × 35 mm. One piece.”

How do you design an enclosure with a lid?

Give the overall dimensions and the wall thickness, and say whether the lid is a separate part. With a separate lid, ATOM CAD declares an assembly of two bodies and checks that they do not touch: a contact or too small a gap is a blocking error that the agent fixes before it concludes.

  • Walls: at least 2 mm for a mechanical part; below 1.2 mm, the report flags a wall too thin for three perimeters.
  • Lid fastening: screws into heat-set brass inserts, for example a 4 mm hole 5.7 mm deep for an M3, or a nut held in a hexagonal pocket.
  • Snap-fit clearances: 0.3 mm between body and lid in our reference requests; ATOM plans at least 0.4 mm of radial clearance for moving parts printed in place.

Example request: a box with a lid

“Make me a rectangular box with a snap-fit lid, as two separate bodies with a 0.3 mm clearance. Overall size once closed: 80 mm × 50 mm × 30 mm, 2 mm walls.”

How do you design a spur gear?

Give the module, the number of teeth, the thickness and the bore: ATOM CAD draws a spur gear as a single piece. The module is the tooth pitch divided by π; it sets the tooth size and must be identical on the two gears that mesh.

Dimensions of a spur gear with a 2 mm module and 20 teeth
DimensionFormulaValue
Pitch diametermodule × number of teeth40 mm
Tip diametermodule × (number of teeth + 2)44 mm
Center distance with an identical gearmodule × (z1 + z2) / 240 mm

Example request: a spur gear

“Make me a spur gear with a 2 mm module, 20 teeth, 8 mm thick, with a central 8 mm bore. One piece.”

ATOM CAD has no dedicated gear function: the agent writes the tooth profile into the part’s script. On our test bench, this request is built with the right number of teeth and the right tip diameter. That replaces neither a strength calculation nor a test: before meshing two printed parts, check the tooth profile in the 3D view, allow some clearance between the flanks and print a test.

How do you proceed step by step?

  1. Gather the dimensions of the parts to mount or house: board, motor, bearing, screws. If you do not have them, ask ATOM to look them up on the web.
  2. Describe the purpose and the overall dimensions, naming every element you want.
  3. Read ATOM’s analysis: it lists every element and the dimensions it settled on. Correct it right away if it gets one wrong.
  4. Read the printability report: overhangs, thin walls, number of bodies, clearances between parts.
  5. Adjust with a sentence or in the Parameters tab, without rebuilding the part.
  6. Print a test before the batch: the real clearance depends on your printer, as the tolerances guide explains.
  7. Export as 3MF to print, as STEP to machine or reopen the part.

Which printing rules does ATOM CAD apply to these parts?

Default printing rules, for a 0.4 mm nozzle and 0.2 mm layers
TopicRule
WallsAt least 1.2 mm, and 2 mm or more for a mechanical part; floors and roofs of at least 0.8 mm
OverhangsNone beyond 45°; bridges of 10 mm at most
HolesVertical when possible; a horizontal hole larger than 8 mm is drawn as a teardrop, with no support
Bottom edges0.4 to 0.8 mm chamfer against elephant’s foot; fillets on vertical edges
MaterialPETG if you do not say otherwise

For the clearances between parts that snap together or turn, read Tolerances and clearances for 3D printing. For the general way to describe a part, model a printable part from text. The operations that matter here are explained in the glossary: fillet, chamfer and extrusion.

To see how ATOM CAD sits next to a free parametric CAD program, read the comparison ATOM CAD compared with FreeCAD.

Frequently asked questions

Does ATOM CAD know the dimensions of my motor or board?

It knows NEMA 14, 17 and 23 motors, M2 to M8 screws, brass inserts, some aluminum profiles and common bearings. For any other product, give its dimensions or ask it to look them up on the web, with the source cited.

Will the lid of my box be welded to the body when printed?

If you ask for two separate bodies, ATOM CAD checks that they keep a minimum clearance and flags any contact or overlap as a blocking error, which the agent fixes before it hands you the part.

Can I print a gear that transmits real torque?

ATOM CAD builds the geometry, not a strength calculation. For a loaded gear, choose the material and the module according to the load, and test before relying on it.

Can I ask for an organic shape, such as a figurine?

Yes, ATOM CAD has a sculpture mode for figurines and organic shapes. The part is then a mesh exported as 3MF, STL or OBJ, with no STEP.

See also