CAD and 3D printing for drone parts
Build a model with editable dimensions, check the assembly and read the slicer preview before producing the real part.
Reading material deposition paths from a real file
This image is computed from the G-code of the camera mounting plate in the practice set. It shows only the deposition paths, with travel moves and post-retraction re-priming moves separated out. The lines shown are centrelines, not the actual width of the printed plastic.
Try comparing a middle layer with the top layer, then identify the wall lines, infill lines and openings. See all 6 images of the 3 and 4 mm parts with the download set Before printing you must still select the printer profile and material and check the actual fit. The file reading does not certify the strength or the camera mounting on the drone.
Keep an editable model
The CAD source stores features and constraints, STEP is used to exchange geometry, and STL stores a triangulated surface. Having only an STL is therefore not the same as having the complete design history.
Start the camera bracket part by defining the thickness, hole spacing and hole diameter as parameters. Use constraints so the sketch expresses design intent, such as equal holes, symmetry or fixed spacing, instead of placing things by eye.
Check the fit before export
Check clearance for screw heads, nuts, connectors, camera cables and space for disassembly. Parts not colliding in CAD does not mean they are easy to assemble; you must also think through the assembly sequence. State the unit, mm or whichever is used, in both CAD and the slicer.
From model to print paths
| Variable | What to read from the preview |
|---|---|
| Orientation | support and layer direction |
| Wall/perimeter | walls around the part and around holes |
| Infill | internal structure and estimated material |
| Layer height | vertical resolution and time |
| Printer/material profile | machine size, nozzle and material-related settings |
Change one variable at a time and record the time and material mass estimated by the slicer. Do not judge strength by the infill percentage alone, because walls, layer direction, temperature and inter-layer adhesion also play a role.
Software options
FreeCAD and OpenSCAD run on both Windows/Linux; PrusaSlicer can be used to learn previews without connecting a printer. Onshape runs in a browser, but the Free plan makes documents public and is limited to non-commercial use, while Fusion is an option on Windows with separate Personal/Trial conditions.
What to hand over to the manufacturer
Keep the CAD source, STEP, STL/3MF, key dimensions, material, profile and version. Load and environmental testing of the real part must be kept separate from the preview results on the computer.
Further reading and references
- Source document: DTI, BOI teaching slides on CAD drawing and 3D Printing
- FreeCAD
- PrusaSlicer
- Onshape plans
- Fusion Personal conditions
This content is compiled from documents kindly provided by DTI and the references above. Numerical examples are cases for learning. Read theacknowledgements and content sources
F08: How much less does a cantilever arm deflect when made thicker?
| Variable | Meaning and units in → out | Range/source of value |
|---|---|---|
| F, L | Tip force magnitude N and distance from root to the force m (in) | F ≥ 0, L > 0; synthetic load |
| b, h | Cross-section width and height m (in) | > 0; h in the direction resisting bending, not with the axes swapped |
| E | Young's modulus Pa (in) | > 0; a tested material value for the matching direction |
| I | Second moment of area m⁴ (out) | > 0; solid rectangular cross-section |
| δ, σ_max | Tip deflection magnitude m and maximum bending stress Pa (out) | ≥ 0; not the allowable strength |
Applied level · Question: how does changing only the cross-section height affect deflection and stress? The model starts from a slender beam of constant cross-section, rigidly fixed at the root and carrying a perpendicular load at the tip.
I = bh³/12; δ = FL³/(3EI); σ_max = FL(h/2)/I
From the relationship between curvature and M/EI in MIT, set the moment magnitude M(x)=F(L−x) with zero slope/deflection at the root, and integrate twice to obtain δ at the tip; I comes from ∫z²dA of the rectangular cross-section, so the bending axis must be specified. The unit of δ is N·m³/(Pa·m⁴)=m.
Assumes linear elastic, isotropic behaviour and small deflection; excludes joints, bolt holes, torsion, fatigue and vibration. The following E value is a problem setting, not a certified PLA/FDM value; printed parts have layer direction and infill, so coupons must be tested under actual printing conditions before relating to lab CAD
Worked example
Let F=1 N, L=0.20 m, b=0.020 m, h=0.010 m, E=2×10⁹ Pa, giving I=0.020×0.010³/12=1.666666667×10⁻⁹ m⁴. Then δ=1×0.20³/(3×2×10⁹×I)=0.0008 m=0.8 mm and σ_max=1×0.20×0.005/I=600000 Pa=0.6 MPa. The deflection relative to L of 0.004 is only a scale check of the assumptions, not a pass criterion for the part.
Change-the-values exercise
Increase h to 0.020 m while keeping the other values, calculate I, δ and σ_max, and explain why the stress does not fall eightfold.
Show F08 answer
I=1.333333333×10⁻⁸ m⁴, 8 times larger; δ=0.0001 m=0.1 mm, 8 times smaller; σ_max=150000 Pa=0.15 MPa, 4 times smaller, because the outer-fibre distance h/2 also doubles. Rounding of δ ±0.001 mm and σ ±0.001 MPa is accepted.
References: MIT 2.080J Structural Mechanics, Fall 2013, Recitation 3 §3.1–3.2 (P3E01); checked 26 September B.E. 2569 (2026)
F09: Clearance and material mass are separate accounts
| Variable | Meaning and units in → out | Range/source of value |
|---|---|---|
| D_hole, D_shaft | Hole/shaft diameter mm (in) | > 0; state whether from CAD or measured on a coupon |
| c_d, c_r | Diametral/radial clearance mm (out) | Can be negative, meaning interference |
| V | Extruded material volume mm³ (in) | ≥ 0; includes walls, infill and support within the accounting scope |
| ρ, m | Density g/cm³ (in), mass g (out) | ρ > 0 from the actual material; m ≥ 0 |
Basic level · Question: how large is the gap on each side of a shaft hole, and what is the mass of the printed material?
c_d = D_hole − D_shaft; c_r = c_d/2; m = ρ(V/1000)
This mass formula uses V in mm³, so divide by 1000 to get cm³ before multiplying by ρ. Clearance is a size difference, not the printer's accuracy. The example uses concentric circles; a distorted or off-centre hole makes the gap unequal on each side.
Do not use bounding-box volume × infill% in place of V, because there are also walls and other material. Prusa explains that infill affects material use but gives no formula that replaces slicing the whole part. This chapter does not invoke slicer software; if you use slicer results, record the software version, profile, material and support, then weigh the part to compare.
Worked example
A 5.2 mm hole with a 5.0 mm shaft gives c_d=5.2−5.0=0.2 mm and c_r=0.1 mm. Separately, for the material account, V=10000 mm³=10 cm³ and an assumed ρ of 1.24 g/cm³ give m=1.24×10=12.4 g. This density value is for numerical practice, not a certified specification for every brand.
Change-the-values exercise
Change only D_hole to 5.4 mm and calculate both types of clearance. For the mass account, the original V is given to practise separating variables; this does not claim that after editing the CAD the slicer still uses the same amount of material.
Show F09 answer
c_d=0.4 mm, c_r=0.2 mm; the given V is unchanged, so m=12.4 g. Accept ±0.001 mm and ±0.01 g. If re-sliced, the new V must be used instead.
References: Prusa Knowledge Base, Infill, Fill density (P3E02); checked 26 September B.E. 2569 (2026)
Download the engineering and sensor formula practice set (CSV/JSON with answers) · Synthetic data for practising calculations and checking assumptions