circuit-json 0.0.423 → 0.0.425
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 +15 -1
- package/dist/index.d.mts +510 -2
- package/dist/index.mjs +14 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -2324,9 +2324,20 @@ var pcb_trace_route_point_via = z100.object({
|
|
|
2324
2324
|
from_layer: layer_ref,
|
|
2325
2325
|
to_layer: layer_ref
|
|
2326
2326
|
});
|
|
2327
|
+
var pcb_trace_route_point_through_pad = z100.object({
|
|
2328
|
+
route_type: z100.literal("through_pad"),
|
|
2329
|
+
start: point,
|
|
2330
|
+
end: point,
|
|
2331
|
+
width: distance,
|
|
2332
|
+
start_layer: layer_ref,
|
|
2333
|
+
end_layer: layer_ref,
|
|
2334
|
+
pcb_smtpad_id: z100.string().optional(),
|
|
2335
|
+
pcb_plated_hole_id: z100.string().optional()
|
|
2336
|
+
});
|
|
2327
2337
|
var pcb_trace_route_point = z100.union([
|
|
2328
2338
|
pcb_trace_route_point_wire,
|
|
2329
|
-
pcb_trace_route_point_via
|
|
2339
|
+
pcb_trace_route_point_via,
|
|
2340
|
+
pcb_trace_route_point_through_pad
|
|
2330
2341
|
]);
|
|
2331
2342
|
var pcb_trace = z100.object({
|
|
2332
2343
|
type: z100.literal("pcb_trace"),
|
|
@@ -3529,6 +3540,7 @@ var cad_component = z158.object({
|
|
|
3529
3540
|
model_object_fit: z158.enum(["contain_within_bounds", "fill_bounds"]).optional().default("contain_within_bounds"),
|
|
3530
3541
|
model_jscad: z158.any().optional(),
|
|
3531
3542
|
show_as_translucent_model: z158.boolean().optional(),
|
|
3543
|
+
show_as_bounding_box: z158.boolean().optional(),
|
|
3532
3544
|
anchor_alignment: z158.enum(["center", "center_of_component_on_board_surface"]).optional().default("center")
|
|
3533
3545
|
}).describe("Defines a component on the PCB");
|
|
3534
3546
|
expectTypesMatch(true);
|
|
@@ -4023,6 +4035,7 @@ export {
|
|
|
4023
4035
|
pcb_trace_hint,
|
|
4024
4036
|
pcb_trace_missing_error,
|
|
4025
4037
|
pcb_trace_route_point,
|
|
4038
|
+
pcb_trace_route_point_through_pad,
|
|
4026
4039
|
pcb_trace_route_point_via,
|
|
4027
4040
|
pcb_trace_route_point_wire,
|
|
4028
4041
|
pcb_trace_warning,
|