<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.bespokerobotsociety.org/index.php?action=history&amp;feed=atom&amp;title=Mechanical_Design</id>
	<title>Mechanical Design - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.bespokerobotsociety.org/index.php?action=history&amp;feed=atom&amp;title=Mechanical_Design"/>
	<link rel="alternate" type="text/html" href="https://wiki.bespokerobotsociety.org/index.php?title=Mechanical_Design&amp;action=history"/>
	<updated>2026-04-25T08:45:23Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.5</generator>
	<entry>
		<id>https://wiki.bespokerobotsociety.org/index.php?title=Mechanical_Design&amp;diff=85&amp;oldid=prev</id>
		<title>John: Created page with &quot;{{Tutorial |name=Mechanical Design |competency=Mechanics |difficulty=Beginner |time=3-5 hours (split across multiple sessions) |prerequisites=Basic familiarity with 3D printing and CAD software |materials=Calipers ($15-30), CAD software (FreeCAD or Fusion 360), ruler, existing robot parts to measure |next_steps=Design custom parts for your robot, study SimpleBot CAD files, Gear Ratio Calculation }}  &#039;&#039;&#039;Mechanical Design&#039;&#039;&#039; is your introduction to designing 3D...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.bespokerobotsociety.org/index.php?title=Mechanical_Design&amp;diff=85&amp;oldid=prev"/>
		<updated>2025-10-11T20:15:59Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;{{Tutorial |name=Mechanical Design |competency=&lt;a href=&quot;/wiki/Mechanics&quot; title=&quot;Mechanics&quot;&gt;Mechanics&lt;/a&gt; |difficulty=Beginner |time=3-5 hours (split across multiple sessions) |prerequisites=Basic familiarity with 3D printing and CAD software |materials=Calipers ($15-30), CAD software (FreeCAD or Fusion 360), ruler, existing robot parts to measure |next_steps=Design custom parts for your robot, study &lt;a href=&quot;/wiki/SimpleBot&quot; title=&quot;SimpleBot&quot;&gt;SimpleBot&lt;/a&gt; CAD files, &lt;a href=&quot;/index.php?title=Gear_Ratio_Calculation&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;Gear Ratio Calculation (page does not exist)&quot;&gt;Gear Ratio Calculation&lt;/a&gt; }}  &amp;#039;&amp;#039;&amp;#039;Mechanical Design&amp;#039;&amp;#039;&amp;#039; is your introduction to designing 3D...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Tutorial&lt;br /&gt;
|name=Mechanical Design&lt;br /&gt;
|competency=[[Mechanics]]&lt;br /&gt;
|difficulty=Beginner&lt;br /&gt;
|time=3-5 hours (split across multiple sessions)&lt;br /&gt;
|prerequisites=Basic familiarity with 3D printing and CAD software&lt;br /&gt;
|materials=Calipers ($15-30), CAD software (FreeCAD or Fusion 360), ruler, existing robot parts to measure&lt;br /&gt;
|next_steps=Design custom parts for your robot, study [[SimpleBot]] CAD files, [[Gear Ratio Calculation]]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Mechanical Design&amp;#039;&amp;#039;&amp;#039; is your introduction to designing 3D-printable robot parts using CAD (Computer-Aided Design) software. This tutorial covers the essential skills for creating mounts, brackets, and structural parts for robots like [[SimpleBot]].&lt;br /&gt;
&lt;br /&gt;
By the end of this tutorial, you&amp;#039;ll understand:&lt;br /&gt;
* How to measure existing components with calipers&lt;br /&gt;
* How to design parts that fit together (tolerances)&lt;br /&gt;
* How to design mounting holes and fastener clearances&lt;br /&gt;
* How to create assemblies with multiple parts&lt;br /&gt;
* How to design for 3D printing (overhangs, bridges, support)&lt;br /&gt;
&lt;br /&gt;
This tutorial is &amp;#039;&amp;#039;&amp;#039;hands-on&amp;#039;&amp;#039;&amp;#039;. You&amp;#039;ll design a sensor mount for [[SimpleBot]] as a practical example.&lt;br /&gt;
&lt;br /&gt;
== Part 1: CAD Software Setup ==&lt;br /&gt;
&lt;br /&gt;
=== Choosing CAD Software ===&lt;br /&gt;
&lt;br /&gt;
For robotics, you need &amp;#039;&amp;#039;&amp;#039;parametric CAD&amp;#039;&amp;#039;&amp;#039; software that can create precise mechanical parts:&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;FreeCAD&amp;#039;&amp;#039;&amp;#039; (Free, open-source)&lt;br /&gt;
** Pros: Completely free, runs on Linux/Mac/Windows, extensible&lt;br /&gt;
** Cons: Steeper learning curve, less polished UI&lt;br /&gt;
** Best for: Open-source advocates, Linux users, learning fundamentals&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Fusion 360&amp;#039;&amp;#039;&amp;#039; (Free for hobbyists, students, startups under $100k)&lt;br /&gt;
** Pros: Professional-grade, excellent tutorials, cloud storage&lt;br /&gt;
** Cons: Requires account, online-only, subscription after trial&lt;br /&gt;
** Best for: Beginners, professional workflow, collaboration&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;OnShape&amp;#039;&amp;#039;&amp;#039; (Free for public projects)&lt;br /&gt;
** Pros: Browser-based, collaborative, parametric&lt;br /&gt;
** Cons: Projects are public unless you pay&lt;br /&gt;
** Best for: Collaboration, Chromebook users&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;This tutorial uses FreeCAD&amp;#039;&amp;#039;&amp;#039; (works on all platforms), but concepts apply to any CAD software.&lt;br /&gt;
&lt;br /&gt;
=== Installing FreeCAD ===&lt;br /&gt;
&lt;br /&gt;
# Download from [https://www.freecadweb.org/ FreeCAD.org]&lt;br /&gt;
# Install (Linux: use package manager, Windows/Mac: run installer)&lt;br /&gt;
# Launch FreeCAD and create a new document (File → New)&lt;br /&gt;
# Select &amp;#039;&amp;#039;&amp;#039;Part Design&amp;#039;&amp;#039;&amp;#039; workbench (dropdown at top)&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Key FreeCAD concepts:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Sketch&amp;#039;&amp;#039;&amp;#039; - 2D drawing on a plane (constrained shapes)&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Pad&amp;#039;&amp;#039;&amp;#039; - Extrude sketch into 3D solid (add material)&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Pocket&amp;#039;&amp;#039;&amp;#039; - Cut sketch from 3D solid (remove material)&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Body&amp;#039;&amp;#039;&amp;#039; - Container for features (one part = one body)&lt;br /&gt;
&lt;br /&gt;
== Part 2: Measuring with Calipers ==&lt;br /&gt;
&lt;br /&gt;
Before designing parts, you need accurate measurements. &amp;#039;&amp;#039;&amp;#039;Digital calipers&amp;#039;&amp;#039;&amp;#039; are essential.&lt;br /&gt;
&lt;br /&gt;
=== Caliper Basics ===&lt;br /&gt;
&lt;br /&gt;
Calipers measure:&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Outside dimensions&amp;#039;&amp;#039;&amp;#039; - Outer diameter, width (large jaws)&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Inside dimensions&amp;#039;&amp;#039;&amp;#039; - Inner diameter, hole size (small jaws)&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Depth&amp;#039;&amp;#039;&amp;#039; - How deep a hole or recess is (depth probe)&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Step height&amp;#039;&amp;#039;&amp;#039; - Difference in height between surfaces&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Accuracy:&amp;#039;&amp;#039;&amp;#039; Digital calipers measure to 0.01mm (0.0005 inches)&lt;br /&gt;
&lt;br /&gt;
=== Measuring Technique ===&lt;br /&gt;
&lt;br /&gt;
# &amp;#039;&amp;#039;&amp;#039;Zero the calipers&amp;#039;&amp;#039;&amp;#039; - Close jaws and press &amp;quot;zero&amp;quot; button&lt;br /&gt;
# &amp;#039;&amp;#039;&amp;#039;Place part squarely&amp;#039;&amp;#039;&amp;#039; - Jaws perpendicular to surface&lt;br /&gt;
# &amp;#039;&amp;#039;&amp;#039;Gentle pressure&amp;#039;&amp;#039;&amp;#039; - Don&amp;#039;t squeeze too hard (deforms plastic)&lt;br /&gt;
# &amp;#039;&amp;#039;&amp;#039;Read display&amp;#039;&amp;#039;&amp;#039; - Switch between mm and inches with &amp;quot;mm/inch&amp;quot; button&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Exercise:&amp;#039;&amp;#039;&amp;#039; Measure these dimensions on your [[Infrared Line Detector]] sensor:&lt;br /&gt;
* Width of PCB&lt;br /&gt;
* Height of PCB&lt;br /&gt;
* Mounting hole diameter&lt;br /&gt;
* Distance between mounting holes (center-to-center)&lt;br /&gt;
* Height of sensor above PCB bottom&lt;br /&gt;
&lt;br /&gt;
Write down measurements - you&amp;#039;ll use them to design a mount!&lt;br /&gt;
&lt;br /&gt;
=== Common Measurement Mistakes ===&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Tilted calipers&amp;#039;&amp;#039;&amp;#039; - Jaws not perpendicular gives false reading&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Measuring over obstacles&amp;#039;&amp;#039;&amp;#039; - Measure at narrowest point (not over screw heads)&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Forgetting to zero&amp;#039;&amp;#039;&amp;#039; - Calipers drift; re-zero before each measurement&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Confusing inside/outside&amp;#039;&amp;#039;&amp;#039; - Check which jaws you&amp;#039;re using&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Rounding too aggressively&amp;#039;&amp;#039;&amp;#039; - Keep 0.1mm precision, don&amp;#039;t round to whole mm&lt;br /&gt;
&lt;br /&gt;
== Part 3: Designing a Sensor Mount ==&lt;br /&gt;
&lt;br /&gt;
Let&amp;#039;s design a mount for an [[Infrared Line Detector]] sensor. This mount will:&lt;br /&gt;
* Hold the sensor at correct height (3-5mm from ground)&lt;br /&gt;
* Attach to SimpleBot chassis with M3 screws&lt;br /&gt;
* Keep sensor level and aligned&lt;br /&gt;
&lt;br /&gt;
=== Step 1: Create a Sketch (Base Plate) ===&lt;br /&gt;
&lt;br /&gt;
In FreeCAD Part Design workbench:&lt;br /&gt;
&lt;br /&gt;
# Create a new &amp;#039;&amp;#039;&amp;#039;Body&amp;#039;&amp;#039;&amp;#039; (right-click Body in tree, select &amp;quot;Create body&amp;quot;)&lt;br /&gt;
# Create a &amp;#039;&amp;#039;&amp;#039;Sketch&amp;#039;&amp;#039;&amp;#039; on XY plane&lt;br /&gt;
# Draw a &amp;#039;&amp;#039;&amp;#039;rectangle&amp;#039;&amp;#039;&amp;#039; - 30mm × 20mm (base plate for mount)&lt;br /&gt;
# &amp;#039;&amp;#039;&amp;#039;Constrain dimensions&amp;#039;&amp;#039;&amp;#039; - Select each edge, press &amp;quot;C&amp;quot; (constrain), enter value&lt;br /&gt;
# Close sketch (click &amp;quot;Close&amp;quot; in toolbar)&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Tip:&amp;#039;&amp;#039;&amp;#039; Press &amp;quot;V&amp;quot; then &amp;quot;F&amp;quot; to fit sketch to screen.&lt;br /&gt;
&lt;br /&gt;
=== Step 2: Extrude Base Plate (Pad) ===&lt;br /&gt;
&lt;br /&gt;
# Select the closed sketch&lt;br /&gt;
# Click &amp;#039;&amp;#039;&amp;#039;Pad&amp;#039;&amp;#039;&amp;#039; tool (extrude icon)&lt;br /&gt;
# Set length to 2mm (base plate thickness)&lt;br /&gt;
# Click OK&lt;br /&gt;
&lt;br /&gt;
You now have a 30mm × 20mm × 2mm base plate!&lt;br /&gt;
&lt;br /&gt;
=== Step 3: Add Mounting Holes for Chassis ===&lt;br /&gt;
&lt;br /&gt;
The base plate needs holes to attach to the robot chassis with M3 screws.&lt;br /&gt;
&lt;br /&gt;
# Select top face of base plate&lt;br /&gt;
# Create new &amp;#039;&amp;#039;&amp;#039;Sketch&amp;#039;&amp;#039;&amp;#039; on that face&lt;br /&gt;
# Draw two &amp;#039;&amp;#039;&amp;#039;circles&amp;#039;&amp;#039;&amp;#039; - 3.2mm diameter, 20mm apart horizontally, centered vertically&lt;br /&gt;
# Close sketch&lt;br /&gt;
# Select sketch and click &amp;#039;&amp;#039;&amp;#039;Pocket&amp;#039;&amp;#039;&amp;#039; tool (cut icon)&lt;br /&gt;
# Set depth to &amp;quot;Through All&amp;quot;&lt;br /&gt;
# Click OK&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Why 3.2mm holes for M3 screws?&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
* M3 screw is 3.0mm diameter&lt;br /&gt;
* 0.2mm clearance (3D printing tolerance) = 3.2mm hole&lt;br /&gt;
* This allows screws to pass through freely (&amp;#039;&amp;#039;&amp;#039;clearance hole&amp;#039;&amp;#039;&amp;#039;)&lt;br /&gt;
&lt;br /&gt;
=== Step 4: Add Vertical Wall for Sensor ===&lt;br /&gt;
&lt;br /&gt;
The sensor mounts vertically on a wall:&lt;br /&gt;
&lt;br /&gt;
# Select front face of base plate&lt;br /&gt;
# Create new &amp;#039;&amp;#039;&amp;#039;Sketch&amp;#039;&amp;#039;&amp;#039; on that face&lt;br /&gt;
# Draw a &amp;#039;&amp;#039;&amp;#039;rectangle&amp;#039;&amp;#039;&amp;#039; - 25mm wide × 15mm tall&lt;br /&gt;
# Close sketch&lt;br /&gt;
# &amp;#039;&amp;#039;&amp;#039;Pad&amp;#039;&amp;#039;&amp;#039; forward 2mm (wall thickness)&lt;br /&gt;
&lt;br /&gt;
Now you have a base plate with a vertical wall!&lt;br /&gt;
&lt;br /&gt;
=== Step 5: Add Sensor Mounting Holes ===&lt;br /&gt;
&lt;br /&gt;
The sensor PCB attaches to the wall with two M3 screws:&lt;br /&gt;
&lt;br /&gt;
# Select front face of vertical wall&lt;br /&gt;
# Create new &amp;#039;&amp;#039;&amp;#039;Sketch&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
# Measure your sensor: holes are (example) 20mm apart, 8mm from bottom&lt;br /&gt;
# Draw two &amp;#039;&amp;#039;&amp;#039;circles&amp;#039;&amp;#039;&amp;#039; - 2.8mm diameter, positioned to match sensor holes&lt;br /&gt;
# Close sketch&lt;br /&gt;
# &amp;#039;&amp;#039;&amp;#039;Pocket&amp;#039;&amp;#039;&amp;#039; depth &amp;quot;Through All&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Why 2.8mm holes for M3 screws in plastic?&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
* M3 screw is 3.0mm diameter&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Thread-forming screws&amp;#039;&amp;#039;&amp;#039; cut threads in plastic as they&amp;#039;re screwed in&lt;br /&gt;
* 2.8mm hole (0.2mm undersized) allows screw to cut threads tightly&lt;br /&gt;
* Alternative: Use 3.2mm holes and M3 nuts on backside&lt;br /&gt;
&lt;br /&gt;
=== Step 6: Add Chamfers (Optional) ===&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Chamfers&amp;#039;&amp;#039;&amp;#039; are angled edges that improve appearance and printability:&lt;br /&gt;
&lt;br /&gt;
# Select top edges of base plate&lt;br /&gt;
# Click &amp;#039;&amp;#039;&amp;#039;Chamfer&amp;#039;&amp;#039;&amp;#039; tool&lt;br /&gt;
# Set distance to 0.5mm&lt;br /&gt;
# Click OK&lt;br /&gt;
&lt;br /&gt;
This removes sharp corners and helps the print look professional.&lt;br /&gt;
&lt;br /&gt;
== Part 4: Design for 3D Printing ==&lt;br /&gt;
&lt;br /&gt;
Not all CAD designs can be 3D printed successfully. Follow these rules:&lt;br /&gt;
&lt;br /&gt;
=== Overhang Rule: 45-Degree Maximum ===&lt;br /&gt;
&lt;br /&gt;
FDM printers struggle with overhangs steeper than 45 degrees:&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;OK:&amp;#039;&amp;#039;&amp;#039; Walls at 90 degrees (vertical), floors at 0 degrees (horizontal)&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;OK:&amp;#039;&amp;#039;&amp;#039; 45-degree chamfers and slopes&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;NOT OK:&amp;#039;&amp;#039;&amp;#039; Upside-down 45-degree slopes (use support)&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;NOT OK:&amp;#039;&amp;#039;&amp;#039; Horizontal holes (print vertically or use support)&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Fix:&amp;#039;&amp;#039;&amp;#039; Orient part so overhangs are under 45 degrees, or add supports.&lt;br /&gt;
&lt;br /&gt;
=== Bridging Rule: Short Gaps Only ===&lt;br /&gt;
&lt;br /&gt;
Printers can &amp;#039;&amp;#039;bridge&amp;#039;&amp;#039; gaps (print unsupported horizontal lines) up to ~20mm:&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;OK:&amp;#039;&amp;#039;&amp;#039; 10mm horizontal hole (bridges nicely)&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;NOT OK:&amp;#039;&amp;#039;&amp;#039; 50mm horizontal hole (sags in middle)&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Fix:&amp;#039;&amp;#039;&amp;#039; Keep bridged gaps under 20mm, or use support.&lt;br /&gt;
&lt;br /&gt;
=== Minimum Feature Size ===&lt;br /&gt;
&lt;br /&gt;
FDM printers have limits on small features:&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Minimum wall thickness:&amp;#039;&amp;#039;&amp;#039; 1.2mm (2× nozzle diameter for 0.6mm nozzle)&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Minimum hole diameter:&amp;#039;&amp;#039;&amp;#039; 2mm (smaller holes often close up)&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Minimum gap:&amp;#039;&amp;#039;&amp;#039; 0.4mm (smaller gaps fuse together)&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Fix:&amp;#039;&amp;#039;&amp;#039; Make features at least 2mm thick for reliability.&lt;br /&gt;
&lt;br /&gt;
=== Tolerances for Fit ===&lt;br /&gt;
&lt;br /&gt;
3D printed parts shrink slightly and have rough surfaces. Add clearance:&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Press fit:&amp;#039;&amp;#039;&amp;#039; 0.0 to 0.1mm clearance (tight, may need force)&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Sliding fit:&amp;#039;&amp;#039;&amp;#039; 0.2 to 0.3mm clearance (moves smoothly)&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Loose fit:&amp;#039;&amp;#039;&amp;#039; 0.5mm+ clearance (rattles slightly)&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;For our sensor mount:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
* Chassis mounting holes: 3.2mm (clearance fit for M3 screws)&lt;br /&gt;
* Sensor mounting holes: 2.8mm (thread-forming fit)&lt;br /&gt;
&lt;br /&gt;
== Part 5: Assemblies (Multiple Parts) ==&lt;br /&gt;
&lt;br /&gt;
Real robots have many parts. CAD software can show how they fit together:&lt;br /&gt;
&lt;br /&gt;
=== Creating an Assembly in FreeCAD ===&lt;br /&gt;
&lt;br /&gt;
# Create new document&lt;br /&gt;
# Insert parts: File → Insert → Part (select your sensor mount .FCStd file)&lt;br /&gt;
# Insert sensor model (if available) or create a simple box to represent it&lt;br /&gt;
# Use &amp;#039;&amp;#039;&amp;#039;Transform&amp;#039;&amp;#039;&amp;#039; tool to position parts&lt;br /&gt;
# Add &amp;#039;&amp;#039;&amp;#039;Constraints&amp;#039;&amp;#039;&amp;#039; to lock parts in place&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Assembly shows:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
* Do parts collide or interfere?&lt;br /&gt;
* Are mounting holes aligned?&lt;br /&gt;
* Is sensor at correct height?&lt;br /&gt;
&lt;br /&gt;
=== Common Assembly Mistakes ===&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Over-constrained:&amp;#039;&amp;#039;&amp;#039; Too many screws in slotted holes (thermal expansion causes binding)&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Under-constrained:&amp;#039;&amp;#039;&amp;#039; Part wobbles or shifts (add more screws or pins)&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Interference:&amp;#039;&amp;#039;&amp;#039; Parts overlap (check clearances)&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Wire routing:&amp;#039;&amp;#039;&amp;#039; No space for wires (leave gaps and channels)&lt;br /&gt;
&lt;br /&gt;
== Part 6: Practical Design Exercise ==&lt;br /&gt;
&lt;br /&gt;
Let&amp;#039;s design a motor mount bracket for SimpleBot:&lt;br /&gt;
&lt;br /&gt;
=== Requirements ===&lt;br /&gt;
* Mount a DC motor to acrylic chassis&lt;br /&gt;
* Motor diameter: 24mm (measure with calipers)&lt;br /&gt;
* Motor shaft length: 12mm (protrudes from motor)&lt;br /&gt;
* Chassis mounting: Two M3 screws, 20mm apart&lt;br /&gt;
* Motor output: Wheel must attach to shaft&lt;br /&gt;
&lt;br /&gt;
=== Design Steps ===&lt;br /&gt;
&lt;br /&gt;
# &amp;#039;&amp;#039;&amp;#039;Sketch base plate&amp;#039;&amp;#039;&amp;#039; - 30mm × 30mm × 3mm thick (stronger for motor vibration)&lt;br /&gt;
# &amp;#039;&amp;#039;&amp;#039;Add motor clamp&amp;#039;&amp;#039;&amp;#039; - Half-circle cutout 24.2mm diameter (0.2mm clearance)&lt;br /&gt;
## Pad walls on both sides to clamp motor&lt;br /&gt;
## Add M3 screw hole through walls to tighten clamp&lt;br /&gt;
# &amp;#039;&amp;#039;&amp;#039;Add chassis mounting holes&amp;#039;&amp;#039;&amp;#039; - Two 3.2mm holes, 20mm apart&lt;br /&gt;
# &amp;#039;&amp;#039;&amp;#039;Add wire routing&amp;#039;&amp;#039;&amp;#039; - Small channel for motor wires to exit&lt;br /&gt;
# &amp;#039;&amp;#039;&amp;#039;Check clearances&amp;#039;&amp;#039;&amp;#039; - Wheel must not hit chassis (leave 2mm gap)&lt;br /&gt;
&lt;br /&gt;
=== Design Checklist ===&lt;br /&gt;
&lt;br /&gt;
Before printing, verify:&lt;br /&gt;
* ☐ All holes are correct size (calipers + tolerance)&lt;br /&gt;
* ☐ Mounting points are spaced correctly (measure chassis)&lt;br /&gt;
* ☐ No overhangs steeper than 45 degrees (or add supports)&lt;br /&gt;
* ☐ Minimum wall thickness 1.2mm&lt;br /&gt;
* ☐ Clearance for moving parts (wheels, gears)&lt;br /&gt;
* ☐ Space for wires to route through&lt;br /&gt;
* ☐ Chamfers on sharp edges (optional, looks better)&lt;br /&gt;
&lt;br /&gt;
== Part 7: Exporting for 3D Printing ==&lt;br /&gt;
&lt;br /&gt;
=== Export STL File ===&lt;br /&gt;
&lt;br /&gt;
# Select the &amp;#039;&amp;#039;&amp;#039;Body&amp;#039;&amp;#039;&amp;#039; in FreeCAD tree&lt;br /&gt;
# File → Export → Select &amp;quot;STL Mesh&amp;quot; format&lt;br /&gt;
# Save as &amp;quot;sensor_mount.stl&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;STL&amp;#039;&amp;#039;&amp;#039; (STereoLithography) is the universal format for 3D printing - it stores the outer shell as triangles.&lt;br /&gt;
&lt;br /&gt;
=== Slicing (Preparing for Print) ===&lt;br /&gt;
&lt;br /&gt;
Use slicer software (Cura, PrusaSlicer, etc.):&lt;br /&gt;
&lt;br /&gt;
# Import STL file&lt;br /&gt;
# Orient part (flat side down, minimize supports)&lt;br /&gt;
# Set print settings:&lt;br /&gt;
## &amp;#039;&amp;#039;&amp;#039;Layer height:&amp;#039;&amp;#039;&amp;#039; 0.2mm (good balance of speed and quality)&lt;br /&gt;
## &amp;#039;&amp;#039;&amp;#039;Infill:&amp;#039;&amp;#039;&amp;#039; 20% (functional parts), 10% (decorative)&lt;br /&gt;
## &amp;#039;&amp;#039;&amp;#039;Supports:&amp;#039;&amp;#039;&amp;#039; Enable if overhangs exceed 45 degrees&lt;br /&gt;
## &amp;#039;&amp;#039;&amp;#039;Material:&amp;#039;&amp;#039;&amp;#039; PLA (easy), PETG (strong), ABS (heat-resistant)&lt;br /&gt;
# Slice and generate G-code&lt;br /&gt;
# Send to printer or save to SD card&lt;br /&gt;
&lt;br /&gt;
=== Print Orientation ===&lt;br /&gt;
&lt;br /&gt;
Orientation affects strength and quality:&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Best strength:&amp;#039;&amp;#039;&amp;#039; Forces perpendicular to layers (layers resist shear poorly)&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Best quality:&amp;#039;&amp;#039;&amp;#039; Curved surfaces horizontal (layers follow curve)&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Minimize supports:&amp;#039;&amp;#039;&amp;#039; Flat side down, overhangs under 45 degrees&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;For sensor mount:&amp;#039;&amp;#039;&amp;#039; Print base plate down (vertical wall prints nicely, no supports needed).&lt;br /&gt;
&lt;br /&gt;
== Part 8: Iteration and Testing ==&lt;br /&gt;
&lt;br /&gt;
First prints rarely fit perfectly. Iterate:&lt;br /&gt;
&lt;br /&gt;
=== Test Fit ===&lt;br /&gt;
&lt;br /&gt;
# Print part&lt;br /&gt;
# Test fit with real components (sensor, screws, chassis)&lt;br /&gt;
# Check for issues:&lt;br /&gt;
## Holes too tight? Increase diameter by 0.1-0.2mm&lt;br /&gt;
## Holes too loose? Decrease diameter by 0.1-0.2mm&lt;br /&gt;
## Part warps? Add thicker base or print slower&lt;br /&gt;
&lt;br /&gt;
=== Common Print Issues and Fixes ===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Issue !! Cause !! Fix&lt;br /&gt;
|-&lt;br /&gt;
| Warping (corners lift) || Uneven cooling || Add brim or raft, lower bed temp&lt;br /&gt;
|-&lt;br /&gt;
| Holes too small || Printer over-extrudes || Increase hole diameter by 0.2mm&lt;br /&gt;
|-&lt;br /&gt;
| Weak parts || Under-extruding || Increase flow rate or check filament&lt;br /&gt;
|-&lt;br /&gt;
| Rough surface || Too fast, too hot || Slow down print, lower nozzle temp&lt;br /&gt;
|-&lt;br /&gt;
| Supports stuck || Too close to part || Increase support gap in slicer&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Design Iteration Loop ===&lt;br /&gt;
&lt;br /&gt;
# Design part in CAD&lt;br /&gt;
# Export STL and slice&lt;br /&gt;
# Print part&lt;br /&gt;
# Test fit and identify issues&lt;br /&gt;
# Modify CAD design (change dimensions)&lt;br /&gt;
# Repeat until perfect fit&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Tip:&amp;#039;&amp;#039;&amp;#039; Print small test sections first (just one mounting hole) to check fit before printing the entire part.&lt;br /&gt;
&lt;br /&gt;
== Part 9: Advanced Techniques ==&lt;br /&gt;
&lt;br /&gt;
Once you&amp;#039;re comfortable with basic design:&lt;br /&gt;
&lt;br /&gt;
=== Parametric Design ===&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Parameters&amp;#039;&amp;#039;&amp;#039; are variables you can change to update the entire design:&lt;br /&gt;
&lt;br /&gt;
* Create a parameter &amp;quot;motor_diameter = 24mm&amp;quot;&lt;br /&gt;
* Use &amp;quot;motor_diameter + 0.2mm&amp;quot; for clamp hole size&lt;br /&gt;
* Change motor_diameter to 20mm → entire mount resizes!&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;In FreeCAD:&amp;#039;&amp;#039;&amp;#039; Use Spreadsheet workbench to create parameters.&lt;br /&gt;
&lt;br /&gt;
=== Fillets vs Chamfers ===&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Chamfer&amp;#039;&amp;#039;&amp;#039; - Angled edge (45 degrees typical), easier to print&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Fillet&amp;#039;&amp;#039;&amp;#039; - Rounded edge, stronger, looks better, slower to print&lt;br /&gt;
&lt;br /&gt;
Use fillets for stress concentration areas (corners that bear load).&lt;br /&gt;
&lt;br /&gt;
=== Threaded Holes ===&lt;br /&gt;
&lt;br /&gt;
Instead of thread-forming screws, design threads into plastic:&lt;br /&gt;
&lt;br /&gt;
* M3 thread = 3.0mm outer diameter, 0.5mm pitch&lt;br /&gt;
* Add &amp;#039;&amp;#039;&amp;#039;Helix&amp;#039;&amp;#039;&amp;#039; feature (spiral) and &amp;#039;&amp;#039;&amp;#039;Subtract&amp;#039;&amp;#039;&amp;#039; to cut threads&lt;br /&gt;
* Requires high resolution (0.1mm layers) to print clearly&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Easier alternative:&amp;#039;&amp;#039;&amp;#039; Use heat-set inserts (metal threaded inserts melted into plastic).&lt;br /&gt;
&lt;br /&gt;
=== Assemblies with Motion ===&lt;br /&gt;
&lt;br /&gt;
Design parts that move (hinges, gears, linkages):&lt;br /&gt;
&lt;br /&gt;
* Add clearance for rotation (0.3mm radial clearance for shafts)&lt;br /&gt;
* Use &amp;#039;&amp;#039;&amp;#039;Snap fits&amp;#039;&amp;#039;&amp;#039; - flexible tabs that lock parts together&lt;br /&gt;
* Use &amp;#039;&amp;#039;&amp;#039;Living hinges&amp;#039;&amp;#039;&amp;#039; - thin flexible sections (0.3-0.5mm thick)&lt;br /&gt;
&lt;br /&gt;
=== Library of Standard Parts ===&lt;br /&gt;
&lt;br /&gt;
Don&amp;#039;t redesign screws and nuts - import models:&lt;br /&gt;
&lt;br /&gt;
* [https://grabcad.com/ GrabCAD] - Free CAD library&lt;br /&gt;
* [https://www.mcmaster.com/ McMaster-Carr] - CAD models for every fastener&lt;br /&gt;
* FreeCAD Fasteners Workbench - Built-in screw library&lt;br /&gt;
&lt;br /&gt;
== Part 10: Studying Existing Designs ==&lt;br /&gt;
&lt;br /&gt;
Learn from [[SimpleBot]] CAD files:&lt;br /&gt;
&lt;br /&gt;
# Download SimpleBot repository (symlinked at ./simplebot/)&lt;br /&gt;
# Open FreeCAD files (.FCStd) in CAD software&lt;br /&gt;
# Study how parts fit together&lt;br /&gt;
# Measure features with &amp;#039;&amp;#039;&amp;#039;Measure&amp;#039;&amp;#039;&amp;#039; tool&lt;br /&gt;
# Modify and remix designs for your own robot&lt;br /&gt;
&lt;br /&gt;
=== What to Look For ===&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Hole placements&amp;#039;&amp;#039;&amp;#039; - How are mounting holes spaced?&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Tolerances&amp;#039;&amp;#039;&amp;#039; - What clearances are used for screws and shafts?&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Wall thicknesses&amp;#039;&amp;#039;&amp;#039; - How thick are structural parts?&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Assembly method&amp;#039;&amp;#039;&amp;#039; - How do multiple parts attach?&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Wire routing&amp;#039;&amp;#039;&amp;#039; - Where do wires pass through?&lt;br /&gt;
&lt;br /&gt;
== Part 11: Design Principles for Robotics ==&lt;br /&gt;
&lt;br /&gt;
=== Minimize Part Count ===&lt;br /&gt;
&lt;br /&gt;
Fewer parts = faster assembly, fewer failures:&lt;br /&gt;
&lt;br /&gt;
* Combine multiple features into one part (mount + bracket = one piece)&lt;br /&gt;
* Use snap fits instead of screws where appropriate&lt;br /&gt;
* Design parts to be 3D printable in one piece&lt;br /&gt;
&lt;br /&gt;
=== Design for Assembly ===&lt;br /&gt;
&lt;br /&gt;
Make parts easy to put together:&lt;br /&gt;
&lt;br /&gt;
* Use &amp;#039;&amp;#039;&amp;#039;alignment pins&amp;#039;&amp;#039;&amp;#039; or &amp;#039;&amp;#039;&amp;#039;tabs&amp;#039;&amp;#039;&amp;#039; to position parts correctly&lt;br /&gt;
* Add &amp;#039;&amp;#039;&amp;#039;chamfers&amp;#039;&amp;#039;&amp;#039; to screw holes (guide screws in)&lt;br /&gt;
* Leave &amp;#039;&amp;#039;&amp;#039;clearance&amp;#039;&amp;#039;&amp;#039; for screwdriver or hex key access&lt;br /&gt;
* Print &amp;#039;&amp;#039;&amp;#039;assembly instructions&amp;#039;&amp;#039;&amp;#039; into parts (arrows, labels)&lt;br /&gt;
&lt;br /&gt;
=== Design for Serviceability ===&lt;br /&gt;
&lt;br /&gt;
Robots need maintenance and upgrades:&lt;br /&gt;
&lt;br /&gt;
* Don&amp;#039;t trap components inside (leave access holes)&lt;br /&gt;
* Use standard fasteners (M3 screws are common)&lt;br /&gt;
* Make fragile parts replaceable (separate wheel mounts from chassis)&lt;br /&gt;
* Route wires through channels or clips (prevent tangling)&lt;br /&gt;
&lt;br /&gt;
=== Design for Strength ===&lt;br /&gt;
&lt;br /&gt;
Identify stress points and reinforce them:&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Thin sections&amp;#039;&amp;#039;&amp;#039; break easily (use minimum 2mm thickness)&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Sharp corners&amp;#039;&amp;#039;&amp;#039; concentrate stress (add fillets)&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Cantilever beams&amp;#039;&amp;#039;&amp;#039; need support (add ribs or gussets)&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Print orientation&amp;#039;&amp;#039;&amp;#039; affects strength (layers are weak in shear)&lt;br /&gt;
&lt;br /&gt;
== Part 12: Resources and Next Steps ==&lt;br /&gt;
&lt;br /&gt;
=== Learn More CAD ===&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;FreeCAD Tutorials&amp;#039;&amp;#039;&amp;#039; - [https://www.freecadweb.org/wiki/Tutorials Official wiki tutorials]&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Fusion 360 Tutorials&amp;#039;&amp;#039;&amp;#039; - [https://www.autodesk.com/products/fusion-360/learn Autodesk Learning]&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;YouTube Channels&amp;#039;&amp;#039;&amp;#039; - Maker&amp;#039;s Muse, Teaching Tech, 3D Printing Nerd&lt;br /&gt;
&lt;br /&gt;
=== Practice Projects ===&lt;br /&gt;
&lt;br /&gt;
# Design a custom sensor mount for your robot&lt;br /&gt;
# Design a battery holder for 4× AA batteries&lt;br /&gt;
# Design a motor mount with gear reduction&lt;br /&gt;
# Design a robot arm with 2 servos&lt;br /&gt;
# Study and remix [[SimpleBot]] chassis&lt;br /&gt;
&lt;br /&gt;
=== Advanced Topics ===&lt;br /&gt;
&lt;br /&gt;
* [[Gear Ratio Calculation]] - Design gear trains for speed/torque&lt;br /&gt;
* [[Kinematics Tutorial]] - Calculate robot motion from wheel speeds&lt;br /&gt;
* [[Inverse Kinematics]] - Multi-DOF robot arm calculations&lt;br /&gt;
* [[FEA Tutorial]] - Simulate stress in parts (advanced)&lt;br /&gt;
&lt;br /&gt;
=== Related Competencies ===&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;[[3D Printing]]&amp;#039;&amp;#039;&amp;#039; - Fabricate your designs&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;[[Mechanics]]&amp;#039;&amp;#039;&amp;#039; - Understand forces and motion&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;[[Electronics]]&amp;#039;&amp;#039;&amp;#039; - Design mounts for sensors and motors&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;[[Soldering]]&amp;#039;&amp;#039;&amp;#039; - Assemble electronics that mount to your parts&lt;br /&gt;
&lt;br /&gt;
== Troubleshooting ==&lt;br /&gt;
&lt;br /&gt;
=== CAD Issues ===&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Sketch won&amp;#039;t close?&amp;#039;&amp;#039;&amp;#039; Check for gaps or overlapping lines&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Can&amp;#039;t pad sketch?&amp;#039;&amp;#039;&amp;#039; Sketch must be fully constrained&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Part disappeared?&amp;#039;&amp;#039;&amp;#039; Check if hidden (press &amp;quot;Space&amp;quot; to toggle visibility)&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Changes don&amp;#039;t update?&amp;#039;&amp;#039;&amp;#039; Press &amp;quot;F5&amp;quot; to recompute all features&lt;br /&gt;
&lt;br /&gt;
=== Print Issues ===&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Parts don&amp;#039;t fit?&amp;#039;&amp;#039;&amp;#039; Add 0.2mm clearance for sliding fits&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Screw holes too tight?&amp;#039;&amp;#039;&amp;#039; Increase diameter by 0.2mm&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Parts warp?&amp;#039;&amp;#039;&amp;#039; Increase bed adhesion (brim, glue stick, hairspray)&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Supports won&amp;#039;t remove?&amp;#039;&amp;#039;&amp;#039; Increase support gap to 0.2mm&lt;br /&gt;
&lt;br /&gt;
=== Design Issues ===&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Part too weak?&amp;#039;&amp;#039;&amp;#039; Increase wall thickness or add ribs&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Motor vibration causes loosening?&amp;#039;&amp;#039;&amp;#039; Add threadlocker or locknut&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Wires tangled?&amp;#039;&amp;#039;&amp;#039; Add wire routing channels or clips&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Parts misaligned?&amp;#039;&amp;#039;&amp;#039; Add alignment pins or reference surfaces&lt;br /&gt;
&lt;br /&gt;
== Summary Checklist ==&lt;br /&gt;
&lt;br /&gt;
By now, you should be able to:&lt;br /&gt;
&lt;br /&gt;
* ☐ Measure parts accurately with calipers&lt;br /&gt;
* ☐ Create sketches and extrude them into 3D parts&lt;br /&gt;
* ☐ Design mounting holes with correct clearances&lt;br /&gt;
* ☐ Add chamfers and fillets to edges&lt;br /&gt;
* ☐ Export STL files for 3D printing&lt;br /&gt;
* ☐ Design for printability (overhangs, bridging, supports)&lt;br /&gt;
* ☐ Test fit parts and iterate designs&lt;br /&gt;
* ☐ Create assemblies with multiple parts&lt;br /&gt;
* ☐ Design for strength and serviceability&lt;br /&gt;
&lt;br /&gt;
If you can check most of these boxes, you&amp;#039;re ready to design custom parts for your robot!&lt;br /&gt;
&lt;br /&gt;
== See Also ==&lt;br /&gt;
&lt;br /&gt;
* [[Mechanics]] - Full competency overview&lt;br /&gt;
* [[SimpleBot]] - Apply your skills to build a robot&lt;br /&gt;
* [[3D Printing]] - Fabrication techniques for your designs&lt;br /&gt;
* [[Gear Ratio Calculation]] - Design gear trains&lt;br /&gt;
* [[Robotics Ontology]] - How mechanical design fits into BRS&lt;br /&gt;
&lt;br /&gt;
[[Category:Tutorials]]&lt;br /&gt;
[[Category:Mechanics]]&lt;br /&gt;
[[Category:Beginner]]&lt;/div&gt;</summary>
		<author><name>John</name></author>
	</entry>
</feed>