Skip to content

OmiGears 0.50.2

Latest

Choose a tag to compare

@omigamedev omigamedev released this 27 Nov 13:04
· 2 commits to main since this release

OmiGears 0.50.2 makes gears editable: Edit gear reopens a gear's form, filled in with the inputs it was made with, and changes the gear where it is in the timeline. The commands now sit behind one Gears button, and each gear gets the number of points per flank it needs.

Install

  1. With OmiGears 0.50.1 installed, take the update SolidCraft offers on its card in Preferences › Plugins. Otherwise download omigears-0.50.2.zip below.
  2. In SolidCraft (desktop): Preferences › Plugins › Install plugin… and pick the zip. It asks for no permissions.

Requires SolidCraft 0.50.0 or later. SolidCraft 0.49.1 offers this update to OmiGears 0.50.1 too, but refuses the package when it installs: update SolidCraft first, or keep OmiGears 0.50.1.

New

  • Edit gear. Pick a gear's body or one of its faces, and its form opens filled in with the inputs it was made with. Change them and Run:

    • Most changes are made in place: teeth, module, angles, width, bore, points. Each sketch and feature changes where it is in the timeline, keeping its id. Features you added after the gear (a hole, a fillet, a join) are rebuilt on the changed gear.
    • Changes that make other steps rebuild the gear where it was: crowning turned on or off, a pinion or mate added or left out, another number of worm starts, a bevel's or hypoid's bore. The reply lists any later feature that then fails, so you can pick its references again.
    • A set made by one run (a planetary set, a rack and its pinion, a cycloidal pair, a cycloidal drive) changes together.
    • The edit is one undo step, and names follow the new inputs ("Spur gear z24 m2").

    Gears are recorded in the design from this version on, so gears made before it can't be edited. Scripts and agents edit a gear by running its command with "op" set to the record its reply gave: see the README.

  • One Gears button. The twelve commands and Edit gear sit behind one Gears button in the Model tab's Plugins group, in place of twelve buttons. A command you pin to the ribbon on its own keeps its own button.

  • Automatic points per flank. Points per flank, and the cycloidal drive's points per lobe, now default to Automatic. That is the fewest points that keep each flank within 1 % of the module of its true curve (a lobe within 1 % of the eccentricity).

    • Large gears get lighter sketches and build faster: 3 points per flank for a 150-tooth spur. A 300-tooth ring no longer has to be given fewer points by hand: Automatic gives it 3000 segments, under the kernel's limit.
    • Small gears keep their detail: 8 points per flank for 6 teeth.
    • A number other than 0 is used as given, as before.
  • New icons. Every command, the Gears button and Edit gear have icons drawn the way SolidCraft draws its own toolbar's: one part in its isometric view, the gear in blue and a mating part in grey, with thin outlines.

Changes to note

  • SolidCraft 0.50.0 or later, where 0.50.1 needed 0.49.1: the Gears button needs it.
  • Volumes move a little. A default spur now has 7 points per flank, not 8, and its volume differs from 0.50.1's by 0.02 %. Set Points per flank to 8 to draw the old outlines.
  • The design keeps each gear's record: its command, its inputs, and the ids of its sketches and features, in the design's OmiGears data. Nothing else is stored.
  • An edit takes longer than a new gear, about one and a half times as long (a herringbone gear about twice as long), since SolidCraft builds each changed feature to check it. Later features are rebuilt once, after the last change.
  • Edit gear replaces names you gave the gear's sketches, features and bodies with names that follow the new inputs.
  • Edit gear needs the app: in a script, through MCP or in solidcraft-cli plugin test, SolidCraft answers interactive_required.
  • The plugin is built against SolidCraft 0.50.0's interface, craft:plugin@0.2.0, with wit-bindgen 0.63.
  • plugin-tests/ adds cases that edit a recorded spur and herringbone, in place and by a rebuild. host-check/ adds the largest gears with Automatic points, and edits of them.

MIT licensed.