MyBenchLab Documentation Open editor

Sprocket

Component kind sprocket (category mech, DSL name sprocket, API v1)

Toothed wheel that engages a chain without slipping. Pairs with another sprocket via mech.chain; the ratio is driven by tooth counts (not diameters, unlike pulleys).

Parameters

Parameters schema

ParameterTypeDefaultConstraints
teethNumber18min: 6
pitchNumber8min: 1
widthNumber6min: 1
boreDiameterNumber8
colorString

Ports

PortTypeDescription
axisrotationalSpin axis (rotational). Receives ω from the coupling or chain propagation.

Kinematics

Passive — ω is set by the chain or coupling attached to the axis port. Theta integrates from ω each tick.

Example

sprocket "S1" {
  teeth: 18
  pitch: 8
  at: position(0, 0, 0)
}

engine apiVersion · 1

Want to see this component in 3D with live parameter controls? Open the interactive preview.