For all the downloads, follow the format "Robot_NAME.glb" and "Robot_NAME.json”
While Onshape includes an export option for glTF, this often produces very large files that are difficult to manage. Instead, it is recommended to export from Onshape to STEP, then follow the instructions in the next section to convert to glTF.
After opening the Onshape file, right-click on the main assembly and choose "Export...":
In the options pop-up, ensure that the export format is "STEP" and click "Export":
Wait for the file to convert and download. This may take a few minutes.
Download CAD Assistant. This free application is able to convert between many 3D formats, including STEP and glTF.
Open CAD Assistant and select the STEP file to convert:
Wait for the STEP file to import. This may take a few minutes.
Click the "Save" icon:
Click on the saved STEP file then choose a save location, then use the drop-down to switch the export format to "glb":
Click the gear icon, then enable "Merge faces within the same part":
Click the "Save" icon and wait for the export to finish:
8) Open AdvantageScope and click on “help” , then click on “Show FRC Data Folder” then move/copy both the glb and the json to the folder
9) Close and Reopen AdvantageScope
10 Open WPILIB and got to the Run and Debug Tab and click on the Green Arrow to start simulation.
11) Make sure SIM GUI is checked off and hit the “OK” Button
12) Run simulator in VSCode, once loaded click “file” inside AdvantageScope and then click “connect to simulation”
13) A menu appears on the left full of options.
14) In the menu click on the arrows to the left of the name (AdvantageKit, RealOutputs, Odometry)
15) Drag “Robot” into 2D Poses
16) The Robot should appear on the field, If it does not appear consult the manual. (