@tscircuit/props 0.0.650 → 0.0.651

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 CHANGED
@@ -447,6 +447,10 @@ export interface BoardProps extends Omit<
447
447
  * to false.
448
448
  */
449
449
  automaticPoursEnabled?: boolean;
450
+ /** Whether to stitch copper pours on the same net across layers with vias. Defaults to false. */
451
+ enableViaStitching?: boolean;
452
+ /** Positive center-to-center stitching via spacing in millimeters or a unit string. Omitted uses the solver default. Does not enable stitching by itself. */
453
+ viaStitchPitch?: Distance;
450
454
  /** Whether this board should be omitted from the schematic view */
451
455
  schematicDisabled?: boolean;
452
456
  }
package/dist/index.d.ts CHANGED
@@ -27934,6 +27934,10 @@ interface BoardProps extends Omit<SubcircuitGroupProps, "subcircuit" | "connecti
27934
27934
  * to false.
27935
27935
  */
27936
27936
  automaticPoursEnabled?: boolean;
27937
+ /** Whether to stitch copper pours on the same net across layers with vias. Defaults to false. */
27938
+ enableViaStitching?: boolean;
27939
+ /** Positive center-to-center stitching via spacing in millimeters or a unit string. Omitted uses the solver default. Does not enable stitching by itself. */
27940
+ viaStitchPitch?: Distance;
27937
27941
  /** Whether this board should be omitted from the schematic view */
27938
27942
  schematicDisabled?: boolean;
27939
27943
  }
@@ -28755,6 +28759,8 @@ declare const boardProps: z.ZodObject<{
28755
28759
  doubleSidedAssembly: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
28756
28760
  isViaInPadAllowed: z.ZodOptional<z.ZodBoolean>;
28757
28761
  automaticPoursEnabled: z.ZodDefault<z.ZodBoolean>;
28762
+ enableViaStitching: z.ZodDefault<z.ZodBoolean>;
28763
+ viaStitchPitch: z.ZodOptional<z.ZodPipeline<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>, z.ZodNumber>>;
28758
28764
  schematicDisabled: z.ZodOptional<z.ZodBoolean>;
28759
28765
  }, "strip", z.ZodTypeAny, {
28760
28766
  layers: 1 | 2 | 4 | 6 | 8 | 10;
@@ -28762,6 +28768,7 @@ declare const boardProps: z.ZodObject<{
28762
28768
  allowBlindAndBuriedVias: boolean;
28763
28769
  doubleSidedAssembly: boolean;
28764
28770
  automaticPoursEnabled: boolean;
28771
+ enableViaStitching: boolean;
28765
28772
  symbol?: SymbolProp | undefined;
28766
28773
  width?: number | undefined;
28767
28774
  height?: number | undefined;
@@ -29099,6 +29106,7 @@ declare const boardProps: z.ZodObject<{
29099
29106
  topSilkscreenColor?: BoardColor | undefined;
29100
29107
  bottomSilkscreenColor?: BoardColor | undefined;
29101
29108
  isViaInPadAllowed?: boolean | undefined;
29109
+ viaStitchPitch?: number | undefined;
29102
29110
  schematicDisabled?: boolean | undefined;
29103
29111
  }, {
29104
29112
  symbol?: SymbolProp | undefined;
@@ -29447,6 +29455,8 @@ declare const boardProps: z.ZodObject<{
29447
29455
  doubleSidedAssembly?: boolean | undefined;
29448
29456
  isViaInPadAllowed?: boolean | undefined;
29449
29457
  automaticPoursEnabled?: boolean | undefined;
29458
+ enableViaStitching?: boolean | undefined;
29459
+ viaStitchPitch?: string | number | undefined;
29450
29460
  schematicDisabled?: boolean | undefined;
29451
29461
  }>;
29452
29462
 
@@ -102759,6 +102769,8 @@ declare const stampboardProps: z.ZodObject<{
102759
102769
  doubleSidedAssembly: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
102760
102770
  isViaInPadAllowed: z.ZodOptional<z.ZodBoolean>;
102761
102771
  automaticPoursEnabled: z.ZodDefault<z.ZodBoolean>;
102772
+ enableViaStitching: z.ZodDefault<z.ZodBoolean>;
102773
+ viaStitchPitch: z.ZodOptional<z.ZodPipeline<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>, z.ZodNumber>>;
102762
102774
  schematicDisabled: z.ZodOptional<z.ZodBoolean>;
102763
102775
  } & {
102764
102776
  leftPinCount: z.ZodOptional<z.ZodNumber>;
@@ -102777,6 +102789,7 @@ declare const stampboardProps: z.ZodObject<{
102777
102789
  allowBlindAndBuriedVias: boolean;
102778
102790
  doubleSidedAssembly: boolean;
102779
102791
  automaticPoursEnabled: boolean;
102792
+ enableViaStitching: boolean;
102780
102793
  symbol?: SymbolProp | undefined;
102781
102794
  width?: number | undefined;
102782
102795
  height?: number | undefined;
@@ -103118,6 +103131,7 @@ declare const stampboardProps: z.ZodObject<{
103118
103131
  topSilkscreenColor?: BoardColor | undefined;
103119
103132
  bottomSilkscreenColor?: BoardColor | undefined;
103120
103133
  isViaInPadAllowed?: boolean | undefined;
103134
+ viaStitchPitch?: number | undefined;
103121
103135
  schematicDisabled?: boolean | undefined;
103122
103136
  leftPins?: string[] | undefined;
103123
103137
  rightPins?: string[] | undefined;
@@ -103476,6 +103490,8 @@ declare const stampboardProps: z.ZodObject<{
103476
103490
  doubleSidedAssembly?: boolean | undefined;
103477
103491
  isViaInPadAllowed?: boolean | undefined;
103478
103492
  automaticPoursEnabled?: boolean | undefined;
103493
+ enableViaStitching?: boolean | undefined;
103494
+ viaStitchPitch?: string | number | undefined;
103479
103495
  schematicDisabled?: boolean | undefined;
103480
103496
  leftPins?: string[] | undefined;
103481
103497
  rightPins?: string[] | undefined;
package/dist/index.js CHANGED
@@ -16721,6 +16721,12 @@ var boardProps = subcircuitGroupProps.omit({ connections: true }).extend({
16721
16721
  automaticPoursEnabled: z44.boolean().default(false).describe(
16722
16722
  "Whether implicit copper pours should be generated automatically. Defaults to false."
16723
16723
  ),
16724
+ enableViaStitching: z44.boolean().default(false).describe(
16725
+ "Whether to stitch copper pours on the same net across layers with vias. Defaults to false."
16726
+ ),
16727
+ viaStitchPitch: distance.pipe(z44.number().positive().finite()).optional().describe(
16728
+ "Positive center-to-center stitching via spacing in millimeters or a unit string, parsed to millimeters. Omitted uses the solver default. Does not enable stitching by itself."
16729
+ ),
16724
16730
  schematicDisabled: z44.boolean().optional()
16725
16731
  });
16726
16732
  expectTypesMatch(true);