Skip to content

Add eight bullet connector sizes with independent end genders - #8

Merged
seveibar merged 7 commits into
mainfrom
codex/bullet-connectors-20261006
Oct 6, 2026
Merged

seveibar merged 7 commits into
mainfrom
codex/bullet-connectors-20261006

Conversation

@seveibar

@seveibar seveibar commented Oct 6, 2026 •

Copy link
Copy Markdown
Contributor

Define single/grouped solder bullet cables for 2, 3, 3.5, 4, 5, 5.5, 6, and 8 mm. bullet_d3.5mm describes one male/female pair; bullet3_d3.5mm describes three pairs and three insulated wires. Both support explicit end genders, e.g. bullet3_d3.5mm_afemale_bmale. The object form accepts pinCount (1–16, default 1). Validate matching contact counts, diameters, and wire pitch.

Add contact-count, diameter, and independent-gender controls to the playground. A separate bullet gallery and snapshot show actual meshes, both connector faces, all supported diameters, and the triple-wire example. The common cable examples, existing snapshot tests, and common snapshot are restored unchanged; the PNG matches its original Git blob byte for byte. The dedicated bullet snapshot test has a 30-second timeout. Dimensions describe representative solder contacts rather than manufacturer-specific parts.

Validation: native GitHub Actions tests, type checking, formatting, gallery build, and new package preview build pass. Snapshots were visually inspected. Use the immutable jscad-electronics PR preview while the mesh release is pending.

Bullet modifiers are named and order-independent: d for diameter, a/b for endpoint genders. Require a diameter and reject positional, unknown, and duplicate parameters. Optional genders default independently.

@seveibar
seveibar marked this pull request as ready for review October 6, 2026 20:44
@seveibar
seveibar merged commit 00580a4 into main Oct 6, 2026
6 checks passed
@tscircuitbot

Copy link
Copy Markdown
Collaborator

Thank you for your contribution! 🎉

PR Rating: ⭐
Impact: Tiny

Track your contributions and see the leaderboard at: tscircuit Contribution Tracker


Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants