Repository navigation
Conversation
This was referenced Oct 7, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds a generic four-hole linear-bearing block contract with explicit housing, shaft and cartridge dimensions. The independent nominal cartridge contract avoids a dependency on another unmerged family.
Example:
linearbearingblock_bore8mm_bearingod15mm_w34mm_l24mm_h24mm_mount(clearance)_hole4.5mm_pitchx24mm_pitchy16mm.Schema, strict parser, public exports and typed registration live in
src/models/linearbearingblock/; no shared registry or export file changes. Documentation distinguishes nominal visual internals from the overall dimensional envelope.Schema, strict parser, public schema/type exports and typed registration remain in each
src/models/<name>/folder; generated discovery owns shared unions and barrels.linear bearing block
Paired renderer: tscircuit/jscad-electronics#441. Direct full-string fixture; verified browser preview.
The canonical housing is 34×24×24 mm, with 4.5 mm clearance holes on a 24×16 mm pattern. Its mounting face is Z=0; the shaft travels along Y at X=0 and Z=height/2. Housing dimensions and nominal cartridge internals are independently specified generic geometry, without manufacturer-interchangeability, preload or fit claims.
Contract tests, typecheck, formatting, build and diff checks passed locally. Source-group result: 83 pass, 0 fail, 2400 assertions.
Four-view snapshots (isometric, top, front and side):
Contract test workflow passed in CI at this exact head. Other passing checks: preview.
The combined contract union passed tests (105 tests, 0 failures, 2,994 assertions), typecheck, formatting and build.
Manual review only; auto-merge is not enabled. Geometry remains in the paired renderer PRs.