circuit-json 0.0.313 → 0.0.314
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.d.mts +244 -2
- package/dist/index.mjs +12 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -5384,6 +5384,83 @@ interface PcbCutoutPolygon {
|
|
|
5384
5384
|
shape: "polygon";
|
|
5385
5385
|
points: Point[];
|
|
5386
5386
|
}
|
|
5387
|
+
declare const pcb_cutout_path: z.ZodObject<{
|
|
5388
|
+
type: z.ZodLiteral<"pcb_cutout">;
|
|
5389
|
+
pcb_cutout_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
5390
|
+
pcb_group_id: z.ZodOptional<z.ZodString>;
|
|
5391
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
5392
|
+
pcb_board_id: z.ZodOptional<z.ZodString>;
|
|
5393
|
+
pcb_panel_id: z.ZodOptional<z.ZodString>;
|
|
5394
|
+
} & {
|
|
5395
|
+
shape: z.ZodLiteral<"path">;
|
|
5396
|
+
route: z.ZodArray<z.ZodObject<{
|
|
5397
|
+
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
5398
|
+
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
5399
|
+
}, "strip", z.ZodTypeAny, {
|
|
5400
|
+
x: number;
|
|
5401
|
+
y: number;
|
|
5402
|
+
}, {
|
|
5403
|
+
x: string | number;
|
|
5404
|
+
y: string | number;
|
|
5405
|
+
}>, "many">;
|
|
5406
|
+
slot_width: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
5407
|
+
slot_length: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
5408
|
+
space_between_slots: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
5409
|
+
slot_corner_radius: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
5410
|
+
}, "strip", z.ZodTypeAny, {
|
|
5411
|
+
type: "pcb_cutout";
|
|
5412
|
+
shape: "path";
|
|
5413
|
+
route: {
|
|
5414
|
+
x: number;
|
|
5415
|
+
y: number;
|
|
5416
|
+
}[];
|
|
5417
|
+
pcb_cutout_id: string;
|
|
5418
|
+
slot_width: number;
|
|
5419
|
+
subcircuit_id?: string | undefined;
|
|
5420
|
+
pcb_group_id?: string | undefined;
|
|
5421
|
+
pcb_board_id?: string | undefined;
|
|
5422
|
+
pcb_panel_id?: string | undefined;
|
|
5423
|
+
slot_length?: number | undefined;
|
|
5424
|
+
space_between_slots?: number | undefined;
|
|
5425
|
+
slot_corner_radius?: number | undefined;
|
|
5426
|
+
}, {
|
|
5427
|
+
type: "pcb_cutout";
|
|
5428
|
+
shape: "path";
|
|
5429
|
+
route: {
|
|
5430
|
+
x: string | number;
|
|
5431
|
+
y: string | number;
|
|
5432
|
+
}[];
|
|
5433
|
+
slot_width: string | number;
|
|
5434
|
+
subcircuit_id?: string | undefined;
|
|
5435
|
+
pcb_group_id?: string | undefined;
|
|
5436
|
+
pcb_board_id?: string | undefined;
|
|
5437
|
+
pcb_panel_id?: string | undefined;
|
|
5438
|
+
pcb_cutout_id?: string | undefined;
|
|
5439
|
+
slot_length?: string | number | undefined;
|
|
5440
|
+
space_between_slots?: string | number | undefined;
|
|
5441
|
+
slot_corner_radius?: string | number | undefined;
|
|
5442
|
+
}>;
|
|
5443
|
+
type PcbCutoutPathInput = z.input<typeof pcb_cutout_path>;
|
|
5444
|
+
/**
|
|
5445
|
+
* Defines a path-based cutout on the PCB, creating slots along the specified path.
|
|
5446
|
+
* When slot_length and space_between_slots are specified, creates a dashed pattern of slots.
|
|
5447
|
+
* When they are omitted, creates a continuous slot along the entire path.
|
|
5448
|
+
* The slot_corner_radius controls the rounding of slot corners (0 = square, slot_width/2 = circle).
|
|
5449
|
+
*/
|
|
5450
|
+
interface PcbCutoutPath {
|
|
5451
|
+
type: "pcb_cutout";
|
|
5452
|
+
pcb_cutout_id: string;
|
|
5453
|
+
pcb_group_id?: string;
|
|
5454
|
+
subcircuit_id?: string;
|
|
5455
|
+
pcb_board_id?: string;
|
|
5456
|
+
pcb_panel_id?: string;
|
|
5457
|
+
shape: "path";
|
|
5458
|
+
route: Point[];
|
|
5459
|
+
slot_width: Length;
|
|
5460
|
+
slot_length?: Length;
|
|
5461
|
+
space_between_slots?: Length;
|
|
5462
|
+
slot_corner_radius?: Length;
|
|
5463
|
+
}
|
|
5387
5464
|
declare const pcb_cutout: z.ZodDiscriminatedUnion<"shape", [z.ZodObject<{
|
|
5388
5465
|
type: z.ZodLiteral<"pcb_cutout">;
|
|
5389
5466
|
pcb_cutout_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
@@ -5525,9 +5602,64 @@ declare const pcb_cutout: z.ZodDiscriminatedUnion<"shape", [z.ZodObject<{
|
|
|
5525
5602
|
pcb_board_id?: string | undefined;
|
|
5526
5603
|
pcb_panel_id?: string | undefined;
|
|
5527
5604
|
pcb_cutout_id?: string | undefined;
|
|
5605
|
+
}>, z.ZodObject<{
|
|
5606
|
+
type: z.ZodLiteral<"pcb_cutout">;
|
|
5607
|
+
pcb_cutout_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
5608
|
+
pcb_group_id: z.ZodOptional<z.ZodString>;
|
|
5609
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
5610
|
+
pcb_board_id: z.ZodOptional<z.ZodString>;
|
|
5611
|
+
pcb_panel_id: z.ZodOptional<z.ZodString>;
|
|
5612
|
+
} & {
|
|
5613
|
+
shape: z.ZodLiteral<"path">;
|
|
5614
|
+
route: z.ZodArray<z.ZodObject<{
|
|
5615
|
+
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
5616
|
+
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
5617
|
+
}, "strip", z.ZodTypeAny, {
|
|
5618
|
+
x: number;
|
|
5619
|
+
y: number;
|
|
5620
|
+
}, {
|
|
5621
|
+
x: string | number;
|
|
5622
|
+
y: string | number;
|
|
5623
|
+
}>, "many">;
|
|
5624
|
+
slot_width: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
5625
|
+
slot_length: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
5626
|
+
space_between_slots: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
5627
|
+
slot_corner_radius: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
5628
|
+
}, "strip", z.ZodTypeAny, {
|
|
5629
|
+
type: "pcb_cutout";
|
|
5630
|
+
shape: "path";
|
|
5631
|
+
route: {
|
|
5632
|
+
x: number;
|
|
5633
|
+
y: number;
|
|
5634
|
+
}[];
|
|
5635
|
+
pcb_cutout_id: string;
|
|
5636
|
+
slot_width: number;
|
|
5637
|
+
subcircuit_id?: string | undefined;
|
|
5638
|
+
pcb_group_id?: string | undefined;
|
|
5639
|
+
pcb_board_id?: string | undefined;
|
|
5640
|
+
pcb_panel_id?: string | undefined;
|
|
5641
|
+
slot_length?: number | undefined;
|
|
5642
|
+
space_between_slots?: number | undefined;
|
|
5643
|
+
slot_corner_radius?: number | undefined;
|
|
5644
|
+
}, {
|
|
5645
|
+
type: "pcb_cutout";
|
|
5646
|
+
shape: "path";
|
|
5647
|
+
route: {
|
|
5648
|
+
x: string | number;
|
|
5649
|
+
y: string | number;
|
|
5650
|
+
}[];
|
|
5651
|
+
slot_width: string | number;
|
|
5652
|
+
subcircuit_id?: string | undefined;
|
|
5653
|
+
pcb_group_id?: string | undefined;
|
|
5654
|
+
pcb_board_id?: string | undefined;
|
|
5655
|
+
pcb_panel_id?: string | undefined;
|
|
5656
|
+
pcb_cutout_id?: string | undefined;
|
|
5657
|
+
slot_length?: string | number | undefined;
|
|
5658
|
+
space_between_slots?: string | number | undefined;
|
|
5659
|
+
slot_corner_radius?: string | number | undefined;
|
|
5528
5660
|
}>]>;
|
|
5529
5661
|
type PcbCutoutInput = z.input<typeof pcb_cutout>;
|
|
5530
|
-
type PcbCutout = PcbCutoutRect | PcbCutoutCircle | PcbCutoutPolygon;
|
|
5662
|
+
type PcbCutout = PcbCutoutRect | PcbCutoutCircle | PcbCutoutPolygon | PcbCutoutPath;
|
|
5531
5663
|
|
|
5532
5664
|
declare const pcb_missing_footprint_error: z.ZodObject<{
|
|
5533
5665
|
type: z.ZodLiteral<"pcb_missing_footprint_error">;
|
|
@@ -17910,6 +18042,61 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
17910
18042
|
pcb_board_id?: string | undefined;
|
|
17911
18043
|
pcb_panel_id?: string | undefined;
|
|
17912
18044
|
pcb_cutout_id?: string | undefined;
|
|
18045
|
+
}>, z.ZodObject<{
|
|
18046
|
+
type: z.ZodLiteral<"pcb_cutout">;
|
|
18047
|
+
pcb_cutout_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
18048
|
+
pcb_group_id: z.ZodOptional<z.ZodString>;
|
|
18049
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
18050
|
+
pcb_board_id: z.ZodOptional<z.ZodString>;
|
|
18051
|
+
pcb_panel_id: z.ZodOptional<z.ZodString>;
|
|
18052
|
+
} & {
|
|
18053
|
+
shape: z.ZodLiteral<"path">;
|
|
18054
|
+
route: z.ZodArray<z.ZodObject<{
|
|
18055
|
+
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
18056
|
+
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
18057
|
+
}, "strip", z.ZodTypeAny, {
|
|
18058
|
+
x: number;
|
|
18059
|
+
y: number;
|
|
18060
|
+
}, {
|
|
18061
|
+
x: string | number;
|
|
18062
|
+
y: string | number;
|
|
18063
|
+
}>, "many">;
|
|
18064
|
+
slot_width: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
18065
|
+
slot_length: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
18066
|
+
space_between_slots: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
18067
|
+
slot_corner_radius: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
18068
|
+
}, "strip", z.ZodTypeAny, {
|
|
18069
|
+
type: "pcb_cutout";
|
|
18070
|
+
shape: "path";
|
|
18071
|
+
route: {
|
|
18072
|
+
x: number;
|
|
18073
|
+
y: number;
|
|
18074
|
+
}[];
|
|
18075
|
+
pcb_cutout_id: string;
|
|
18076
|
+
slot_width: number;
|
|
18077
|
+
subcircuit_id?: string | undefined;
|
|
18078
|
+
pcb_group_id?: string | undefined;
|
|
18079
|
+
pcb_board_id?: string | undefined;
|
|
18080
|
+
pcb_panel_id?: string | undefined;
|
|
18081
|
+
slot_length?: number | undefined;
|
|
18082
|
+
space_between_slots?: number | undefined;
|
|
18083
|
+
slot_corner_radius?: number | undefined;
|
|
18084
|
+
}, {
|
|
18085
|
+
type: "pcb_cutout";
|
|
18086
|
+
shape: "path";
|
|
18087
|
+
route: {
|
|
18088
|
+
x: string | number;
|
|
18089
|
+
y: string | number;
|
|
18090
|
+
}[];
|
|
18091
|
+
slot_width: string | number;
|
|
18092
|
+
subcircuit_id?: string | undefined;
|
|
18093
|
+
pcb_group_id?: string | undefined;
|
|
18094
|
+
pcb_board_id?: string | undefined;
|
|
18095
|
+
pcb_panel_id?: string | undefined;
|
|
18096
|
+
pcb_cutout_id?: string | undefined;
|
|
18097
|
+
slot_length?: string | number | undefined;
|
|
18098
|
+
space_between_slots?: string | number | undefined;
|
|
18099
|
+
slot_corner_radius?: string | number | undefined;
|
|
17913
18100
|
}>]>, z.ZodObject<{
|
|
17914
18101
|
type: z.ZodLiteral<"pcb_ground_plane">;
|
|
17915
18102
|
pcb_ground_plane_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
@@ -25664,6 +25851,61 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
25664
25851
|
pcb_board_id?: string | undefined;
|
|
25665
25852
|
pcb_panel_id?: string | undefined;
|
|
25666
25853
|
pcb_cutout_id?: string | undefined;
|
|
25854
|
+
}>, z.ZodObject<{
|
|
25855
|
+
type: z.ZodLiteral<"pcb_cutout">;
|
|
25856
|
+
pcb_cutout_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
25857
|
+
pcb_group_id: z.ZodOptional<z.ZodString>;
|
|
25858
|
+
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
25859
|
+
pcb_board_id: z.ZodOptional<z.ZodString>;
|
|
25860
|
+
pcb_panel_id: z.ZodOptional<z.ZodString>;
|
|
25861
|
+
} & {
|
|
25862
|
+
shape: z.ZodLiteral<"path">;
|
|
25863
|
+
route: z.ZodArray<z.ZodObject<{
|
|
25864
|
+
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
25865
|
+
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
25866
|
+
}, "strip", z.ZodTypeAny, {
|
|
25867
|
+
x: number;
|
|
25868
|
+
y: number;
|
|
25869
|
+
}, {
|
|
25870
|
+
x: string | number;
|
|
25871
|
+
y: string | number;
|
|
25872
|
+
}>, "many">;
|
|
25873
|
+
slot_width: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
25874
|
+
slot_length: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
25875
|
+
space_between_slots: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
25876
|
+
slot_corner_radius: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
25877
|
+
}, "strip", z.ZodTypeAny, {
|
|
25878
|
+
type: "pcb_cutout";
|
|
25879
|
+
shape: "path";
|
|
25880
|
+
route: {
|
|
25881
|
+
x: number;
|
|
25882
|
+
y: number;
|
|
25883
|
+
}[];
|
|
25884
|
+
pcb_cutout_id: string;
|
|
25885
|
+
slot_width: number;
|
|
25886
|
+
subcircuit_id?: string | undefined;
|
|
25887
|
+
pcb_group_id?: string | undefined;
|
|
25888
|
+
pcb_board_id?: string | undefined;
|
|
25889
|
+
pcb_panel_id?: string | undefined;
|
|
25890
|
+
slot_length?: number | undefined;
|
|
25891
|
+
space_between_slots?: number | undefined;
|
|
25892
|
+
slot_corner_radius?: number | undefined;
|
|
25893
|
+
}, {
|
|
25894
|
+
type: "pcb_cutout";
|
|
25895
|
+
shape: "path";
|
|
25896
|
+
route: {
|
|
25897
|
+
x: string | number;
|
|
25898
|
+
y: string | number;
|
|
25899
|
+
}[];
|
|
25900
|
+
slot_width: string | number;
|
|
25901
|
+
subcircuit_id?: string | undefined;
|
|
25902
|
+
pcb_group_id?: string | undefined;
|
|
25903
|
+
pcb_board_id?: string | undefined;
|
|
25904
|
+
pcb_panel_id?: string | undefined;
|
|
25905
|
+
pcb_cutout_id?: string | undefined;
|
|
25906
|
+
slot_length?: string | number | undefined;
|
|
25907
|
+
space_between_slots?: string | number | undefined;
|
|
25908
|
+
slot_corner_radius?: string | number | undefined;
|
|
25667
25909
|
}>]>, z.ZodObject<{
|
|
25668
25910
|
type: z.ZodLiteral<"pcb_ground_plane">;
|
|
25669
25911
|
pcb_ground_plane_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
@@ -27883,4 +28125,4 @@ type AnySoupElementInput = AnyCircuitElementInput;
|
|
|
27883
28125
|
*/
|
|
27884
28126
|
type CircuitJson = AnyCircuitElement[];
|
|
27885
28127
|
|
|
27886
|
-
export { type AnyCircuitElement, type AnyCircuitElementInput, type AnySoupElement, type AnySoupElementInput, type AnySourceComponent, type AnySourceElement, type BRepShape, type CadComponent, type CadComponentInput, type CircuitJson, type CircuitJsonError, type CircuitJsonFootprintLoadError, type CircuitJsonFootprintLoadErrorInput, type Distance, type ExperimentType, type ExternalFootprintLoadError, type ExternalFootprintLoadErrorInput, type InferredProjectMetadata, type InferredSchematicNetLabel, type InputPoint, type InputPosition, type InputRotation, type LayerRef, type LayerRefInput, type Length, type NinePointAnchor, type PCBBoard, type PCBComponent, type PCBCopperText, type PCBCourtyardOutline, type PCBCourtyardPolygon, type PCBCourtyardRect, type PCBFabricationNoteDimension, type PCBFabricationNotePath, type PCBFabricationNoteRect, type PCBFabricationNoteText, type PCBHole, type PCBHoleInput, type PCBKeepout, type PCBKeepoutCircle, type PCBKeepoutInput, type PCBKeepoutRect, type PCBMissingFootprintError, type PCBPanel, type PCBPlacementError, type PCBPlatedHole, type PCBPlatedHoleInput, type PCBPort, type PCBPortInput, type PCBPortNotMatchedError, type PCBSMTPad, type PCBSMTPadInput, type PCBSilkscreenLine, type PCBSilkscreenText, type PCBSolderPasteInput, type PCBText, type PCBTrace, type PCBTraceError, type PCBTraceHint, type PCBTraceInput, type PCBTraceMissingError, type PCBVia, type PcbAutoroutingError, type PcbAutoroutingErrorInput, type PcbAutoroutingErrorInterface, type PcbBoard, type PcbBoardInput, type PcbBreakoutPoint, type PcbBreakoutPointInput, type PcbCircuitElement, type PcbComponent, type PcbComponentInput, type PcbComponentInvalidLayerError, type PcbComponentInvalidLayerErrorInput, type PcbComponentOutsideBoardError, type PcbComponentOutsideBoardErrorInput, type PcbCopperPour, type PcbCopperPourBRep, type PcbCopperPourBRepInput, type PcbCopperPourInput, type PcbCopperPourPolygon, type PcbCopperPourPolygonInput, type PcbCopperPourRect, type PcbCopperPourRectInput, type PcbCopperText, type PcbCopperTextInput, type PcbCourtyardOutline, type PcbCourtyardOutlineInput, type PcbCourtyardPolygon, type PcbCourtyardPolygonInput, type PcbCourtyardRect, type PcbCourtyardRectInput, type PcbCutout, type PcbCutoutCircle, type PcbCutoutCircleInput, type PcbCutoutInput, type PcbCutoutPolygon, type PcbCutoutPolygonInput, type PcbCutoutRect, type PcbCutoutRectInput, type PcbFabricationNoteDimension, type PcbFabricationNoteDimensionInput, type PcbFabricationNotePath, type PcbFabricationNotePathInput, type PcbFabricationNoteRect, type PcbFabricationNoteRectInput, type PcbFabricationNoteText, type PcbFabricationNoteTextInput, type PcbFootprintOverlapError, type PcbFootprintOverlapErrorInput, type PcbGroundPlane, type PcbGroundPlaneInput, type PcbGroundPlaneRegion, type PcbGroundPlaneRegionInput, type PcbGroup, type PcbGroupInput, type PcbHole, type PcbHoleCircle, type PcbHoleCircleInput, type PcbHoleCircleOrSquare, type PcbHoleCircleOrSquareInput, type PcbHoleCircularWithRectPad, type PcbHoleOval, type PcbHoleOvalInput, type PcbHolePill, type PcbHolePillInput, type PcbHolePillWithRectPad, type PcbHoleRect, type PcbHoleRectInput, type PcbHoleRotatedPill, type PcbHoleRotatedPillInput, type PcbHoleRotatedPillWithRectPad, type PcbHoleWithPolygonPad, type PcbManualEditConflictWarning, type PcbManualEditConflictWarningInput, type PcbMissingFootprintError, type PcbMissingFootprintErrorInput, type PcbNet, type PcbNetInput, type PcbNoteDimension, type PcbNoteDimensionInput, type PcbNoteLine, type PcbNoteLineInput, type PcbNotePath, type PcbNotePathInput, type PcbNoteRect, type PcbNoteRectInput, type PcbNoteText, type PcbNoteTextInput, type PcbPanel, type PcbPanelInput, type PcbPlacementError, type PcbPlacementErrorInput, type PcbPlatedHole, type PcbPlatedHoleCircle, type PcbPlatedHoleInput, type PcbPlatedHoleOval, type PcbPort, type PcbPortInput, type PcbPortNotConnectedError, type PcbPortNotConnectedErrorInput, type PcbPortNotMatchedError, type PcbPortNotMatchedErrorInput, type PcbRouteHint, type PcbRouteHintInput, type PcbRouteHints, type PcbRouteHintsInput, type PcbSilkscreenCircle, type PcbSilkscreenCircleInput, type PcbSilkscreenLine, type PcbSilkscreenLineInput, type PcbSilkscreenOval, type PcbSilkscreenOvalDeprecated, type PcbSilkscreenOvalInput, type PcbSilkscreenPath, type PcbSilkscreenPathDeprecated, type PcbSilkscreenPathInput, type PcbSilkscreenRect, type PcbSilkscreenRectInput, type PcbSilkscreenRectOld, type PcbSilkscreenText, type PcbSilkscreenTextInput, type PcbSmtPad, type PcbSmtPadCircle, type PcbSmtPadPill, type PcbSmtPadPolygon, type PcbSmtPadRect, type PcbSmtPadRotatedPill, type PcbSmtPadRotatedRect, type PcbSolderPaste, type PcbSolderPasteCircle, type PcbSolderPasteOval, type PcbSolderPastePill, type PcbSolderPasteRect, type PcbSolderPasteRotatedRect, type PcbText, type PcbTextInput, type PcbThermalSpoke, type PcbThermalSpokeInput, type PcbTrace, type PcbTraceError, type PcbTraceErrorInput, type PcbTraceHint, type PcbTraceHintInput, type PcbTraceInput, type PcbTraceMissingError, type PcbTraceMissingErrorInput, type PcbTraceRoutePoint, type PcbTraceRoutePointVia, type PcbTraceRoutePointWire, type PcbVia, type PcbViaClearanceError, type PcbViaClearanceErrorInput, type PcbViaInput, type Point, type Point3, type PointWithBulge, type Position, type Ring, type Rotation, type RouteHintPoint, type RouteHintPointInput, type SchematicArc, type SchematicArcInput, type SchematicBox, type SchematicBoxInput, type SchematicCircle, type SchematicCircleInput, type SchematicComponent, type SchematicComponentInput, type SchematicDebugLine, type SchematicDebugObject, type SchematicDebugObjectInput, type SchematicDebugPoint, type SchematicDebugRect, type SchematicError, type SchematicErrorInput, type SchematicGroup, type SchematicGroupInput, type SchematicLayoutError, type SchematicLayoutErrorInput, type SchematicLine, type SchematicLineInput, type SchematicManualEditConflictWarning, type SchematicManualEditConflictWarningInput, type SchematicNetLabel, type SchematicNetLabelInput, type SchematicPath, type SchematicPathInput, type SchematicPort, type SchematicPortArrangement, type SchematicPortArrangementBySides, type SchematicPortArrangementBySize, type SchematicPortInput, type SchematicRect, type SchematicRectInput, type SchematicSheet, type SchematicSheetInput, type SchematicTable, type SchematicTableCell, type SchematicTableCellInput, type SchematicTableInput, type SchematicText, type SchematicTextInput, type SchematicTrace, type SchematicTraceEdge, type SchematicTraceInput, type SchematicVoltageProbe, type SchematicVoltageProbeInput, type SimulationAcVoltageSource, type SimulationAcVoltageSourceInput, type SimulationDcVoltageSource, type SimulationExperiment, type SimulationExperimentInput, type SimulationSwitch, type SimulationSwitchInput, type SimulationTransientVoltageGraph, type SimulationTransientVoltageGraphInput, type SimulationUnknownExperimentError, type SimulationUnknownExperimentErrorInput, type SimulationVoltageProbe, type SimulationVoltageProbeInput, type SimulationVoltageSource, type SimulationVoltageSourceInput, type Size, type SizeInput, type SourceBoard, type SourceBoardInput, type SourceComponentBase, type SourceFailedToCreateComponentError, type SourceFailedToCreateComponentErrorInput, type SourceGroup, type SourceGroupInput, type SourceManuallyPlacedVia, type SourceManuallyPlacedViaInput, type SourceMissingPropertyError, type SourceMissingPropertyErrorInput, type SourceNet, type SourceNetInput, type SourcePcbGroundPlane, type SourcePcbGroundPlaneInput, type SourcePinMissingTraceWarning, type SourcePinMissingTraceWarningInput, type SourcePort, type SourcePortInput, type SourceProjectMetadata, type SourcePropertyIgnoredWarning, type SourcePropertyIgnoredWarningInput, type SourceSimpleBattery, type SourceSimpleBatteryInput, type SourceSimpleCapacitor, type SourceSimpleCapacitorInput, type SourceSimpleChip, type SourceSimpleChipInput, type SourceSimpleCrystal, type SourceSimpleCrystalInput, type SourceSimpleDiode, type SourceSimpleDiodeInput, type SourceSimpleGround, type SourceSimpleGroundInput, type SourceSimpleInductor, type SourceSimpleInductorInput, type SourceSimpleLed, type SourceSimpleLedInput, type SourceSimpleMosfet, type SourceSimpleMosfetInput, type SourceSimplePinHeader, type SourceSimplePinHeaderInput, type SourceSimplePinout, type SourceSimplePinoutInput, type SourceSimplePotentiometer, type SourceSimplePotentiometerInput, type SourceSimplePowerSource, type SourceSimplePowerSourceInput, type SourceSimplePushButton, type SourceSimplePushButtonInput, type SourceSimpleResistor, type SourceSimpleResistorInput, type SourceSimpleResonator, type SourceSimpleResonatorInput, type SourceSimpleSwitch, type SourceSimpleSwitchInput, type SourceSimpleTestPoint, type SourceSimpleTestPointInput, type SourceSimpleTransistor, type SourceSimpleTransistorInput, type SourceSimpleVoltageProbe, type SourceSimpleVoltageProbeInput, type SourceTrace, type SourceTraceNotConnectedError, type SourceTraceNotConnectedErrorInput, type SupplierName, type UnknownErrorFindingPart, type UnknownErrorFindingPartInput, type VisibleLayer, type VisibleLayerRef, type WaveShape, all_layers, any_circuit_element, any_soup_element, any_source_component, battery_capacity, brep_shape, cad_component, capacitance, circuit_json_footprint_load_error, current, distance, duration_ms, experiment_type, external_footprint_load_error, frequency, getZodPrefixedIdWithDefault, inductance, layer_ref, layer_string, length, ms, ninePointAnchor, pcb_autorouting_error, pcb_board, pcb_breakout_point, pcb_component, pcb_component_invalid_layer_error, pcb_component_outside_board_error, pcb_copper_pour, pcb_copper_pour_brep, pcb_copper_pour_polygon, pcb_copper_pour_rect, pcb_copper_text, pcb_courtyard_outline, pcb_courtyard_polygon, pcb_courtyard_rect, pcb_cutout, pcb_cutout_circle, pcb_cutout_polygon, pcb_cutout_rect, pcb_fabrication_note_dimension, pcb_fabrication_note_path, pcb_fabrication_note_rect, pcb_fabrication_note_text, pcb_footprint_overlap_error, pcb_ground_plane, pcb_ground_plane_region, pcb_group, pcb_hole, pcb_hole_circle_or_square_shape, pcb_hole_circle_shape, pcb_hole_oval_shape, pcb_hole_pill_shape, pcb_hole_rect_shape, pcb_hole_rotated_pill_shape, pcb_keepout, pcb_manual_edit_conflict_warning, pcb_missing_footprint_error, pcb_net, pcb_note_dimension, pcb_note_line, pcb_note_path, pcb_note_rect, pcb_note_text, pcb_panel, pcb_placement_error, pcb_plated_hole, pcb_port, pcb_port_not_connected_error, pcb_port_not_matched_error, pcb_route_hint, pcb_route_hints, pcb_silkscreen_circle, pcb_silkscreen_line, pcb_silkscreen_oval, pcb_silkscreen_path, pcb_silkscreen_rect, pcb_silkscreen_text, pcb_smtpad, pcb_smtpad_pill, pcb_solder_paste, pcb_text, pcb_thermal_spoke, pcb_trace, pcb_trace_error, pcb_trace_hint, pcb_trace_missing_error, pcb_trace_route_point, pcb_trace_route_point_via, pcb_trace_route_point_wire, pcb_via, pcb_via_clearance_error, point, point3, point_with_bulge, port_arrangement, position, position3, resistance, ring, rotation, route_hint_point, schematic_arc, schematic_box, schematic_circle, schematic_component, schematic_component_port_arrangement_by_sides, schematic_component_port_arrangement_by_size, schematic_debug_line, schematic_debug_object, schematic_debug_object_base, schematic_debug_point, schematic_debug_rect, schematic_error, schematic_group, schematic_layout_error, schematic_line, schematic_manual_edit_conflict_warning, schematic_net_label, schematic_path, schematic_pin_styles, schematic_port, schematic_rect, schematic_sheet, schematic_table, schematic_table_cell, schematic_text, schematic_trace, schematic_voltage_probe, simulation_ac_voltage_source, simulation_dc_voltage_source, simulation_experiment, simulation_switch, simulation_transient_voltage_graph, simulation_unknown_experiment_error, simulation_voltage_probe, simulation_voltage_source, size, source_board, source_component_base, source_failed_to_create_component_error, source_group, source_manually_placed_via, source_missing_property_error, source_net, source_pcb_ground_plane, source_pin_missing_trace_warning, source_port, source_project_metadata, source_property_ignored_warning, source_simple_battery, source_simple_capacitor, source_simple_chip, source_simple_crystal, source_simple_diode, source_simple_ground, source_simple_inductor, source_simple_led, source_simple_mosfet, source_simple_pin_header, source_simple_pinout, source_simple_potentiometer, source_simple_power_source, source_simple_push_button, source_simple_resistor, source_simple_resonator, source_simple_switch, source_simple_test_point, source_simple_transistor, source_simple_voltage_probe, source_trace, source_trace_not_connected_error, supplier_name, time, timestamp, unknown_error_finding_part, visible_layer, voltage, wave_shape };
|
|
28128
|
+
export { type AnyCircuitElement, type AnyCircuitElementInput, type AnySoupElement, type AnySoupElementInput, type AnySourceComponent, type AnySourceElement, type BRepShape, type CadComponent, type CadComponentInput, type CircuitJson, type CircuitJsonError, type CircuitJsonFootprintLoadError, type CircuitJsonFootprintLoadErrorInput, type Distance, type ExperimentType, type ExternalFootprintLoadError, type ExternalFootprintLoadErrorInput, type InferredProjectMetadata, type InferredSchematicNetLabel, type InputPoint, type InputPosition, type InputRotation, type LayerRef, type LayerRefInput, type Length, type NinePointAnchor, type PCBBoard, type PCBComponent, type PCBCopperText, type PCBCourtyardOutline, type PCBCourtyardPolygon, type PCBCourtyardRect, type PCBFabricationNoteDimension, type PCBFabricationNotePath, type PCBFabricationNoteRect, type PCBFabricationNoteText, type PCBHole, type PCBHoleInput, type PCBKeepout, type PCBKeepoutCircle, type PCBKeepoutInput, type PCBKeepoutRect, type PCBMissingFootprintError, type PCBPanel, type PCBPlacementError, type PCBPlatedHole, type PCBPlatedHoleInput, type PCBPort, type PCBPortInput, type PCBPortNotMatchedError, type PCBSMTPad, type PCBSMTPadInput, type PCBSilkscreenLine, type PCBSilkscreenText, type PCBSolderPasteInput, type PCBText, type PCBTrace, type PCBTraceError, type PCBTraceHint, type PCBTraceInput, type PCBTraceMissingError, type PCBVia, type PcbAutoroutingError, type PcbAutoroutingErrorInput, type PcbAutoroutingErrorInterface, type PcbBoard, type PcbBoardInput, type PcbBreakoutPoint, type PcbBreakoutPointInput, type PcbCircuitElement, type PcbComponent, type PcbComponentInput, type PcbComponentInvalidLayerError, type PcbComponentInvalidLayerErrorInput, type PcbComponentOutsideBoardError, type PcbComponentOutsideBoardErrorInput, type PcbCopperPour, type PcbCopperPourBRep, type PcbCopperPourBRepInput, type PcbCopperPourInput, type PcbCopperPourPolygon, type PcbCopperPourPolygonInput, type PcbCopperPourRect, type PcbCopperPourRectInput, type PcbCopperText, type PcbCopperTextInput, type PcbCourtyardOutline, type PcbCourtyardOutlineInput, type PcbCourtyardPolygon, type PcbCourtyardPolygonInput, type PcbCourtyardRect, type PcbCourtyardRectInput, type PcbCutout, type PcbCutoutCircle, type PcbCutoutCircleInput, type PcbCutoutInput, type PcbCutoutPath, type PcbCutoutPathInput, type PcbCutoutPolygon, type PcbCutoutPolygonInput, type PcbCutoutRect, type PcbCutoutRectInput, type PcbFabricationNoteDimension, type PcbFabricationNoteDimensionInput, type PcbFabricationNotePath, type PcbFabricationNotePathInput, type PcbFabricationNoteRect, type PcbFabricationNoteRectInput, type PcbFabricationNoteText, type PcbFabricationNoteTextInput, type PcbFootprintOverlapError, type PcbFootprintOverlapErrorInput, type PcbGroundPlane, type PcbGroundPlaneInput, type PcbGroundPlaneRegion, type PcbGroundPlaneRegionInput, type PcbGroup, type PcbGroupInput, type PcbHole, type PcbHoleCircle, type PcbHoleCircleInput, type PcbHoleCircleOrSquare, type PcbHoleCircleOrSquareInput, type PcbHoleCircularWithRectPad, type PcbHoleOval, type PcbHoleOvalInput, type PcbHolePill, type PcbHolePillInput, type PcbHolePillWithRectPad, type PcbHoleRect, type PcbHoleRectInput, type PcbHoleRotatedPill, type PcbHoleRotatedPillInput, type PcbHoleRotatedPillWithRectPad, type PcbHoleWithPolygonPad, type PcbManualEditConflictWarning, type PcbManualEditConflictWarningInput, type PcbMissingFootprintError, type PcbMissingFootprintErrorInput, type PcbNet, type PcbNetInput, type PcbNoteDimension, type PcbNoteDimensionInput, type PcbNoteLine, type PcbNoteLineInput, type PcbNotePath, type PcbNotePathInput, type PcbNoteRect, type PcbNoteRectInput, type PcbNoteText, type PcbNoteTextInput, type PcbPanel, type PcbPanelInput, type PcbPlacementError, type PcbPlacementErrorInput, type PcbPlatedHole, type PcbPlatedHoleCircle, type PcbPlatedHoleInput, type PcbPlatedHoleOval, type PcbPort, type PcbPortInput, type PcbPortNotConnectedError, type PcbPortNotConnectedErrorInput, type PcbPortNotMatchedError, type PcbPortNotMatchedErrorInput, type PcbRouteHint, type PcbRouteHintInput, type PcbRouteHints, type PcbRouteHintsInput, type PcbSilkscreenCircle, type PcbSilkscreenCircleInput, type PcbSilkscreenLine, type PcbSilkscreenLineInput, type PcbSilkscreenOval, type PcbSilkscreenOvalDeprecated, type PcbSilkscreenOvalInput, type PcbSilkscreenPath, type PcbSilkscreenPathDeprecated, type PcbSilkscreenPathInput, type PcbSilkscreenRect, type PcbSilkscreenRectInput, type PcbSilkscreenRectOld, type PcbSilkscreenText, type PcbSilkscreenTextInput, type PcbSmtPad, type PcbSmtPadCircle, type PcbSmtPadPill, type PcbSmtPadPolygon, type PcbSmtPadRect, type PcbSmtPadRotatedPill, type PcbSmtPadRotatedRect, type PcbSolderPaste, type PcbSolderPasteCircle, type PcbSolderPasteOval, type PcbSolderPastePill, type PcbSolderPasteRect, type PcbSolderPasteRotatedRect, type PcbText, type PcbTextInput, type PcbThermalSpoke, type PcbThermalSpokeInput, type PcbTrace, type PcbTraceError, type PcbTraceErrorInput, type PcbTraceHint, type PcbTraceHintInput, type PcbTraceInput, type PcbTraceMissingError, type PcbTraceMissingErrorInput, type PcbTraceRoutePoint, type PcbTraceRoutePointVia, type PcbTraceRoutePointWire, type PcbVia, type PcbViaClearanceError, type PcbViaClearanceErrorInput, type PcbViaInput, type Point, type Point3, type PointWithBulge, type Position, type Ring, type Rotation, type RouteHintPoint, type RouteHintPointInput, type SchematicArc, type SchematicArcInput, type SchematicBox, type SchematicBoxInput, type SchematicCircle, type SchematicCircleInput, type SchematicComponent, type SchematicComponentInput, type SchematicDebugLine, type SchematicDebugObject, type SchematicDebugObjectInput, type SchematicDebugPoint, type SchematicDebugRect, type SchematicError, type SchematicErrorInput, type SchematicGroup, type SchematicGroupInput, type SchematicLayoutError, type SchematicLayoutErrorInput, type SchematicLine, type SchematicLineInput, type SchematicManualEditConflictWarning, type SchematicManualEditConflictWarningInput, type SchematicNetLabel, type SchematicNetLabelInput, type SchematicPath, type SchematicPathInput, type SchematicPort, type SchematicPortArrangement, type SchematicPortArrangementBySides, type SchematicPortArrangementBySize, type SchematicPortInput, type SchematicRect, type SchematicRectInput, type SchematicSheet, type SchematicSheetInput, type SchematicTable, type SchematicTableCell, type SchematicTableCellInput, type SchematicTableInput, type SchematicText, type SchematicTextInput, type SchematicTrace, type SchematicTraceEdge, type SchematicTraceInput, type SchematicVoltageProbe, type SchematicVoltageProbeInput, type SimulationAcVoltageSource, type SimulationAcVoltageSourceInput, type SimulationDcVoltageSource, type SimulationExperiment, type SimulationExperimentInput, type SimulationSwitch, type SimulationSwitchInput, type SimulationTransientVoltageGraph, type SimulationTransientVoltageGraphInput, type SimulationUnknownExperimentError, type SimulationUnknownExperimentErrorInput, type SimulationVoltageProbe, type SimulationVoltageProbeInput, type SimulationVoltageSource, type SimulationVoltageSourceInput, type Size, type SizeInput, type SourceBoard, type SourceBoardInput, type SourceComponentBase, type SourceFailedToCreateComponentError, type SourceFailedToCreateComponentErrorInput, type SourceGroup, type SourceGroupInput, type SourceManuallyPlacedVia, type SourceManuallyPlacedViaInput, type SourceMissingPropertyError, type SourceMissingPropertyErrorInput, type SourceNet, type SourceNetInput, type SourcePcbGroundPlane, type SourcePcbGroundPlaneInput, type SourcePinMissingTraceWarning, type SourcePinMissingTraceWarningInput, type SourcePort, type SourcePortInput, type SourceProjectMetadata, type SourcePropertyIgnoredWarning, type SourcePropertyIgnoredWarningInput, type SourceSimpleBattery, type SourceSimpleBatteryInput, type SourceSimpleCapacitor, type SourceSimpleCapacitorInput, type SourceSimpleChip, type SourceSimpleChipInput, type SourceSimpleCrystal, type SourceSimpleCrystalInput, type SourceSimpleDiode, type SourceSimpleDiodeInput, type SourceSimpleGround, type SourceSimpleGroundInput, type SourceSimpleInductor, type SourceSimpleInductorInput, type SourceSimpleLed, type SourceSimpleLedInput, type SourceSimpleMosfet, type SourceSimpleMosfetInput, type SourceSimplePinHeader, type SourceSimplePinHeaderInput, type SourceSimplePinout, type SourceSimplePinoutInput, type SourceSimplePotentiometer, type SourceSimplePotentiometerInput, type SourceSimplePowerSource, type SourceSimplePowerSourceInput, type SourceSimplePushButton, type SourceSimplePushButtonInput, type SourceSimpleResistor, type SourceSimpleResistorInput, type SourceSimpleResonator, type SourceSimpleResonatorInput, type SourceSimpleSwitch, type SourceSimpleSwitchInput, type SourceSimpleTestPoint, type SourceSimpleTestPointInput, type SourceSimpleTransistor, type SourceSimpleTransistorInput, type SourceSimpleVoltageProbe, type SourceSimpleVoltageProbeInput, type SourceTrace, type SourceTraceNotConnectedError, type SourceTraceNotConnectedErrorInput, type SupplierName, type UnknownErrorFindingPart, type UnknownErrorFindingPartInput, type VisibleLayer, type VisibleLayerRef, type WaveShape, all_layers, any_circuit_element, any_soup_element, any_source_component, battery_capacity, brep_shape, cad_component, capacitance, circuit_json_footprint_load_error, current, distance, duration_ms, experiment_type, external_footprint_load_error, frequency, getZodPrefixedIdWithDefault, inductance, layer_ref, layer_string, length, ms, ninePointAnchor, pcb_autorouting_error, pcb_board, pcb_breakout_point, pcb_component, pcb_component_invalid_layer_error, pcb_component_outside_board_error, pcb_copper_pour, pcb_copper_pour_brep, pcb_copper_pour_polygon, pcb_copper_pour_rect, pcb_copper_text, pcb_courtyard_outline, pcb_courtyard_polygon, pcb_courtyard_rect, pcb_cutout, pcb_cutout_circle, pcb_cutout_path, pcb_cutout_polygon, pcb_cutout_rect, pcb_fabrication_note_dimension, pcb_fabrication_note_path, pcb_fabrication_note_rect, pcb_fabrication_note_text, pcb_footprint_overlap_error, pcb_ground_plane, pcb_ground_plane_region, pcb_group, pcb_hole, pcb_hole_circle_or_square_shape, pcb_hole_circle_shape, pcb_hole_oval_shape, pcb_hole_pill_shape, pcb_hole_rect_shape, pcb_hole_rotated_pill_shape, pcb_keepout, pcb_manual_edit_conflict_warning, pcb_missing_footprint_error, pcb_net, pcb_note_dimension, pcb_note_line, pcb_note_path, pcb_note_rect, pcb_note_text, pcb_panel, pcb_placement_error, pcb_plated_hole, pcb_port, pcb_port_not_connected_error, pcb_port_not_matched_error, pcb_route_hint, pcb_route_hints, pcb_silkscreen_circle, pcb_silkscreen_line, pcb_silkscreen_oval, pcb_silkscreen_path, pcb_silkscreen_rect, pcb_silkscreen_text, pcb_smtpad, pcb_smtpad_pill, pcb_solder_paste, pcb_text, pcb_thermal_spoke, pcb_trace, pcb_trace_error, pcb_trace_hint, pcb_trace_missing_error, pcb_trace_route_point, pcb_trace_route_point_via, pcb_trace_route_point_wire, pcb_via, pcb_via_clearance_error, point, point3, point_with_bulge, port_arrangement, position, position3, resistance, ring, rotation, route_hint_point, schematic_arc, schematic_box, schematic_circle, schematic_component, schematic_component_port_arrangement_by_sides, schematic_component_port_arrangement_by_size, schematic_debug_line, schematic_debug_object, schematic_debug_object_base, schematic_debug_point, schematic_debug_rect, schematic_error, schematic_group, schematic_layout_error, schematic_line, schematic_manual_edit_conflict_warning, schematic_net_label, schematic_path, schematic_pin_styles, schematic_port, schematic_rect, schematic_sheet, schematic_table, schematic_table_cell, schematic_text, schematic_trace, schematic_voltage_probe, simulation_ac_voltage_source, simulation_dc_voltage_source, simulation_experiment, simulation_switch, simulation_transient_voltage_graph, simulation_unknown_experiment_error, simulation_voltage_probe, simulation_voltage_source, size, source_board, source_component_base, source_failed_to_create_component_error, source_group, source_manually_placed_via, source_missing_property_error, source_net, source_pcb_ground_plane, source_pin_missing_trace_warning, source_port, source_project_metadata, source_property_ignored_warning, source_simple_battery, source_simple_capacitor, source_simple_chip, source_simple_crystal, source_simple_diode, source_simple_ground, source_simple_inductor, source_simple_led, source_simple_mosfet, source_simple_pin_header, source_simple_pinout, source_simple_potentiometer, source_simple_power_source, source_simple_push_button, source_simple_resistor, source_simple_resonator, source_simple_switch, source_simple_test_point, source_simple_transistor, source_simple_voltage_probe, source_trace, source_trace_not_connected_error, supplier_name, time, timestamp, unknown_error_finding_part, visible_layer, voltage, wave_shape };
|
package/dist/index.mjs
CHANGED
|
@@ -2373,10 +2373,20 @@ var pcb_cutout_polygon = pcb_cutout_base.extend({
|
|
|
2373
2373
|
points: z106.array(point)
|
|
2374
2374
|
});
|
|
2375
2375
|
expectTypesMatch(true);
|
|
2376
|
+
var pcb_cutout_path = pcb_cutout_base.extend({
|
|
2377
|
+
shape: z106.literal("path"),
|
|
2378
|
+
route: z106.array(point),
|
|
2379
|
+
slot_width: length,
|
|
2380
|
+
slot_length: length.optional(),
|
|
2381
|
+
space_between_slots: length.optional(),
|
|
2382
|
+
slot_corner_radius: length.optional()
|
|
2383
|
+
});
|
|
2384
|
+
expectTypesMatch(true);
|
|
2376
2385
|
var pcb_cutout = z106.discriminatedUnion("shape", [
|
|
2377
2386
|
pcb_cutout_rect,
|
|
2378
2387
|
pcb_cutout_circle,
|
|
2379
|
-
pcb_cutout_polygon
|
|
2388
|
+
pcb_cutout_polygon,
|
|
2389
|
+
pcb_cutout_path
|
|
2380
2390
|
]).describe("Defines a cutout on the PCB, removing board material.");
|
|
2381
2391
|
expectTypesMatch(true);
|
|
2382
2392
|
|
|
@@ -3014,6 +3024,7 @@ export {
|
|
|
3014
3024
|
pcb_courtyard_rect,
|
|
3015
3025
|
pcb_cutout,
|
|
3016
3026
|
pcb_cutout_circle,
|
|
3027
|
+
pcb_cutout_path,
|
|
3017
3028
|
pcb_cutout_polygon,
|
|
3018
3029
|
pcb_cutout_rect,
|
|
3019
3030
|
pcb_fabrication_note_dimension,
|