← Commit history

1.0.91: 1.0.91: three of the standard's library verbs that 1.0.90 refused are now real (#29).

Colby Knox ·f48ca31093 ·11d ago ·parent e1fa2ce
- **kicad_cleanup_libs (the standard's cleanup_libs):** a symbol or footprint library's parts that no given project uses, and parts that repeat another part under a different name (same pins and graphics, or same pads). - A plan by default. apply with remove takes out only the names listed, which must be in the plan unless force. - A symbol library keeps a .bak; a footprint file moves to <Lib>.pretty.removed, so both can be put back. - A symbol another symbol extends counts as used. - **kicad_build_symbol_modes (the standard's build_symbol_modes):** gives a symbol its De Morgan alternate body, KiCad's second display mode. - The alternate drawing (rectangle, polyline, circle, arc) goes into every unit, with the standard body's pins copied and any pin shapes changed (inverted inputs). The symbol is marked as having two body styles. - Checked: KiCad plots the alternate as mode 1 (kicad_symbol_mode). - **kicad_add_symbol_art (the standard's add_symbol_art):** draws artwork inside a symbol's body rectangle, scaled to fit with a margin and centred, keeping its aspect. - The art is given as polylines, or taken from another symbol's polylines (adom-symbol's baked chip outline). - Checked: KiCad plots the art inside the body, with the pins untouched.
1 file changed +3−3
README.md+3−3
@@ -478,7 +478,7 @@ Every verb of this build (319, `kicad_describe` is the live catalog with inputs, | `kicad_3d_view` | Drive the 3D Viewer without the mouse: zoom, rotate, view orientation, flip, or a scripted tour; menu commands posted to the viewer in the background. | | `kicad_3d_viewer_settings` | Read or set the 3D viewer's model-visibility toggles (SMD, through-hole, virtual, not-in-POS, DNP) that can hide every chip body. | | `kicad_add_body` | Put a 3D body (a STEP or VRML model) on a library footprint. It REPLACES the footprint's models unless keepExisting:true, so a re-import never stacks a second body. |-| `kicad_add_symbol_art` | Draw adom-symbol's chip outline into a symbol (the standard's add_symbol_art). Not in KiCad: The chip outline is baked into the KiCad symbol itself by adom-symbol: KiCad shows it with no second copy to draw (Altium needs this because its symbol is rebuilt from KiCad's). |+| `kicad_add_symbol_art` | Draw artwork (polylines: a chip outline, a logo) inside a library symbol's body rectangle, scaled to fit with a margin and centred, keeping its aspect; the art comes as point lists or from another symbol's polylines (adom-symbol's baked chip outline). | | `kicad_agent_recover` | Recover a halted script agent (the standard's agent_recover). Not in KiCad: KiCad has no resident script agent to manage: the bridge reaches KiCad through kicad-cli, its built-in IPC API and KiCad's own Python per call, so there is nothing to start, stop, check or recover. | | `kicad_agent_start` | Start the tool's resident script agent (the standard's agent_start). Not in KiCad: KiCad has no resident script agent to manage: the bridge reaches KiCad through kicad-cli, its built-in IPC API and KiCad's own Python per call, so there is nothing to start, stop, check or recover. | | `kicad_agent_status` | Report the tool's resident script agent (the standard's agent_status). Not in KiCad: KiCad has no resident script agent to manage: the bridge reaches KiCad through kicad-cli, its built-in IPC API and KiCad's own Python per call, so there is nothing to start, stop, check or recover. |@@ -494,10 +494,10 @@ Every verb of this build (319, `kicad_describe` is the live catalog with inputs, | `kicad_bridge_status` | Retired: the in-KiCad Python plugin (reverse bridge) is not part of the native bridge. Reports that, plus what replaced each of its jobs. | | `kicad_build_board` | Build a NEW board from a parts list and a netlist: the outline (a rectangle with rounded corners allowed, or a polygon), every footprint from its library placed by its own origin, pad nets assigned, saved; then read back pin by pin. | | `kicad_build_schematic` | Draw a design's schematic from its netlist with library symbols, as a new sheet (and project): one column per block, every part placed, a wire stub and a net label on every connected pin, the title block filled; then KiCad's netlist of it checked against the nets given, pin by pin, and ERC run. |-| `kicad_build_symbol_modes` | Build a symbol with N display modes from a symbol_modes spec (the standard's build_symbol_modes). Not in KiCad: KiCad symbols have two body styles (standard and De Morgan), not N display modes, and nothing in KiCad reads Altium's symbol_modes spec. |+| `kicad_build_symbol_modes` | Give a library symbol its De Morgan alternate body (KiCad's second display mode): the alternate drawing for every unit, the standard body's pins copied with any pin shapes changed (inverted inputs), and the symbol marked as having two body styles. | | `kicad_check_for_updates` | Read-only: installed KiCad vs latest stable. | | `kicad_check_orientation` | Advisory: two-pad parts whose rotation could be better. Each part is scored at 0, 90, 180 and 270 degrees by airline length (a net's spanning tree, or for a plane-like net the distance to its nearest pad); parts whose best turn saves minImprovementMm are listed. Nothing is moved. |-| `kicad_cleanup_libs` | Remove a new library's factory-default stray part (the standard's cleanup_libs). Not in KiCad: A new KiCad library starts empty, so there is no factory-default stray to remove. |+| `kicad_cleanup_libs` | Clean a symbol or footprint library: the parts no given project uses, and parts that repeat another part under a different name (same pins and graphics, or same pads and graphics). A plan by default; apply removes the names you list. | | `kicad_click` | Click at coordinates inside a KiCad window. | | `kicad_clone_symbol` | Copy a symbol inside a .kicad_sym under a new name, every unit and body style included. | | `kicad_close` | Close KiCad (editors first, then the project manager). |