@tscircuit/core 0.0.1175 → 0.0.1176
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/dist/index.js +4 -4
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -4184,7 +4184,7 @@ function Trace_doInitialPcbTraceRender(trace) {
|
|
|
4184
4184
|
const bLayer = "layers" in b && b.layers.length === 1 ? b.layers[0] : dominantLayer ?? "top";
|
|
4185
4185
|
const pcbPortA = "pcb_port_id" in a ? a.pcb_port_id : null;
|
|
4186
4186
|
const pcbPortB = "pcb_port_id" in b ? b.pcb_port_id : null;
|
|
4187
|
-
const minTraceWidth = trace._getExplicitTraceThickness() ?? trace.getSubcircuit()._parsedProps.minTraceWidth ?? 0.
|
|
4187
|
+
const minTraceWidth = trace._getExplicitTraceThickness() ?? trace.getSubcircuit()._parsedProps.minTraceWidth ?? 0.1;
|
|
4188
4188
|
const ijump = new MultilayerIjump2({
|
|
4189
4189
|
OBSTACLE_MARGIN: minTraceWidth * 2,
|
|
4190
4190
|
isRemovePathLoopsEnabled: true,
|
|
@@ -4493,7 +4493,7 @@ function Trace_doInitialPcbManualTraceRender(trace) {
|
|
|
4493
4493
|
});
|
|
4494
4494
|
return;
|
|
4495
4495
|
}
|
|
4496
|
-
const width = trace._getExplicitTraceThickness() ?? trace.getSubcircuit()._parsedProps.minTraceWidth ?? 0.
|
|
4496
|
+
const width = trace._getExplicitTraceThickness() ?? trace.getSubcircuit()._parsedProps.minTraceWidth ?? 0.1;
|
|
4497
4497
|
if (wantsStraightLine && !hasPcbPath) {
|
|
4498
4498
|
if (!ports || ports.length < 2) {
|
|
4499
4499
|
trace.renderError("pcbStraightLine requires exactly two connected ports");
|
|
@@ -19622,7 +19622,7 @@ import { identity as identity5 } from "transformation-matrix";
|
|
|
19622
19622
|
var package_default = {
|
|
19623
19623
|
name: "@tscircuit/core",
|
|
19624
19624
|
type: "module",
|
|
19625
|
-
version: "0.0.
|
|
19625
|
+
version: "0.0.1175",
|
|
19626
19626
|
types: "dist/index.d.ts",
|
|
19627
19627
|
main: "dist/index.js",
|
|
19628
19628
|
module: "dist/index.js",
|
|
@@ -20536,7 +20536,7 @@ var Board = class extends Group6 {
|
|
|
20536
20536
|
y: point6.y + (props.outlineOffsetY ?? 0) + outlineTranslation.y
|
|
20537
20537
|
})),
|
|
20538
20538
|
material: props.material,
|
|
20539
|
-
min_trace_width: subcircuitProps2.minTraceWidth ?? 0.
|
|
20539
|
+
min_trace_width: subcircuitProps2.minTraceWidth ?? 0.1,
|
|
20540
20540
|
min_via_hole_diameter: subcircuitProps2.minViaHoleDiameter ?? 0.2,
|
|
20541
20541
|
min_via_pad_diameter: subcircuitProps2.minViaPadDiameter ?? 0.3,
|
|
20542
20542
|
min_trace_to_pad_spacing: subcircuitProps2.minTraceToPadSpacing ?? 0.1,
|