Skip to content

1D: Design Methodology - Simple Swerve Drivebase

Top Down Design Methodology

When designing a model in CAD, there are two high level strategies that can be employed: top-down and bottom-up. Top-down design employs high level, low detail sketches to dictate the design, and then refining details and components within that framework. Conversely, bottom-up design involves creating individual components or parts separately and then assembling them to form the final product.

Top-down design offers a holistic approach, allowing for better system integration, consistency, and is more parametric. Bottom-up design offers flexibility and independence in designing individual parts. In FRC robot design, top-down approach is favored as system integration is often the most challenging aspect. Top-down ensures that the robot architecture dictates part design.

Main Layout Sketch

To achieve this, a main layout sketch is utilized. Sometimes these are also referred to as "master" sketches. The main layout sketch is a series of sketches that capture the major dimensions of each mechanism, field element interactions, and robot size constraints. Then, the main layout sketch(es) are inserted into each mechanism's part studio and the individual components are then modeled around the imported layout sketch. More information on layout sketches can be found on the Layout Sketch Best Practices page.

Example Main Layout Sketch

Example of robot main layout sketches. Each mechanism has a number of layout sketches that capture the important details. (Photo Credit: FRC 3647)

Origin Placement and Origin Cube

To fully utilize layout sketch top-down design, we must choose a unified origin for all part studios. Utilizing the same origin as the main layout sketch across all part studios and assemblies is twofold:

  1. The origin will always be a consistent central point you can reference. This helps keep things parametric too.
  2. To unify the robot CAD and robot software origin point. By having the same origin in CAD and code, the robot can be seamlessly exported to AdvantageScope and camera transformations more easily measured.

Note

Although definitions may vary from team to team, the origin of an FRC robot is typically defined as the center of the drivebase, on floor level.

To achieve this, we use the Origin Cube Featurescript which generates a transparent 2" cube at the origin and provides several useful constants and functions that have already been used in previous stage.

The Origin Cube will become very useful later on for assembly mating but for now all you need to remember is that the Origin Cube should be the first feature in all part studios. You can read more about the Origin Cube on the assembly best practices page.