Obviously, you could animate something like this by hand but is there any software on Linux meant to simulate this kind of mechanism?

all 28 comments

sorted by: hot top controversial new old
[–] 22 points 1 year ago (2 children)
  • [–] 14 points 1 year ago (3 children)

    Wouldn't you be able to do this in blender?

  • source
  • hideshow 3 child comments
  • [–] 12 points 1 year ago (8 children)

    Would maybe a FreeCAD assembly ^[3]^ be what you're looking for? Here is an example tutorial on making an assembly ^[1]^. You can also animate an assembly ^[2][3.1]^.

    References

    1. Type: Video. Title: "FreeCAD 1.0 Assembly in 30 minutes Beginners Crash Course / Tutorial 2025". Author: "MangoJelly Solutions for FreeCAD". Publisher: ["YouTube". "MangoJelly Solutions for FreeCAD"]. Published: 2025-01-29T13:37:36Z. Accessed: 2025-09-18T07:54Z. URI: https://www.youtube.com/watch?v=p2yDGlv5wI0.
    2. Type: Post (Comment). Author: "Workshop_Notes". Publisher: [Type: Post. Title: "FreeCAD 1.0 Assembly workbench joint variables". Author: "zultron". Publisher: "FreeCAD". Published: 2024-11-30T19:32:15+00:00. URI: https://forum.freecad.org/viewtopic.php?t=92562.]. Published: 2024-12-01T09:32:38+00:00. Accessed: 2025-09-18T08:03Z. URI: https://forum.freecad.org/viewtopic.php?p=794940#p794940.
      • Type: Text. Location: ¶2.

        […]They all use Python to animate the assembly.[…]

    3. Type: Article. Title: "Assembly Workbench". Publisher: "FreeCAD". Accessed: 2025-09-18T08:05Z. Published: 2025-08-17T18:19. URI: https://wiki.freecad.org/Assembly_Workbench.
      1. Type: Article. Location: §"Example crank and slider">§"Drive the crank". URI: https://wiki.freecad.org/Assembly_Workbench#Drive_the_crank.
  • source
  • hideshow 8 child comments
  • [–] 7 points 1 year ago (2 children)

    Damn, what kind of referencing software are you using for writing this kind of comment? Looks pretty cool

  • source
  • parent
  • hideshow 2 child comments
  • [–] 2 points 1 year ago* (last edited 1 year ago)

    […] what kind of referencing software are you using for writing this kind of comment? […]

    None 😄 It's all done manually by me, atm. I'm sort of trying to iteratively develop my own referencing style/standard. More to your comment, though, I am considering writing a script to help me generate the references for things, as it can be a bit tedious for me at the moment to try and scrape the data when citing sources.

  • source
  • parent
  • [–] 4 points 1 year ago (3 children)

    FreeCAD is such a masochist's tool ;)

    I tried learning it a few times, but it's such a royal pain compared to other CAD software.

  • source
  • parent
  • hideshow 3 child comments
  • [–] 3 points 1 year ago* (last edited 1 year ago)

    You can do it just in the sketcher and get 90% of the way there with just sketcher constraints. You can also create a body with a subshape binder for each sketch line and use assembly and create an animation. You don't even need 3d solids. I created a gif, we'll see if it attaches properly to this reply...

    Video:

  • source
  • parent
  • [–] 8 points 1 year ago

    I really like motiongen.io for quick mechanical sketching

  • source
  • I don't know about installed software, but Open Constructor is a recreation of the Soda Constructor, which is what that animation makes me think of: https://peterfidelman.github.io/constructor/

    And here's another SodaPlay inspired tool as well: https://panoramx.ift.uni.wroc.pl/~maq/constructor/

    Hope it helps!

  • source
  • [–] 6 points 1 year ago (1 child)
  • [–] 4 points 1 year ago

    I'm used to solid body modelling, so SolidWorks and stuff, but I think Fusion might be able to do animations?

  • source
  • Check out modelica open source physical modeling language and the rigid body model library https://openmodelica.org/

  • source
  • [–] 6 points 1 year ago

    My first thought would be algodoo (formerly phun) via wine if you want an intuitive graphically driven 2d physics simulator/sandbox

  • source
  • [–] 3 points 1 year ago

    This is basically rigid body dynamics. I am sure there are many libraries that can handle this. For example, this might help: https://github.com/projectchrono/chrono

  • source
  • [–] 3 points 1 year ago*

    I'm sure that you could use MetaPost to procedurally generate a frame, then merge them into an animation.

    A newer, similar language is Asymptote, and it looks like it has animation support.

  • source
  • [–] 2 points 1 year ago

    I haven't used it myself, but maybe look into 2D animation software that offers bones and rigging. You may run into the same limitations you mentioned for Blender, but who knows, maybe not?

    Here's an open source one that appears to have this: https://www.synfig.org/

  • source
  • [–] 2 points 1 year ago

    I think these are called 'compliant mechanisms'. The action lab had a video on the chicken head mechanism: https://youtu.be/ZKz0_kSFSP0 A quick search/AI for the term should reveal some options.

  • source
  • [–] 1 point 1 year ago

    There's linkage in vindoz. I wonder if it can be run virtualized in Linux.

  • source