From 509e032dbcd86c0453c133aabe3e88a1b4fcc0b3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tomasz=20Cicho=C5=84?= Date: Mon, 28 Oct 2024 23:06:15 +0100 Subject: [PATCH] specctra: echo the imported units when exporting --- src/specctra/design.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/specctra/design.rs b/src/specctra/design.rs index c158af5..f77d8de 100644 --- a/src/specctra/design.rs +++ b/src/specctra/design.rs @@ -162,7 +162,7 @@ impl SpecctraDesign { id: "ID".to_string(), routes: structure::Routes { resolution: structure::Resolution { - unit: "um".into(), + unit: self.pcb.resolution.unit.clone(), value: 1.0, }, library_out: structure::Library {