Before using automated FRC Featurescripts, every robot designer must understand how parametric 3D CAD creates solid geometry from 2D sketches. Automated scripts generate tubing and plates behind the scenes, but when a custom gearbox plate or intake pivot requires manual editing, you need fluent control of sketch planes, constraints, and dimensions.
In this lesson, you will build a structural 90-degree aluminum corner gusset bracket in Onshape from scratch.
Every sketch entity must turn black (fully constrained) before you exit the sketch. Leaving lines blue (under-constrained) allows geometry to shift unpredictably when upstream dimensions change, breaking downstream assemblies.
1. Sketch Planes and Viewport Orientation
Section titled “1. Sketch Planes and Viewport Orientation”Every 3D feature starts with a 2D sketch placed on a planar face or reference plane.
- Create a Part Studio: Inside your team Onshape document, click the bottom + tab and select Create Part Studio.
- Select the Top Plane: Click the Top plane in the feature tree or viewport.
- Start a Sketch: Press
Shift + Sor click the Sketch button on the top toolbar. - View Normal to Sketch: Press
Non your keyboard. The camera swings perpendicular to the sketch plane, eliminating perspective distortion.
2. Geometric Constraints Over Raw Dimensions
Section titled “2. Geometric Constraints Over Raw Dimensions”Geometric constraints define relationships between sketch entities without requiring numeric dimensions. Constraints calculate faster than dimensions and preserve design intent during edits.
| Shortcut | Constraint Name | Icon Role | Design Intent Example |
|---|---|---|---|
H | Horizontal | Enforces a line parallel to the X-axis | Keeping tube profile edges level |
V | Vertical | Enforces a line parallel to the Y-axis | Keeping vertical uprights plumb |
P | Perpendicular | Enforces a 90-degree corner | Making structural gusset flanges square |
T | Tangent | Smooth transition to an arc | Designing rounded bumper or cam contours |
E | Equal | Forces circles or lines to same size | Making all bolt holes identical diameter |
O | Coincident | Anchors points to lines or origins | Locking bracket corners to reference axes |
Always apply constraints before placing numeric dimensions. For example, if two flanges are symmetric, apply an Equal (E) constraint rather than typing the same dimension twice.
3. Hands-On Exercise: Modeling a 90-Degree Gusset Bracket
Section titled “3. Hands-On Exercise: Modeling a 90-Degree Gusset Bracket”Step 1: Draw the L-Shape Profile
Section titled “Step 1: Draw the L-Shape Profile”- Press
Lfor the Line tool. - Click the sketch origin
(0, 0)as the anchor point to establish coincidence. - Draw a rough 6-sided “L” shape. Do not worry about exact lengths yet. Ensure the horizontal and vertical constraint glyphs appear as you click each corner.
- Close the loop by clicking back onto the starting origin point. The interior of the profile will shade light grey, indicating a closed planar face.
Step 2: Add Driving Dimensions
Section titled “Step 2: Add Driving Dimensions”- Press
Dto activate the Dimension tool. - Click the bottom horizontal edge: set to 3.000 inches.
- Click the left vertical edge: set to 3.000 inches.
- Click the top horizontal flange edge: set to 1.000 inch.
- Click the right vertical flange edge: set to 1.000 inch.
- Notice all outer lines turn solid black. The outer boundary is fully constrained.
Step 3: Add Standard FRC Fastener Clearances
Section titled “Step 3: Add Standard FRC Fastener Clearances”FRC robots standardize on #10-32 machine screws for structural gussets and mechanism mounting:
- #10 Close Fit:
0.196 in(for precision reamed or CNC drilled holes) - #10 Free Fit (Standard FRC):
0.201 in(allows tolerance stack without binding) - 1/4”-20 Free Fit:
0.266 in(for heavy drivetrain and bumper mounts)
- Press
Cfor the Center Point Circle tool. - Place 5 circles on the bracket: two on the upper vertical flange, two on the lower horizontal flange, and one at the corner.
- Select all 5 circles and press
E(Equal constraint). - Press
D, click any one circle, and set the diameter to 0.201 inches. All five circles resize simultaneously. - Dimension the hole centers:
- Offset hole centers 0.500 inches from the outer plate edges.
- Set hole-to-hole spacing to 1.000 inch or 0.500 inches to align with standard FRC hole grid patterns.
- Verify all 5 circles turn solid black. Click the green checkmark to finish Sketch 1.
Step 4: Extrude the Solid Body
Section titled “Step 4: Extrude the Solid Body”- Press
Shift + Eor click Extrude on the toolbar. - Click inside the bracket face in the viewport.
- Set End condition to Blind.
- Set Depth to 0.125 inches (standard 1/8” aluminum plate).
- Ensure Solid and New are selected. Click the green checkmark.
- Right-click Part 1 in the parts list, select Rename, and name it
GUSSET_90_CORNER. - Right-click the part, select Assign material, and choose Aluminum 6061-T6. Onshape now calculates accurate part mass and center of gravity.
4. Verification and Rebuild Testing
Section titled “4. Verification and Rebuild Testing”A well-modeled parametric part can adapt to design changes without throwing rebuild errors.
The Measure Tool
Section titled “The Measure Tool”Click the small tape measure icon in the bottom right corner of the viewport (or press the measure shortcut).
- Click two hole centers: verify the center-to-center distance reads exactly 1.000 inch.
- Click the front and back flat faces of the bracket: verify the measured thickness is exactly 0.125 inches.
Parametric Rebuild Test
Section titled “Parametric Rebuild Test”- Double-click Sketch 1 in the feature tree to reopen it.
- Change the overall length dimension from 3.000 inches to 4.000 inches.
- Click the green checkmark.
- Observe the 3D model in the viewport. The bracket updates cleanly: holes remain 0.500 inches from the edge, thickness remains 0.125 inches, and zero red or orange warning flags appear in the feature tree.
- Reopen Sketch 1 and return the dimension to 3.000 inches.
Check Your Work
Section titled “Check Your Work”Before moving to custom Featurescripts, confirm your gusset bracket passes these criteria:
- Zero Blue Entities: Reopen Sketch 1. Every line, arc, and circle center must be solid black.
- Standard Clearances: Measure hole diameters. Every mounting hole must measure 0.201 inches.
- Mass Calculation: Click the balance scale icon in the bottom right of Onshape with the part selected. Confirm a mass of approximately 0.058 to 0.060 lbs (~0.95 oz / 27 g) for a 6061-T6 aluminum plate of this size.
- Rebuild Stability: Edit the thickness in Extrude 1 to 0.090 inches (sheet metal gauge). The part must update instantly without errors.
Verified Sources & Standards
- Onshape Learning Center - Introduction to Sketching & Part Designlearn.onshape.comHardware Vendor
- Community Reference