Skip to content

v0.3.0

Choose a tag to compare

@github-actions github-actions released this 30 Oct 10:19
· 462 commits to main since this release
23774d2

The enclosure needs nothing installed now: the agent writes it as a script that the app runs itself. Schematics are drawn as framed functional blocks with the proper symbol for each part, and you can fix a drawing by hand. The board gets copper keep-outs, pairs routed together, length tuning and more of the checks a fab makes, and what goes to the assembly house says more: polarity marks on the silkscreen, each land held against the part the house buys, and the pick-and-place in the house's own frame.

Opening a design from 0.2

  • Enclosures keep their OpenSCAD script as text, and the render says it needs rewriting: ask the agent to do it.
  • SMD electrolytic capacitors get new pads, because the old ones fit no real part. Check the copper drawn or routed to them.
  • A symbol that is drawn differently now, such as a crystal that was a box, is made again where it stood on a sheet the agent arranged. Its connections show as labels until it is wired again or its block is redrawn. A part in your library gets its new symbol only if its card already says what it is; otherwise import it again.

Schematic

  • Functional blocks: the agent says which parts belong together and roughly where each block goes (describe blocks, place_block), and each block is drawn as one framed unit. The pins that connect face each other, the connections inside are wired, and only the nets that leave the block get net labels (the three sheets of one real board: 145 net labels down to 42). A block taller than a page continues on the next, and the frames show on the canvas, in the print and in the design document. A sheet without blocks is drawn as before.
  • The standard symbol for each kind of part, not a box: crystals, polarised capacitors, inductors with their core, ferrite beads, Schottky, Zener and TVS diodes, push buttons, relays, optocouplers, fuses, thermistors, varistors, gas discharge tubes and common-mode chokes. The symbol is picked from the part's card, and set_param sets an inductor's core or a diode's type. Multi-line ESD arrays, solid-state relays and logic-output optocouplers stay boxes for now.
  • Fix a drawing by hand: drag a symbol to move it (on the grid, its wires drawn again; what cannot be wired shows as labels), drag a net label round its pin, press R to turn a selected two-pin part or F to mirror an IC or connector, and Delete to take a clicked wire or label (or the selected parts, after asking) away. No new tools or buttons: each gesture is one of the agent's own operations, one undo step, and a part you placed stays where you put it when the agent redraws. Mirroring a connected IC can send its wires the long way round.
  • A small part placed on its own is wired, not labelled: a resistor, capacitor, LED or other two-pin part placed with place_symbol is wired to the nearest pin of each of its nets when the wire is clean (no crossing, no jog, no detour, short), and connected by net labels otherwise; the result says which pins got wires and why the others did not. Two example circuits placed part by part: 16 net labels down to 11 and 15 to 11.

Board

  • Copper keep-outs: an area of the board where tracks, vias, pours or parts are not allowed, on all layers or the ones named: an antenna's clearance, the plane cleared under a wide pad or a coil, a no-via zone. A rectangle or a polygon, and it can be attached to a part, so the clearance moves and turns with the antenna. There are no buttons: the agent sets them (add_keepout, edit_keepout, remove_keepout), and its layout guides for antennas and RF connectors tell it when.
  • Everything keeps out of it: pours and planes (inner ones too) are cut round it and the Gerber copper file shows the cleared zone; the router and the placer keep out; draw_track, draw_pair and draw_via refuse to enter one and say where; DRC.KEEPOUT finds copper or a part that is in one anyway. It is hatched in the 2D view, and listed by get_board and in the design document.
  • Pairs routed together: with a differential pair's impedance rule set, the router lays the pair as two tracks side by side at the rule's width and gap, and changes layer with a via for each track. Where it cannot keep them together it routes the two nets apart and says so (the route effect, or an IMP.PAIR note on the board). Lines at a set impedance are routed before the other nets, which keep off the plane under them. So far this has been tried on small boards (40 × 20 mm).
  • Length tuning: the new tune_length op adds a meander to a drawn track to reach a length or to match the other member of a pair (or the longest of a group): square bumps with 45° corners on the track's own layer, clear of other copper. It says the length and skew reached, and where there is no room when there is none.
  • Parts on the bottom side, end to end: place (and the parts of propose_placement and try_placements) take side: "bottom"; nothing flips a part by itself, the agent decides. A bottom part is mirrored, its SMD pads, mask, paste, silkscreen and polarity marks are on the bottom, and its courtyard collides only with parts on the same side (through-hole parts take both). The Layout view's copper checkboxes carry each side's parts, and the agent's guide says when the bottom side pays and what it costs. The pick-and-place writes a bottom part's rotation as KiBot's notes describe JLCPCB's, not from anything JLCPCB publishes: check those parts in the order preview before your first bottom-side order.
  • A steadier placer: moving or locking one part now moves only what the move needs. The parts that follow it go along, the parts it pushes into give way, and everything else stays exactly where it was (on the 130-part bench, six nudged small parts moved 69 others, six main parts 326; now 6 and 26). Incremental routing keeps more of its copper after a move (197 of 201 tracks instead of 168 of 207 on one bench move).
  • Congestion as a placement measure: get_board and try_placements also report where the ratsnest wants more track than the layers carry (congestion_mm, congestion_peak). try_placements, refine_placement, the refinement in propose_placement and the screening in suggest_moves now rank by a routability score that includes it. On a 2-layer bench board the refined placement routes with 124 vias instead of 131.

Checks

  • The schematic, the board and the BOM are checked against each other (XCHK.*, in get_diagnostics and the Inspector): a symbol pin with no pad in the footprint, a pad no pin is on, a pin that matches its pad only in upper/lower case (the board would not connect it), a net left short of pads on the board, a package parameter the footprint does not follow, a part with no footprint that is then in neither the BOM nor the pick-and-place, and a mounting hole, plane, via group or drawn copper on a net the schematic no longer has. Each says what to change.
  • Panel tab zone (PANEL.TAB_ZONE, PANEL.TAB_OVERHANG): parts, pads, tracks and vias within 1.5 mm of a tab are flagged (JLCPCB: ceramic capacitors crack where the board is snapped out), and a part over a board edge that has a tab is an error.
  • Solder-mask webs (DRC.FAB_MASK_WEB) between pads of different nets that fall below the fab profile's mask bridge (JLCPCB and PCBWay: 0.1 mm), and silkscreen text lower than the fab prints (DRC.FAB_SILK_TEXT).
  • Etching checks, as rules of thumb: acid traps (DRC.ACID_TRAP, tracks of a net meeting below 90° with an empty wedge) and necks (DRC.NECK, a track narrower than its net's width).
  • Thermal reliefs are checked: DRC.THERMAL_SPOKES for a pad with fewer than two spokes to its pour (an error when it is cut off), DRC.FAB_SPOKE for spokes thinner than the fab's tracks.
  • Dead copper was already left out of the pours; DRC.DEAD_COPPER (a note) now says where it was.

Enclosure

  • Nothing to install: the box no longer needs OpenSCAD. The agent writes it as a script that the app runs itself, in a sandbox of its own, on Manifold (the geometry engine of OpenSCAD 2025). A small box renders and is checked in a fraction of a second.
  • Round boxes, lights and lenses: round_extrude rounds any outline before the cavity is cut, dome and lens make lights and lenses, and sdf with smooth_union makes forms with no straight edge.
  • What the agent is told: a syntax error is refused when the script is set, every error gives its line, echo prints measures to the report, and a new warning (ENC.NEAR) finds a wall under 0.2 mm from a part. Mistakes that used to pass in silence stop the render, such as a helper that forgot its return.
  • Label capitals are now exactly the size asked (they came about 4.5 % small).
  • The Enclosure view downloads the script as .js; board.scad stays, for a box of your own in OpenSCAD.
  • The cut goes across x, y or z. The buttons for a cut through one opening ("at J2") are gone; the agent's own pictures through each opening stay.

Sourcing and assembly

  • Polarity marks the assembler can read: every part that goes one way round is marked on the silkscreen by what it does: a dot by pin 1 (and a chamfered corner on bodies of 2 mm and up), a band at the cathode, a "+" at the plus terminal. The Gerbers, the 2D view and the design document show the same marks, and the old dash beside pad 1 is gone. set_polarity says which way round an imported part goes when its pin names do not, DRC.POLARITY_UNKNOWN finds a diode or LED whose pins say nothing, and DRC.SILK_POLARITY says what is in the way when no mark fits.
  • Each land held against the part the house buys: the stock check lays JLCPCB's own footprint for the part on the component's land and pairs them pin by pin. A land that does not fit stops the order, with the reason in words. Eurocircuits and PCBWay keep the check by package name.
  • SMD electrolytics (CAP-4x5.4 to CAP-10x10) get V-chip lands, a pad under each lead as the makers recommend, with the outline chamfered on the + side and a 3D body of base plate and can.
  • The pick-and-place in the house's own frame: JLCPCB counts a part's rotation from its own library's footprint, which differs from ours for many packages, and its engineers turned those parts by hand. Where the stock check has laid that footprint on the part's land, the row now gives the house's own rotation and origin; every other part keeps the board's frame.
  • Fab files check first: exporting runs the stock check when the parts carry the house's numbers, still writes the zip, and its message names the parts that stop the order.

Parts and datasheets

  • The importer knows inductors, diodes and LEDs as categories of their own, names a polar part's terminals K/A or +/−, and is told how to name the pins of relays, optocouplers, switches and chokes.

Licenses

  • Third-party notices ship with the app: THIRD-PARTY-NOTICES.txt in the app's folder has the license of every package and font built into it, such as pdf.js, Manifold and Liberation Sans. The downloads also carry Node's own license (LICENSE-node, beside the Node binary).

Fixes

  • An imported fuse, ferrite bead, thermistor or choke in a supply line left the net behind it "power not driven": power now passes through them, though not across varistors or gas discharge tubes.
  • Picking a part in the Inspector, or taking its values, sent JLCPCB's spelling of an electrolytic's package, which the kernel refused; it now sets the part's can.

What's Changed

  • Enclosure: remove the cut through an opening ("at J2") by @hoihu in #104
  • Schematic: functional blocks, framed and wired, labels only between them by @hoihu in #106
  • Site: the landing page starts from an example prompt and shows each step from the app by @hoihu in #105
  • Silkscreen: polarity marks the assembler can read (dot, cathode band, +) by @hoihu in #107
  • Re-land #108: hold each land against the part the house buys; SMD electrolytic lands by @hoihu in #109
  • Pick-and-place: each part in the house's own frame, where its footprint is known by @hoihu in #110
  • Schematic: the standard symbol for each kind of part, not a box by @hoihu in #111
  • Drawn-copper test: one board for the parts' places, not one per move by @hoihu in #112
  • Site: one screen, a FAQ, and a resistor adrift in space by @hoihu in #113
  • Schematic and layout: nine improvements (DRC checks, keep-outs, pair routing, placer, bottom side, wiring, eval, hand editing, cross-check) by @hoihu in #114
  • Enclosure: the script runs on Manifold in the app, not on the user's OpenSCAD by @hoihu in #115
  • Ship third-party notices in dist/app by @hoihu in #117
  • Version 0.3.0 by @hoihu in #116

Full Changelog: v0.2.0...v0.3.0