circuit-json-to-lbrn 0.0.11 → 0.0.12
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 +11 -2
- package/dist/index.js +5 -1
- package/lib/index.ts +2 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -39,12 +39,21 @@ const defaultLbrn = convertCircuitJsonToLbrn(circuitJson)
|
|
|
39
39
|
|
|
40
40
|
## Soldermask Support
|
|
41
41
|
|
|
42
|
-
The `includeSoldermask` flag enables generation of soldermask openings for cutting polyimide sheet. When enabled:
|
|
42
|
+
The `includeSoldermask` flag enables generation of soldermask openings for cutting Kapton tape (polyimide sheet). When enabled:
|
|
43
43
|
- SMT pads and plated holes will have soldermask openings
|
|
44
44
|
- Traces are NOT included in the soldermask layer (to avoid accidental bridging during soldering)
|
|
45
45
|
- Holes are always cut through the board regardless of the mode
|
|
46
|
+
- **Soldermask shapes are filled (Scan mode)** instead of outlined, which is required for laser-cutting Kapton tape masks where the laser needs to remove material from the pad areas
|
|
47
|
+
|
|
48
|
+
### Laser Cutting Workflow
|
|
49
|
+
|
|
50
|
+
The soldermask layer uses LightBurn's "Scan" mode with filled shapes. This is designed for the following workflow:
|
|
51
|
+
|
|
52
|
+
1. **Generate LBRN file**: Use `includeSoldermask: true` to export filled pad shapes
|
|
53
|
+
2. **Laser cut Kapton tape**: The laser will fill/ablate the pad areas.
|
|
54
|
+
|
|
46
55
|
|
|
47
56
|
You can generate:
|
|
48
57
|
- **Copper only**: `{ includeCopper: true, includeSoldermask: false }` - Traditional copper cutting
|
|
49
|
-
- **Soldermask only**: `{ includeCopper: false, includeSoldermask: true }` - Just polyimide cutting patterns
|
|
58
|
+
- **Soldermask only**: `{ includeCopper: false, includeSoldermask: true }` - Just Kapton tape (polyimide) cutting patterns (filled shapes)
|
|
50
59
|
- **Both**: `{ includeCopper: true, includeSoldermask: true }` - Complete fabrication file with both layers
|
package/dist/index.js
CHANGED
|
@@ -1334,10 +1334,14 @@ var convertCircuitJsonToLbrn = (circuitJson, options = {}) => {
|
|
|
1334
1334
|
});
|
|
1335
1335
|
project.children.push(throughBoardCutSetting);
|
|
1336
1336
|
const soldermaskCutSetting = new CutSetting({
|
|
1337
|
+
type: "Scan",
|
|
1338
|
+
// Use Scan mode to fill the pad shapes for Kapton tape cutting
|
|
1337
1339
|
index: 2,
|
|
1338
1340
|
name: "Cut Soldermask",
|
|
1339
1341
|
numPasses: 1,
|
|
1340
|
-
speed: 150
|
|
1342
|
+
speed: 150,
|
|
1343
|
+
scanOpt: "individual"
|
|
1344
|
+
// Scan each shape individually
|
|
1341
1345
|
});
|
|
1342
1346
|
project.children.push(soldermaskCutSetting);
|
|
1343
1347
|
const connMap = getFullConnectivityMapFromCircuitJson(circuitJson);
|
package/lib/index.ts
CHANGED
|
@@ -48,10 +48,12 @@ export const convertCircuitJsonToLbrn = (
|
|
|
48
48
|
project.children.push(throughBoardCutSetting)
|
|
49
49
|
|
|
50
50
|
const soldermaskCutSetting = new CutSetting({
|
|
51
|
+
type: "Scan", // Use Scan mode to fill the pad shapes for Kapton tape cutting
|
|
51
52
|
index: 2,
|
|
52
53
|
name: "Cut Soldermask",
|
|
53
54
|
numPasses: 1,
|
|
54
55
|
speed: 150,
|
|
56
|
+
scanOpt: "individual", // Scan each shape individually
|
|
55
57
|
})
|
|
56
58
|
project.children.push(soldermaskCutSetting)
|
|
57
59
|
|