Commit Graph

7 Commits

Author SHA1 Message Date
Fabian @ Blax Software 24a62c3601 R wiring: nothing over or under parts, cables as wide as drawn, clear bridges, cables that split, tidy every circuit
Parts are walls with a margin: a line only touches a part where it ends on
its pin. When the usual route and its alternatives are blocked, a search
of the grid around the parts finds the way. Cables count as wide as their
sleeve, so they keep clear of each other. A further wire or cable of a
signal branches off the lines already laid, and cables of one signal are
drawn as one that splits. At crossings the thinner line jumps over the
wider one, as wide as it needs (vertical ones sideways); cables hop with
every line inside. Tidy every circuit lays out all circuits in one go.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-23 14:57:16 +02:00
Fabian @ Blax Software 8de4a81678 A connector types of your own: HDMI, RJ45 or any bus, with out and in ports and one cable that carries every line both ways
- A project keeps connector types: a name, a colour and lines that run
  out -> in or back. Made, edited and deleted (once unused) from the
  parts list's new Connectors group and a connector dialog.
- "<type> out" and "<type> in" ports: inside a component a pin per line
  on the inner side plus a cable pin to pass the whole cable on to a
  part inside; on the component's box one port, coloured like its type.
- One cable joins an out port to an in port of the same type; the
  compiler joins line by line, forward and back, at every depth. Ports
  of different types never join; mismatched cables are pruned.
- Pins can face the other way (the inner pins of ports); the router
  takes them out and in from the side they face.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-22 18:59:56 +02:00
Fabian @ Blax Software 1741631ab0 A cable ends plug straight into parts and show their wire names, custom input panels with keys, colours and spacing
- A bundle or split whose wires all meet one part sits on its pins with a latch, moves with the part, and comes loose when dragged away; Ctrl+G plugs both ends in when it can
- Cable ends take the spacing of the pins they plug into, or a spacing you set
- Each wire of a cable carries a name (S0..S3, Cout), shown on free cable ends and as dimmed names on what they feed
- Bundles get "Attach input panel"; panel rows get a keyboard key, an on colour, space above and up/down order

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-21 11:51:45 +02:00
Fabian @ Blax Software 183edc784f BF tidy wiring laid a wire along another signal's row
When a target sat level with another wire's source (Y3 next to S2), the
column order counted that as free, and ties went to the leftmost column:
S3 stepped left of S2, its last run shared S2's row, and the overlap pass
pushed it onto a side lane with a jog before the pin. Now a shared row
costs more than a crossing, ties keep top-to-bottom order, and a tidy
route that would still run along another signal goes to the usual router.
Tests: the reported layout, and no shared lines in tidy mode for every
example circuit.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-21 10:31:13 +02:00
Fabian @ Blax Software 5663685505 A compact tidy wiring, pass-through lamps and outputs, gates with up to 16 inputs
- Tidy wiring orders all wires entering one column together and lays
  them out as one compact staircase a grid step apart, sliding only
  within that gap to avoid running along other signals. Separate
  bundles into the same part no longer cross each other.
- Lamps and output pins get a pin on the right that carries the same
  signal on; labels move above when it is wired.
- AND, OR, XOR, NAND and NOR (built in, examples or your own, detected
  from the truth table) take 2 to 16 inputs. The wide version is a
  balanced tree of the two-input gate, so transistors count honestly.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-20 20:09:23 +02:00
Fabian @ Blax Software 861b161c8b A input panels, automatic names, one-by-one wiring, tidy routing, truth table export
- Input panel part: rows of switches, buttons and clocks. "Attach input
  panel" docks one to a component with a row per free input; it moves
  with the component and follows its pins.
- Copies and new pins continue name series (D0 -> D1, A -> B); unnamed
  switches, lamps and pins take the name of the component pin they are
  wired to.
- Connecting: target pins are ringed, dropping on a part uses its next
  free pin, click-then-click works, and "Connect one by one" (W) wires a
  selection's pins in turn.
- Tidy wiring option and "Tidy all wires": sorted, evenly spaced columns
  per gap, one trunk per signal, fewer crossings.
- Truth table full screen, CSV download, copy as Markdown, current row
  highlighted.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-20 19:17:25 +02:00
Fabian @ Blax Software 5e17826ba5 A settings for every part, overlap-free wiring with crossing styles, accounts with sync
- Clicking anything opens its settings: swap parts in place (wires stay on
  matching pins), clock frequency per clock, keyboard keys for switches and
  buttons, lamp/display colours, note sizes, component names on the canvas,
  position, unlink all wires, unpack a component, make an independent copy.
- Wires of different signals never share a line: auto routes pick free
  columns or detours, remaining clashes go on separate lanes. Crossings drawn
  as bow, triangle, bridge, gap or plain.
- Accounts (email + scrypt password, httpOnly session) with two-way project
  sync and conflict copies; per-account limits; cross-site writes refused.
- Compatibility suite: a project and both browser-storage layouts from
  release a241adc must load and compute identically.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-20 13:09:37 +02:00