"fix123" - mkraska/meclib GitHub Wiki

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

Built-in support, constrains translation and rotation. Base line vertical 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.

Feedback for "fix123"

image

[
  [ "grid", "","", -5,5,-4,5, 50, [10,10], [0,0] ],
  [ "fix123", " ", [-2, 2], 0 ],
  [ "label", "A", [-2.4, 2] ],
  
  [ "fix123", " ", [0, 2], 45 ],
  [ "label", "B", [-0.3, 1.8] ],
  
  [ "fix123", " ", [2, 2], 90 ],
  [ "label", "C", [1.9, 1.7] ]
]