Skip to content
Video course · Lesson 1 60 min

Your First Part in Onshape

Start from a blank document and build a practice mounting plate step by step: navigate the 3D view, draw a fully defined sketch, extrude it, then add holes, fillets and a variable that controls the thickness.

VIDEO COMING SOON

Our team is preparing this lesson. Written materials and practical exercises are available below.

In this lesson you will

  • Create a new Onshape document and set its units to millimetres
  • Rotate, pan and zoom the view using the mouse and shortcut keys
  • Draw a sketch and fully define it with dimensions and constraints
  • Turn the sketch into a solid using extrude, hole and fillet features
  • Use a variable to control a dimension and update the part in one place

Lesson

In this lesson you build one real part from start to finish: a flat mounting plate with two holes and rounded corners. Plates and spacers like this hold sensors, motors and electronics on almost every FTC robot, so the steps you practise here are the same ones you will use all season. Follow along in your own document; reading is not enough, your hands need to learn where the tools are.

Step 1: Create the document

  1. 1
    Create
    Sign in to Onshape, click Create and choose Document. Name it with your team number and Practice plate.
  2. 2
    Check units
    Open the document menu (top left) and choose Workspace units. Set length to millimetres so every number you type means the same thing.
  3. 3
    Rename the tab
    A new document opens a Part Studio tab. Right-click the tab at the bottom of the screen, choose Rename and call it Plate.

Step 2: Learn to move around

ActionHowWhen you need it
RotateHold the right mouse button and dragSeeing a part from different sides
PanHold the middle button (or Ctrl and right button) and dragSliding the view without turning it
ZoomScroll the wheel; zoom goes towards the cursorGetting close to small edges and holes
Zoom to fitPress FWhen the part disappears off screen
Look straight at a sketchPress N while sketchingDrawing and dimensioning flat geometry
Sketch52ConstrainExtrudePartAssembly
Every part follows the same path: sketch, constrain, extrude, add features, and later place the part in an assembly.

Step 3: Sketch with dimensions and constraints

  1. 1
    Start a sketch
    Click the Top plane in the feature list, then click Sketch. Press N to look straight at it.
  2. 2
    Draw the outline
    Choose Center point rectangle and click on the origin first, then drag out a rectangle. Starting on the origin keeps the plate centred.
  3. 3
    Dimension it
    Choose Dimension (shortcut D), click the top edge, place the number and type a width. Do the same for a side edge. Practice values such as 60 mm by 30 mm work well.
  4. 4
    Place hole centres
    Use the Point tool to place two points inside the rectangle. Add a Horizontal constraint between them, then dimension the distance between them and from one point to the origin.
  5. 5
    Check the colour
    When every line and point turns black, the sketch is fully defined. Click the green check mark to close the sketch.

Step 4: Create a variable, then extrude

A variable is a named number you can reuse in any feature. Instead of typing the plate thickness in three places, you type it once. Click the Variable tool in the toolbar, name it thickness and give it a value such as 4 mm. The variable must sit above the features that use it in the feature list.

TEXT
1Variable:      thickness = 4 mm
2Extrude depth: #thickness
3Fillet radius: #thickness / 2
4Hole points:   the two sketch points from Step 3
Values typed into feature dialogs for the practice plate
  1. 1
    Extrude
    Select the sketch region, click Extrude, keep New selected and type #thickness as the depth. Confirm with the green check.
  2. 2
    Add holes
    Click Hole, choose Simple and select the two sketch points as locations. Pick a diameter (a practice value such as 5 mm is fine here) and set the end to Through.
  3. 3
    Round the corners
    Click Fillet, select the four short vertical edges at the corners and type #thickness / 2 as the radius. Rounded corners are safer to handle and stronger when 3D printed.

Now test your design: double-click the variable in the feature list and change it to 6 mm. The plate should get thicker and the fillets larger, with no red errors. Then change the width dimension in your sketch. If anything breaks, the sketch was probably not fully defined, so go back and fix it. A part that survives changes like this is said to have good design intent.

Key terms

Sketch
A 2D drawing on a plane or flat face that becomes the base of a 3D feature.
Constraint
A geometric rule in a sketch, such as horizontal, equal or coincident, that fixes how shapes relate to each other.
Fully defined
A sketch state, shown in black, where every line and point is locked by dimensions and constraints.
Extrude
A feature that pulls a closed sketch region into a 3D solid by a chosen depth.
Variable
A named value, written as #name in dialogs, that can drive many dimensions from one place.

Practical exercise

Build the practice plate

  1. 1Create a document named with your team number and Practice plate, and set workspace units to millimetres.
  2. 2Sketch a centred rectangle with two hole points on the Top plane and make the sketch fully defined.
  3. 3Create a thickness variable and extrude the plate using #thickness as the depth.
  4. 4Add two through holes on the sketch points and fillet the four corner edges using #thickness / 2.
  5. 5Change the variable to a new value and the width dimension, and confirm the part rebuilds with no errors.
Deliverable: An Onshape document with a fully defined, variable-driven practice plate, plus two screenshots in your engineering notebook showing it at two different thickness values.

Knowledge check

Answer every question, then check your answers.

  1. Q1Part of your sketch is still blue. What does that tell you?
  2. Q2How do you use a variable called thickness as an extrude depth?
  3. Q3Which feature rounds the sharp corners of your plate?
  4. Q4Your part has spun off screen and you cannot find it. What is the quickest fix?

Further resources

Mark lesson complete