MyBenchLab Documentation Open editor

Crank (lever)

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

Rigid arm that rotates around a pivot. The pivot sits at the component origin; the arm extends along the local +X axis for length mm. Same single rotational port as a shaft, different visual footprint.

Parameters

Parameters schema

ParameterTypeDefaultConstraints
lengthNumber60
widthNumber12
thicknessNumber6
pivotDiameterNumber8

Ports

PortTypeDescription
axisrotationalRotational port at the pivot. Spin axis is local Z.

Kinematics

Passive — no propagation rule of its own. The connection at the pivot (typically mech.couple to a shaft) drives the arm's rotation; the tip traces a circle of radius length.

Example

crank "C1" {
  length: 60
  width: 12
  thickness: 6
}

engine apiVersion · 1

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