circuit-json-to-lbrn 0.0.41 → 0.0.42
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/package.json +1 -1
- package/site/index.html +23 -11
- package/site/main.tsx +5 -0
package/package.json
CHANGED
package/site/index.html
CHANGED
|
@@ -99,17 +99,29 @@
|
|
|
99
99
|
/>
|
|
100
100
|
</div>
|
|
101
101
|
<div>
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
102
|
+
<label class="block text-sm font-medium text-gray-300 mb-2">
|
|
103
|
+
Soldermask Margin (mm)
|
|
104
|
+
</label>
|
|
105
|
+
<input
|
|
106
|
+
type="number"
|
|
107
|
+
id="globalCopperSoldermaskMarginAdjustment"
|
|
108
|
+
value="0"
|
|
109
|
+
step="0.001"
|
|
110
|
+
class="w-full px-4 py-2 bg-gray-700 border border-gray-600 rounded-lg text-white focus:outline-none focus:ring-2 focus:ring-blue-500"
|
|
111
|
+
/>
|
|
112
|
+
</div>
|
|
113
|
+
<div>
|
|
114
|
+
<label class="block text-sm font-medium text-gray-300 mb-2">
|
|
115
|
+
Soldermask Margin Percent(%)
|
|
116
|
+
</label>
|
|
117
|
+
<input
|
|
118
|
+
type="number"
|
|
119
|
+
id="solderMaskMarginPercent"
|
|
120
|
+
value="0"
|
|
121
|
+
step="1"
|
|
122
|
+
class="w-full px-4 py-2 bg-gray-700 border border-gray-600 rounded-lg text-white focus:outline-none focus:ring-2 focus:ring-blue-500"
|
|
123
|
+
/>
|
|
124
|
+
</div>
|
|
113
125
|
<div>
|
|
114
126
|
<label class="block text-sm font-medium text-gray-300 mb-2">
|
|
115
127
|
Laser Spot Size (mm)
|
package/site/main.tsx
CHANGED
|
@@ -39,6 +39,9 @@ const traceMarginInput = document.getElementById(
|
|
|
39
39
|
const globalCopperSoldermaskMarginAdjustmentInput = document.getElementById(
|
|
40
40
|
"globalCopperSoldermaskMarginAdjustment",
|
|
41
41
|
) as HTMLInputElement
|
|
42
|
+
const solderMaskMarginPercentInput = document.getElementById(
|
|
43
|
+
"solderMaskMarginPercent",
|
|
44
|
+
) as HTMLInputElement
|
|
42
45
|
const laserSpotSizeInput = document.getElementById(
|
|
43
46
|
"laserSpotSize",
|
|
44
47
|
) as HTMLInputElement
|
|
@@ -164,6 +167,8 @@ function getConversionOptions() {
|
|
|
164
167
|
includeSoldermask: includeSoldermaskInput.checked,
|
|
165
168
|
globalCopperSoldermaskMarginAdjustment:
|
|
166
169
|
parseFloat(globalCopperSoldermaskMarginAdjustmentInput.value) || 0,
|
|
170
|
+
solderMaskMarginPercent:
|
|
171
|
+
parseFloat(solderMaskMarginPercentInput.value) || 0,
|
|
167
172
|
includeLayers: [
|
|
168
173
|
...(includeTopLayerInput.checked ? ["top" as const] : []),
|
|
169
174
|
...(includeBottomLayerInput.checked ? ["bottom" as const] : []),
|