Notilus Mechs update: slide joints, IK drag, motion timeline and bolts

In September we introduced Notilus Mechs here: assembly constraints and a mechanism solver for Rhino 7 and Rhino 8. That post ended with the mechanisms we expected to break it: sliders, four-bar linkages and telescopic arms. Most of this update is about that list.

Double slider: two Parallelism joints and two pins, driven by NmAnimate

Parallelism: a slide joint

NmParallelism lets a part slide along a rail. You pick a flat face on the sliding part, a flat face on the rail, and a direction. The rail face’s long edge is offered as an arrow, or you can pick any straight edge or line, so the direction doesn’t have to follow a Rhino axis.

  • Gumball and live drags are projected onto the rail.
  • The part stops before it leaves the rail face, or at a Min/Max travel you set in Constraint Properties. To set an end, drag the part there and press “Here”.
  • Gap and limits are saved in the 3dm.

The GIF above is a double slider (the trammel of Archimedes): two blocks in crossed slots and one bar pinned to both. It uses two Parallelism joints, two Concentricity pins and one Fixation.

NmAnimate: motion in steps

NmAnimate drives one joint (a pin, a Parallelism slider or a rod in a cylinder) from where it is to a target value over a set time. You press Calculate, then Play. Playback is only a preview and doesn’t change the model: Close leaves every part where it was, and “Keep this pose” applies the frame on screen as a single Undo.

A motion can have several steps, and each step has a rule for when it starts:

  • after step N ends, with an optional delay
  • together with step N, with an optional delay
  • when step N reaches a value. For example, the second hatch starts opening when the first one is at 20°.

Steps that overlap are solved together. When one step carries another joint, for example an arm turning while the rod on it extends, the carrying step is driven first and the carried joint follows. If two steps would drive the same closed loop at the same time, you get a message instead of a wrong result.

The calculation stops at the mechanism’s limit, and broken frames are never stored. A crank that can’t make a full turn swings between its two limits.

The NmAnimate dialog: three steps, step 2 starts when step 1 reaches 15°, step 3 when step 2 reaches 12°

You can save a motion by name in the document, the same way you save a position. The saved motion keeps the steps, Frames/s, Repeat and Ping-pong.

Export MP4

The calculated frames can be recorded from the active view at viewport size, 720p, 1080p or 4K. The recording keeps the playback timing and includes the way back when Ping-pong is on. It uses Windows’ own H.264 encoder, so there’s nothing extra to install. Windows N editions have no encoder, so there the frames are saved as PNG.

Moving parts by hand

  • Live drag: press on a part’s body and drag, with no Gumball needed. The mechanism is solved on every mouse move, and the whole drag is a single Undo.
  • IK drag (NmIKDrag, or the checkbox in the panel): pull the last link of a chain and the links in between follow. It’s off by default.
  • Telescopic arms: a rod in a cylinder slides along its axis, stops before it leaves the barrel, and no longer spins while you drag it.
  • Parallelogram four-bars now pass the pose where the links line up instead of stopping there or flipping.
  • Assembly Mode off: Notilus leaves the selection alone and Rhino’s Gumball works as usual. You can keep editing your parts, then turn Assembly Mode back on to run the mechanism.
  • Undo/Redo now also restores part poses and any constraints you added or deleted.

IK drag: pulling the last link of a six-link chain

Blocks as parts

Block instances can be parts, nested blocks included. Joints also remember their faces by geometry, so adding components to a block no longer detaches them.

Bolts

NmAddBolt starts with one click on a face. From there you can place a single bolt, fill the round holes already in that face, or lay out a pattern along its edges. A pattern is set either by count or by maximum spacing, and the spacing is spread evenly along each edge. While you change the head type, size or spacing, a live preview shows the numbered edges and every bolt. When you press OK it cuts all the holes, countersinks included, and sets the bolt length from the stack.

The Add Bolt dialog, Pattern tab: live preview while the settings change, then OK

Bolts move with the part they fasten. nmBoltEdit edits one bolt or the whole pattern.

Also

  • In-app help: NmHelp, or the Help strip at the bottom of the panel. It covers the workflow, the commands and the common messages.
  • Large models solve faster, and live drag draws each frame right away.

New commands

NmParallelism NmIKDrag NmLiveDrag NmAddBolt nmBoltEdit NmHelp

A walk through it

Status, and what we would like to hear

Rhino 7 and Rhino 8, Windows.

  1. Distance and angle driving dimensions are still the next candidates. If a different constraint would matter more for your work, tell us.
  2. Files that break it. We’d especially like to see animations that stop early, sliders that jam and loops that won’t close.

Download

Notilus Mechs, along with our other Rhino plugins, can be downloaded from

Full video: https://www.youtube.com/shorts/jgxXYo1TdUA
LinkedIn: Notilus Software | LinkedIn

3 Likes