circuit-json-to-lbrn 0.0.83 → 0.0.84

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -11,6 +11,7 @@ import { convertCircuitJsonToLbrn } from "circuit-json-to-lbrn"
11
11
  const copperLbrn = convertCircuitJsonToLbrn(circuitJson, {
12
12
  includeCopper: true,
13
13
  includeSoldermask: false,
14
+ toolingLayerIncludeRefs: [".TP1", ".TP2", ".TP3"],
14
15
  })
15
16
 
16
17
  // Generate soldermask layer only (for cutting polyimide sheet)
@@ -42,6 +43,7 @@ const defaultLbrn = convertCircuitJsonToLbrn(circuitJson)
42
43
  - `includeLayers?: Array<"top" | "bottom">` - Specify which layers to include (default: `["top", "bottom"]`)
43
44
  - `mirrorBottomLayer?: boolean` - Mirror bottom layer across the board X-center for flipped-board cutting (default: `false`)
44
45
  - `includeHolePunch?: boolean` - Include "Hole Punch Top" / "Hole Punch Bottom" layers that mark hole centers for drilling (default: `true`)
46
+ - `toolingLayerIncludeRefs?: string[]` - Copy the PCB copper lands for component selectors such as `".U1"` or `".TP1"` to LightBurn's native, non-output T1 tooling layer (default: `[]`)
45
47
 
46
48
  ## Soldermask Support
47
49
 
package/dist/index.d.ts CHANGED
@@ -18,6 +18,13 @@ interface ConvertCircuitJsonToLbrnOptions {
18
18
  laserSpotSize?: number;
19
19
  mirrorBottomLayer?: boolean;
20
20
  includeHolePunch?: boolean;
21
+ /**
22
+ * Source component selectors whose PCB copper lands should be copied to
23
+ * LightBurn's native, non-output T1 tooling layer.
24
+ *
25
+ * @example [".U1", ".TP1"]
26
+ */
27
+ toolingLayerIncludeRefs?: string[];
21
28
  /**
22
29
  * Whether to generate copper cut fill layers.
23
30
  * Creates a ring/band around traces and pads that will be laser cut