A robot arm needs to rotate around the same pin after you shrink its model. This example has a 30 cm arm, a silver hinge, and an orange tip. The deliberately detailed 4096 px finish makes it a texture-heavy test case. The model and its generator are available under CC0.
Download the optimized lift arm (676 KiB) · Download the Blender source generator
For importers without a Draco decoder, try the core glTF version (63 KiB). We made it from the same source with Draco off and JPEG at 1024 px and 75% quality. It has no required glTF extensions and passed the same pivot check in ftcsim.
Generate and compress the arm
From the folder containing the downloaded script, run this command with Blender. We used Blender 4.3.2.
blender --background --factory-startup --python lift_arm.pyOpen OptimizeGLB, select lift-arm.glb, choose Compatible, and run it. This uses Draco geometry compression and WebP textures at 90% quality, resized to fit 2048 px. Leave Simplify, Join, Flatten, and Instance off. Use Compare to inspect the surface and the pin, then download the GLB.
What changed in our test
The original was 36,890,728 bytes. The output was 691,732 bytes, a 98.1% reduction. Most of the input was the texture. An untextured CAD model can give a very different result.
Check the hinge in ftcsim
Open the Driver Station settings, choose a custom mechanism, and add the downloaded GLB under Model & origin. Set the zero position at the hinge. In Motion, choose rotation about the robot Y axis. Apply the mechanism to your configured hardware and move it through its range. The silver pin should stay put while the orange tip traces an arc.
We loaded both files with the Driver Station’s model loader and mechanism renderer from ftcsim 0.1.0.post4. At 0° the tip was 300 mm from the pivot. At 60° it had moved 300 mm from its starting point while the pin stayed at the origin. Both files returned the same coordinates at both angles. This checks model placement and motion in the renderer. Motor behavior depends on your robot configuration.
The ftcsim guide suggests aiming for about 20 MB per model. If your file is still large, check the textures and remove hidden CAD internals before simplifying the silhouette.