"fix12" - mkraska/meclib GitHub Wiki

[ "fix12", "name", [x, y], angle, state ]

fixed bearing with label, horizontal base line for angle = 0

  • "name" label, typeset in MathJax math mode.
  • [x, y] pivot point
  • angle angle counter-clockwise from horizontal direction, in °
  • state (optional, default: "locked") "hide" or "show". If missing, object can't be switched interactively.

See Feedback for "fix12" for feedback functions in free body diagrams.

image

[
  [ "grid", "","", -5,5,-4,5, 50, [10,10], [0,0] ],
  [ "fix12", "A", [-2, 2], 0 ],
  [ "label", "pivot point", [-2.5,2.3] ],
  
  [ "fix12", "B", [0, 2], -45 ],
  [ "label", "pivot point", [-0.5,2.3] ],
  
  [ "fix12", "C", [2, 2], -90 ],
  [ "label", "pivot point", [2,2.3] ]
]

image

[
  [ "grid", "","", -5,5,-4,5, 50, [10,10], [0,0] ],
  [ "fix12", "A", [-2, 2], 0, "hide" ],
  [ "label", "pivot point", [-2.5,2.3] ]
]