Back to docs

Catapult Projectile
A prpol catapult_projectile part

catapult_projectile() is a sphere with a flat bottom face so it prints cleanly.

Customizing catapult_projectile with OpenSCAD parameters

catapult_projectile is a sphere with a flat bottom face for stable printing:

catapult_projectile( diameter = 25, flatcut_height = 1.2, echo_parameters = true );
diameter projectile diameter in mm (default 25).
flatcut_height height of the flat bottom face in mm (default 1.2).
echo_parameters when true (default), the OpenSCAD console echoes the full parameter list when you preview or render the module.

If you leave a parameter out of the module call, that parameter will just have the default value. For example, these are all valid module calls:

catapult_projectile(); catapult_projectile(diameter=20); catapult_projectile(diameter=30, flatcut_height=2);