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.
Master Sketch
To achieve this, a master sketch is utilized. A master sketch is a series of sketches that capture the major dimensions of each mechanism, field element interactions, and robot size constraints. Then, the master 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 master sketches can be found on the Master Sketch Best Practices page.
Example Master Layout Sketch
Origin Placement and Origin Cube
To fully utilize master sketch top-down design, we must choose a unified origin for all part studios. Utilizing the same origin as the master sketch across all part studios and assemblies is twofold:
- The origin will always be a consistent central point you can reference. This helps keep things parametric too.
- 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.