Skip to content

Releases

OmiGears 0.50.2

Choose a tag to compare

@omigamedev omigamedev released this 27 Nov 13:04

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.

OmiGears 0.50.1

Choose a tag to compare

@omigamedev omigamedev released this 27 Nov 08:48

OmiGears continues Gears by bbonsen under its own name and plugin id: 0.50.1 is GearsCraft 0.50.0 renamed, with the licences of the code compiled into it. Its version follows the SolidCraft release it targets. It catches up with SolidCraft 0.44 to 0.50: every command has its own icon, the forms list their fields in order, and the slowest commands run as long jobs. Running every command in SolidCraft's own kernel also turned up a number of bugs, fixed here.

Install

  1. Download omigears-0.50.1.zip below.
  2. In SolidCraft (desktop): Preferences › Plugins › Install plugin… and pick the zip. OmiGears has its own id, omigears, so it installs beside Gears rather than over it: remove Gears 0.10.0 or GearsCraft 0.50.0 first. It asks for no permissions.

Requires SolidCraft 0.49.1 or later; 0.50.0 or later shows the forms best. Older releases refuse the package.

New

  • Updates. SolidCraft looks for a newer OmiGears at each start and once a day, and offers it on the plugin's card in Preferences › Plugins ("Update to …"): after this one, no more installing zips by hand.
  • Icons. Every command shows its own icon on its ribbon button, in the Plugins menu and in its dialog (SolidCraft 0.44 and later). The Hand dropdowns show a right-hand and a left-hand helix.
  • Forms in order. Fields are listed gear first, then Tooth modifications, then Options, instead of alphabetically (0.49.1 and later), and the two headings fold (0.50 and later).
  • Fields when they matter. Relief length appears once tip relief is set, the rack's pinion fields while it has a pinion, the mate's bore while the mate is built, and the drive's output pin and circle while it has output holes (0.46 and later). Relief length is on the forms for the first time.
  • A readable timeline. Each feature is named after its gear ("Spur gear z20 m2") and its sketch after it ("Spur gear z20 m2 profile"). A run also asks for its sketches to be hidden; SolidCraft currently drops that for a plugin's sketches, so the sketches of sweeps, lofts and coils stay shown until it is fixed there.

Fixed

  • A second run in the same design failed with "another feature is called …": a second identical spur, the mate of a miter bevel pair, the mate of a herringbone gear. A repeated run now gets "(2)", "(3)"…, and its joins and cuts work on the body it made.
  • Herringbone gears and worms failed with their default inputs in SolidCraft 0.49 ("ran longer than its time limit of 15 s"). Worms are now built with SolidCraft's Coil: the same exact thread, in about 5 s instead of minutes. Herringbone, worm and hypoid now run as long jobs (ten minutes, a cancel button, no live preview), and the other commands get 30 s, since SolidCraft before 0.51 counts the kernel's own work against that limit.
  • Large gears ran out of fuel (a 300-tooth cycloidal pair, a 60-pin drive at 200 points per lobe, a ten-planet set). The budget is ten times larger, still within SolidCraft's default limit.
  • A root fillet was refused as "does not fit" on a gear with many points per flank (150 teeth at 40 points): only the first few flank segments were searched.
  • Rings too fine for the kernel. SolidCraft's extrude fails ("SMLib's result is not a closed solid") on more than about 5000 segments around a hole: a bore, or a ring gear's outer circle. Such a run is now refused at once, with the most points per flank or lobe that fit (6 for a 300-tooth ring), instead of failing after 20 s.
  • Cycloidal drive. A small disc was refused even with no bore ("less than -0.500 mm"), and a single output hole was always refused.
  • Errors named the wrong field. A rack's pinion teeth were reported as the rack's teeth, and a planetary set reported any problem (module, backlash, tip relief…) as the sun's or the planets' teeth.
  • Forms offered values the commands refuse: pressure angles above 30° for the worm, worm wheel and rack, and outside 14.5–30° for internal gears and planetary sets.
  • Whole numbers written with a point ("teeth": 20.0) are accepted.

Changes to note

  • A new name and id. OmiGears, id omigears: the commands are omigears.spur and so on, so scripts that ran gears.spur need the new names. Designs made with Gears or GearsCraft keep working: a run leaves ordinary sketches and features, nothing that names the plugin.
  • Licences. The zip carries THIRD-PARTY-LICENSES.txt, the licences of the Rust crates compiled into the plugin.
  • SolidCraft 0.49.1 or later, where Gears 0.10.0 needed 0.43: long jobs need 0.48, and the update check 0.49.1.
  • Sketches are named "… profile" (and "… section 1" to "7" for a crowned spur); Gears 0.10.0 gave the first sketch the gear's own name. A herringbone gear's name now includes its hand: "Herringbone gear z20 m2 20deg RH".
  • The worm takes no Points per flank: its thread section is exact. Its reply gives turns in place of sections.
  • plugin-tests/ runs every command in SolidCraft's kernel (solidcraft-cli plugin test, or ./build.sh --test) and checks each body count and volume against values worked out independently of SolidCraft.

MIT licensed.