Skip to content
learnFRC.org
designlessonbeginner25 min

FRC Featurescripts & COTS Libraries

Install community-standard Featurescripts for tube conversion, plate carving, and belt calculation, and configure the FRCDesignLib COTS library via FRCDesignApp.

What you will learn

  • Add essential FRC custom Featurescripts to your Onshape toolbar.
  • Understand the role of Tube Converter, Plate Carve, and Belt Generator scripts.
  • Insert COTS motors, gearboxes, and bearings from FRCDesignLib without bloating document size.

Prerequisites:Sketching & Bracket Modeling Basics

Onshape’s native feature set (Extrude, Revolve, Sweep, Loft) is designed for general mechanical engineering. In FRC robotics, designers repeatedly model standard structural elements: 2x1 box tubing with 0.500-inch hole grids, lightened bellypans, and exact center-distance timing belt runs.

Featurescripts are custom algorithmic CAD features written in Onshape’s programming language. Installing community-tested FRC Featurescripts speeds up mechanism design by 5x while preventing manual calculation mistakes.

Add to Custom Feature Toolbar

When viewing a Featurescript document in Onshape, click the Custom Features button (+) at the top of your toolbar to pin the script directly to your persistent modeling menu.

FeaturescriptAuthorPrimary Function in FRC CAD
Tube ConverterJulia Schwartz (FRC 1678)Turns 2D layout lines or solid boxes into standard 2x1 or 1x1 6061-T6 box tubing with corner radii and optional hole grids.
Plate CarveNick ArestovLightens structural bellypans and plates using parametric pocketing and web thicknesses.
Belt GeneratorJulia Schwartz (FRC 1678)Computes pitch center distances and generates 3D HTD 5mm and GT2 timing belts with pulley teeth.
Chain GeneratorMarcus BernsteinGenerates ANSI #25 and #35 roller chain paths and computes exact pitch-link center distances.
Fillet EverythingFRC 1678Automatically applies CNC router-friendly corner fillets to all inside plate pockets for 1/8” or 4mm endmills.

2. Installing COTS Libraries via FRCDesignApp

Section titled “2. Installing COTS Libraries via FRCDesignApp”

Rather than downloading STEP files from vendor websites and importing them individually (which bloats document size and lacks mate connectors), use the FRCDesignApp integration for Onshape:

  1. Open the Onshape App Store and search for FRCDesignApp.
  2. Click Subscribe (free) and authorize access to your educational workspace.
  3. Open any Onshape Assembly tab. Notice the FRCDesignApp icon on the right-hand flyout panel.
  4. Browse the catalog: REV Robotics (ION, Spark Flex, NEO), CTRE (Kraken X60, CANcoders), WCP (Swerve X, gearboxes), and AndyMark.
  5. Inserting a component places an optimized, lightweight model pre-configured with Fastened and Revolute mate connectors at all mounting holes and output shafts.

Confirm your toolset configuration before moving to master sketches:

  1. Create a test Part Studio and draw a 10.0-inch horizontal construction line.
  2. Run the Tube Converter Featurescript on the line. Confirm it generates a 2” x 1” rectangular hollow profile with 0.125” wall thickness and proper corner radii.
  3. Open an Assembly tab, launch FRCDesignApp, and insert a 1/2” hex flanged bearing from FRCDesignLib. Verify the bearing includes standard mate connectors centered on the flange face and inner race.

Verified Sources & Standards

Evergreen Standard Verified: Sep 25, 2026