Skip to the content
LearnClasses, newPathsTools

394 lessons across 11 departments, from swerve geometry to the Impact Award essay. Written by a high-school student who needed this and couldn’t find it. Free to read, no account needed.

New lessons in your inbox

One email when something worth reading goes up. No other mail, ever.

Learn

  • Guides
  • Live classes
  • Articles
  • Learning paths
  • Glossary
  • Tools and calculators
  • Resources

Team

  • For teams
  • Dashboard
  • Leaderboard
  • Sign in
  • Get started

The record

  • Who made this
  • Contributions
  • Corrections
  • Contact
  • Teach a class

Elsewhere

  • LearnFRC for iPhone and iPad
  • LearnFRC Discord
  • LearnFRC on GitHub
  • FIRST Inspires
  • WPILib docs
  • Chief Delphi
  • The Blue Alliance

Lessons are AI-assisted: drafted from primary sources like the WPILib docs, the game manual and vendor sites, then reviewed for accuracy. If something looks wrong, open the lesson and suggest an edit. Every open suggestion is public on the contributions page, and every fix we make to a fact is written down in the corrections log.

© 2026 LearnFRC. Built by Jahaan Pardhanani. Not affiliated with or endorsed by FIRST®.

PrivacyTerms29pardhananij@sagehillschool.org394 lessons in 11 departments

LearnFRC is an independent project. FIRST®, FIRST® Robotics Competition, FRC®, FIRST® Tech Challenge, FTC®, Gracious Professionalism®, and Coopertition® are registered trademarks of FIRST® (www.firstinspires.org) which is not overseeing, involved with, or responsible for this activity, product, or service.

  1. Guides
  2. CAD & Design
  3. Common Mistakes & Troubleshooting

Broken In-Context & Derived References

2 min readLesson 2 of 5Not done yet

Understand why in-context edits and derived parts go stale, and adopt the version-locked derive workflow that keeps a multi-Part-Studio robot coherent.

As robots grow, teams split work across many Part Studios and pull geometry between them with Derived features and in-context edits. Done carelessly, this is where models silently go wrong.

Symptom: an in-context part stops updating when the master changes. In-context geometry is captured against a specific assembly context. If you edit the source after that context was created, the dependent part keeps using the old snapshot. Fix: update the context: right-click the part in the Assembly and choose Update context, or in the Part Studio open the three-dot menu on the Assembly contexts list and choose Update context: or, better, migrate to a derive-from-version workflow so the dependency is explicit.

Symptom: a Derived part shows an out-of-date or broken reference after the source edits. Derive grabs specific entities; rename or delete the source face/sketch and the derive loses them. Fix: re-edit the Derived feature and re-select, or derive whole parts/sketches (more stable than deriving individual faces).

The durable workflow (used by advanced teams): derive from a version, not live. In Onshape you can create a Version of the document, then point a Derive feature at that version, even within the same document. The downstream Part Studio only changes when you deliberately bump it to a new version. This gives you reproducibility (a teammate opening the file sees exactly what you saw) and it can improve performance, because Onshape treats a version as immutable/static instead of recomputing the live source.

Pattern for a robot: keep one Master Sketch/Layout Part Studio that holds critical dimensions. Version it. Each subsystem Part Studio derives the relevant layout sketch from that version. When the layout changes, you make a new version and update each subsystem's derive on purpose, no surprise breakage mid-build.

Debugging checklist when a reference breaks: (1) Identify whether it is in-context or derived (the icon differs). (2) Check whether the source was renamed/deleted. (3) Prefer re-selecting whole entities over faces. (4) If it is live-derived and keeps breaking, convert to derive-from-version. (5) Communicate to the team that the layout version bumped, so no one is editing an old context.

The root cause is almost always an undisciplined dependency graph; the cure is making every cross-Part-Studio link explicit and version-locked.

Key takeaways

  • In-context geometry is a snapshot; it goes stale unless you update the context or move to derive-from-version
  • Derive whole parts/sketches rather than individual faces so renames don't orphan references
  • Version your master layout and derive subsystems from that version for reproducibility and steadier performance

Quiz

3 questions. No account needed.

Get all 3 right to finish the lesson. Miss one and only that question comes back: anything you already got right stays banked.

Question 1 of 3

In Onshape, when the source assembly used to create an in-context feature changes, what happens to that in-context reference?

0 of 3 answered

Finish this lesson

3 questions, saved in this browser

Lesson 23 of 31 in CAD & Design. Pass the quiz and it's marked done, saved in this browser. No sign-up needed.

Got an account? Log in or create one free

Take the quiz

Sources

  • FRCDesign.org Learning Course: Top Down Design (layout-driven) (opens in a new tab)frcdesign.org
  • Onshape Help: Performance Considerations (opens in a new tab)cad.onshape.com
  • Onshape Forum: strategies to address slow regeneration (opens in a new tab)forum.onshape.com

This lesson is AI-assisted: drafted from primary sources, then reviewed and edited by hand. Errors still get through. When one is reported we fix it and write down what changed, in public, in the corrections log.

Spotted a mistake?Make a free account to suggest an edit
Previous lessonMate & Assembly Failures: Why Parts Float, Spin, or Won't MoveNext lessonSlow Regeneration in Big Drivebase Assemblies

Lesson 2 of 5 in Common Mistakes & Troubleshooting, part of CAD & Design. New to CAD & Design? Start at lesson one.

All 31 lessons in CAD & Design

CAD Foundations: Spatial Thinking and Drawings

  • Not done yet:Thinking in 3D: Coordinate Systems and Views
  • Not done yet:Orthographic Projection and Engineering Drawings
  • Not done yet:Dimensions, Tolerances, and Units

Getting Started: CAD Software and the Design Process

  • Not done yet:Why FRC Teams CAD Their Robots
  • Not done yet:Choosing CAD Software: Onshape, SolidWorks, Fusion, Inventor
  • Not done yet:The Engineering Design Process in FRC

Onshape Fundamentals: Sketches, Parts, and Assemblies

  • Not done yet:Setting Up Onshape and Navigating Documents
  • Not done yet:Sketching: The Foundation of Every Part
  • Not done yet:Building Parts with Features
  • Not done yet:Assemblies and Mates

Vendor Libraries (FRCDesignLib) and FeatureScripts

  • Not done yet:Using Vendor CAD and Commercial Off-the-Shelf (COTS) Parts
  • Not done yet:FRCDesignLib: The Onshape FRC Parts Library
  • Not done yet:FeatureScripts: Automating FRC CAD

Manufacturability, Drawings, BOMs, and Design Reviews

  • Not done yet:Design for Manufacturability (DFM) in FRC
  • Not done yet:Drawings and Manufacturing Documentation
  • Not done yet:Bills of Materials (BOMs) and Purchasing
  • Not done yet:Design Reviews: Catching Problems Early

Worked Examples & Mini-Projects

  • Not done yet:Mini-Project 1: A Layout-Sketch-Driven Swerve Drivebase
  • Not done yet:Mini-Project 2: A Single-Stage NEO/Kraken Gearbox
  • Not done yet:Mini-Project 3: A Pivoting Arm on 2x1 Tube
  • Not done yet:Mini-Project 4: A Lightened Structural Plate

Common Mistakes & Troubleshooting

  • Not done yet:Mate & Assembly Failures: Why Parts Float, Spin, or Won't Move
  • Not done yet:Broken In-Context & Derived References
  • Not done yet:Slow Regeneration in Big Drivebase Assemblies
  • Not done yet:Manufacturability Mistakes That Become Scrap
  • Not done yet:Version Control & Team Collaboration Disasters

Advanced Techniques & Case Studies

  • Not done yet:Configurations vs. Parametric Variables: Designing One Model, Many Robots
  • Not done yet:FeatureScript Automation for FRC
  • Not done yet:Browser-Based FEA: Weight-Optimizing Real Structures
  • Not done yet:Swerve System Geometry & Motion Math
  • Not done yet:Case Study: FRC 6328's Modular Gusset-and-Tube Methodology
2 articles that go further on this

The lesson gets you through the topic. These go wider on it, and each reads in one sitting.

  • WPILib Won't Deploy: Every Cause and How to Fix It

    Your WPILib deploy is failing? Work the decision tree: wrong folder in VS Code, team number, roboRIO image, JDK version, macOS network privacy. Fixes for each.

    13 min read
  • FRC Onshape Tutorial: How to CAD Your First Robot Part

    A beginner Onshape tutorial for FRC: sign up free, learn Part Studios and Assemblies, sketch and extrude your first part, and pull in COTS parts.

    8 min read

Module

Common Mistakes & Troubleshooting

  1. Mate & Assembly Failures: Why Parts Float, Spin, or Won't Move
  2. Broken In-Context & Derived References
  3. Slow Regeneration in Big Drivebase Assemblies
  4. Manufacturability Mistakes That Become Scrap
  5. Version Control & Team Collaboration Disasters

All 31 CAD & Design lessons

On this page

  • Key takeaways
  • Quiz
  • Sources

Your progress

Finish a lesson and it gets counted here. No account needed.

On this page

  • Key takeaways
  • Quiz
  • Sources