@tscircuit/props 0.0.614 → 0.0.616
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 +6 -0
- package/dist/index.d.ts +35 -0
- package/dist/index.js +2 -0
- package/dist/index.js.map +1 -1
- package/lib/components/group.ts +7 -0
- package/lib/platformConfig.ts +7 -0
- package/package.json +1 -1
package/lib/components/group.ts
CHANGED
|
@@ -484,6 +484,12 @@ export interface SubcircuitGroupProps
|
|
|
484
484
|
RoutingTolerances {
|
|
485
485
|
manualEdits?: ManualEditsFileInput
|
|
486
486
|
routingDisabled?: boolean
|
|
487
|
+
/**
|
|
488
|
+
* Skip the PCB placement design rule checks for this subcircuit. Placement
|
|
489
|
+
* errors otherwise cause autorouting to be skipped entirely, so this is the
|
|
490
|
+
* escape hatch for a placement the checks flag but you intend to keep.
|
|
491
|
+
*/
|
|
492
|
+
placementDrcChecksDisabled?: boolean
|
|
487
493
|
bomDisabled?: boolean
|
|
488
494
|
defaultTraceWidth?: Distance
|
|
489
495
|
|
|
@@ -668,6 +674,7 @@ export const subcircuitGroupProps = baseGroupProps.extend({
|
|
|
668
674
|
schTraceAutoLabelEnabled: z.boolean().optional(),
|
|
669
675
|
schMaxTraceDistance: distance.optional(),
|
|
670
676
|
routingDisabled: z.boolean().optional(),
|
|
677
|
+
placementDrcChecksDisabled: z.boolean().optional(),
|
|
671
678
|
bomDisabled: z.boolean().optional(),
|
|
672
679
|
defaultTraceWidth: length.optional(),
|
|
673
680
|
...routingTolerances.shape,
|
package/lib/platformConfig.ts
CHANGED
|
@@ -87,6 +87,12 @@ export interface PlatformConfig {
|
|
|
87
87
|
*/
|
|
88
88
|
enablePartOrientationAnalysis?: boolean
|
|
89
89
|
|
|
90
|
+
/**
|
|
91
|
+
* Maximum time, in milliseconds, that an individual PCB pack solver may run.
|
|
92
|
+
* The timeout is checked between solver steps.
|
|
93
|
+
*/
|
|
94
|
+
pcbPackSolverTimeoutMs?: number
|
|
95
|
+
|
|
90
96
|
registryApiUrl?: string
|
|
91
97
|
|
|
92
98
|
cloudAutorouterUrl?: string
|
|
@@ -255,6 +261,7 @@ export const platformConfig = z.object({
|
|
|
255
261
|
unitPreference: z.enum(["mm", "in", "mil"]).optional(),
|
|
256
262
|
localCacheEngine: localCacheEngine.optional(),
|
|
257
263
|
enablePartOrientationAnalysis: z.boolean().optional(),
|
|
264
|
+
pcbPackSolverTimeoutMs: z.number().finite().positive().optional(),
|
|
258
265
|
pcbDisabled: z.boolean().optional(),
|
|
259
266
|
routingDisabled: z.boolean().optional(),
|
|
260
267
|
schematicDisabled: z.boolean().optional(),
|