@tscircuit/props 0.0.680 → 0.0.681
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 +5 -0
- package/dist/index.d.ts +8 -0
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/lib/components/copper-pour.ts +6 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -757,6 +757,11 @@ export interface CopperPourProps {
|
|
|
757
757
|
name?: string;
|
|
758
758
|
layer: LayerRefInput;
|
|
759
759
|
connectsTo: string;
|
|
760
|
+
/**
|
|
761
|
+
* Fill with a 45-degree crosshatch (0.25mm copper width, 1mm pitch).
|
|
762
|
+
* Preserves solid copper around boundaries and connections. Defaults to false.
|
|
763
|
+
*/
|
|
764
|
+
crosshatch?: boolean;
|
|
760
765
|
/**
|
|
761
766
|
* Reserves the pour region during autorouting so unrelated traces do not
|
|
762
767
|
* split it. Vias may still cross the region using antipads.
|
package/dist/index.d.ts
CHANGED
|
@@ -211829,6 +211829,11 @@ interface CopperPourProps {
|
|
|
211829
211829
|
name?: string;
|
|
211830
211830
|
layer: LayerRefInput;
|
|
211831
211831
|
connectsTo: string;
|
|
211832
|
+
/**
|
|
211833
|
+
* Fill with a 45-degree crosshatch (0.25mm copper width, 1mm pitch).
|
|
211834
|
+
* Preserves solid copper around boundaries and connections. Defaults to false.
|
|
211835
|
+
*/
|
|
211836
|
+
crosshatch?: boolean;
|
|
211832
211837
|
/**
|
|
211833
211838
|
* Reserves the pour region during autorouting so unrelated traces do not
|
|
211834
211839
|
* split it. Vias may still cross the region using antipads.
|
|
@@ -211855,6 +211860,7 @@ declare const copperPourProps: z.ZodObject<{
|
|
|
211855
211860
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | "inner7" | "inner8";
|
|
211856
211861
|
}>;
|
|
211857
211862
|
connectsTo: z.ZodString;
|
|
211863
|
+
crosshatch: z.ZodOptional<z.ZodBoolean>;
|
|
211858
211864
|
unbroken: z.ZodOptional<z.ZodBoolean>;
|
|
211859
211865
|
padMargin: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
211860
211866
|
traceMargin: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
@@ -211882,6 +211888,7 @@ declare const copperPourProps: z.ZodObject<{
|
|
|
211882
211888
|
x: number;
|
|
211883
211889
|
y: number;
|
|
211884
211890
|
}[] | undefined;
|
|
211891
|
+
crosshatch?: boolean | undefined;
|
|
211885
211892
|
unbroken?: boolean | undefined;
|
|
211886
211893
|
padMargin?: number | undefined;
|
|
211887
211894
|
traceMargin?: number | undefined;
|
|
@@ -211900,6 +211907,7 @@ declare const copperPourProps: z.ZodObject<{
|
|
|
211900
211907
|
y: string | number;
|
|
211901
211908
|
}[] | undefined;
|
|
211902
211909
|
coveredWithSolderMask?: boolean | undefined;
|
|
211910
|
+
crosshatch?: boolean | undefined;
|
|
211903
211911
|
unbroken?: boolean | undefined;
|
|
211904
211912
|
padMargin?: string | number | undefined;
|
|
211905
211913
|
traceMargin?: string | number | undefined;
|
package/dist/index.js
CHANGED
|
@@ -18896,6 +18896,7 @@ var copperPourProps = z120.object({
|
|
|
18896
18896
|
name: z120.string().optional(),
|
|
18897
18897
|
layer: layer_ref11,
|
|
18898
18898
|
connectsTo: z120.string(),
|
|
18899
|
+
crosshatch: z120.boolean().optional(),
|
|
18899
18900
|
unbroken: z120.boolean().optional().describe(
|
|
18900
18901
|
"Reserves the pour region during autorouting so unrelated traces do not split it. Vias may still cross the region using antipads."
|
|
18901
18902
|
),
|