@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
|
@@ -8,6 +8,11 @@ export interface CopperPourProps {
|
|
|
8
8
|
name?: string
|
|
9
9
|
layer: LayerRefInput
|
|
10
10
|
connectsTo: string
|
|
11
|
+
/**
|
|
12
|
+
* Fill with a 45-degree crosshatch (0.25mm copper width, 1mm pitch).
|
|
13
|
+
* Preserves solid copper around boundaries and connections. Defaults to false.
|
|
14
|
+
*/
|
|
15
|
+
crosshatch?: boolean
|
|
11
16
|
/**
|
|
12
17
|
* Reserves the pour region during autorouting so unrelated traces do not
|
|
13
18
|
* split it. Vias may still cross the region using antipads.
|
|
@@ -27,6 +32,7 @@ export const copperPourProps = z.object({
|
|
|
27
32
|
name: z.string().optional(),
|
|
28
33
|
layer: layer_ref,
|
|
29
34
|
connectsTo: z.string(),
|
|
35
|
+
crosshatch: z.boolean().optional(),
|
|
30
36
|
unbroken: z
|
|
31
37
|
.boolean()
|
|
32
38
|
.optional()
|