← Commit history

1.0.24: NATIVE (Rust) build. 1.0.24: merges Astra PR #14: kicad_zone_state {refill:true} answers an acknowledgement only (refillRequested, no revision, no measurements); call again with refill:false for the snapshot. Contract change; copper-pours skill updated.

John Lauer ·0fad23e1d0 ·1mo ago ·parent 4888536
3 files changed +5−5
rust/Cargo.lock+3−3
@@ -244,7 +244,7 @@ dependencies = [  [[package]] name = "kicad-bridge"-version = "1.0.23"+version = "1.0.24" dependencies = [  "kicad-core",  "kicad-platform",@@ -255,7 +255,7 @@ dependencies = [  [[package]] name = "kicad-core"-version = "1.0.23"+version = "1.0.24" dependencies = [  "kicad-ipc-rs",  "kicad-platform",@@ -281,7 +281,7 @@ dependencies = [  [[package]] name = "kicad-platform"-version = "1.0.23"+version = "1.0.24" dependencies = [  "serde",  "serde_json",
rust/Cargo.toml+1−1
@@ -3,7 +3,7 @@ resolver = "2" members = ["crates/*"]  [workspace.package]-version = "1.0.23"+version = "1.0.24" edition = "2021" license = "MIT" publish = false
rust/crates/kicad-bridge/src/verbs_routing.rs+1−1
@@ -92,7 +92,7 @@ pub static VERBS: &[Verb] = &[         mechanism: Mechanism::Ipc, risk: "read", timeout_sec: 130,         input: "{\"filePath\": \"C:/.../x.kicad_pcb\", \"refill\"?: true}",         example: "kicad_zone_state {\"filePath\":\"C:/p/b.kicad_pcb\",\"refill\":true}",-        hint: "refill:true refills every zone first (fills go stale after routing). filledAreaByLayerMm2 is what an ablation process leaves on the board.",+        hint: "refill:true only REQUESTS a refill (KiCad fills asynchronously) and answers an acknowledgement with refillRequested:true and no revision or measurements; wait, then call again with refill:false for the snapshot. filledAreaByLayerMm2 is what an ablation process leaves on the board.",         related: &["kicad_add_zone", "kicad_routing_validate"],         pitfalls: &["Coverage is against the outline's bounding box; a non-rectangular board reads low.", "Pads, tracks and vias outside zones are not counted."],     },