circuit-json 0.0.322 → 0.0.324

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
@@ -869,6 +869,7 @@ interface CadComponent {
869
869
  model_wrl_url?: string
870
870
  model_unit_to_mm_scale_factor?: number
871
871
  model_jscad?: any
872
+ show_as_translucent_model?: boolean
872
873
  }
873
874
  ```
874
875
 
@@ -1625,7 +1626,6 @@ interface PcbPlatedHoleCircle {
1625
1626
  pcb_port_id?: string
1626
1627
  pcb_plated_hole_id: string
1627
1628
  soldermask_margin?: number
1628
- is_covered_with_solder_mask?: boolean
1629
1629
  }
1630
1630
 
1631
1631
  interface PcbHolePillWithRectPad {
package/dist/index.d.mts CHANGED
@@ -1257,7 +1257,6 @@ interface PcbPlatedHoleCircle {
1257
1257
  pcb_port_id?: string;
1258
1258
  pcb_plated_hole_id: string;
1259
1259
  soldermask_margin?: number;
1260
- is_covered_with_solder_mask?: boolean;
1261
1260
  }
1262
1261
  /**
1263
1262
  * Defines an oval or pill-shaped plated hole on the PCB
@@ -1406,7 +1405,6 @@ declare const pcb_plated_hole: z.ZodUnion<[z.ZodObject<{
1406
1405
  pcb_port_id: z.ZodOptional<z.ZodString>;
1407
1406
  pcb_plated_hole_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
1408
1407
  soldermask_margin: z.ZodOptional<z.ZodNumber>;
1409
- is_covered_with_solder_mask: z.ZodOptional<z.ZodBoolean>;
1410
1408
  }, "strip", z.ZodTypeAny, {
1411
1409
  x: number;
1412
1410
  y: number;
@@ -1419,7 +1417,6 @@ declare const pcb_plated_hole: z.ZodUnion<[z.ZodObject<{
1419
1417
  pcb_component_id?: string | undefined;
1420
1418
  subcircuit_id?: string | undefined;
1421
1419
  pcb_group_id?: string | undefined;
1422
- is_covered_with_solder_mask?: boolean | undefined;
1423
1420
  soldermask_margin?: number | undefined;
1424
1421
  port_hints?: string[] | undefined;
1425
1422
  pcb_port_id?: string | undefined;
@@ -1436,7 +1433,6 @@ declare const pcb_plated_hole: z.ZodUnion<[z.ZodObject<{
1436
1433
  pcb_component_id?: string | undefined;
1437
1434
  subcircuit_id?: string | undefined;
1438
1435
  pcb_group_id?: string | undefined;
1439
- is_covered_with_solder_mask?: boolean | undefined;
1440
1436
  soldermask_margin?: number | undefined;
1441
1437
  port_hints?: string[] | undefined;
1442
1438
  pcb_port_id?: string | undefined;
@@ -12673,6 +12669,7 @@ declare const cad_component: z.ZodObject<{
12673
12669
  model_wrl_url: z.ZodOptional<z.ZodString>;
12674
12670
  model_unit_to_mm_scale_factor: z.ZodOptional<z.ZodNumber>;
12675
12671
  model_jscad: z.ZodOptional<z.ZodAny>;
12672
+ show_as_translucent_model: z.ZodOptional<z.ZodBoolean>;
12676
12673
  }, "strip", z.ZodTypeAny, {
12677
12674
  type: "cad_component";
12678
12675
  pcb_component_id: string;
@@ -12705,6 +12702,7 @@ declare const cad_component: z.ZodObject<{
12705
12702
  model_wrl_url?: string | undefined;
12706
12703
  model_unit_to_mm_scale_factor?: number | undefined;
12707
12704
  model_jscad?: any;
12705
+ show_as_translucent_model?: boolean | undefined;
12708
12706
  }, {
12709
12707
  type: "cad_component";
12710
12708
  pcb_component_id: string;
@@ -12739,6 +12737,7 @@ declare const cad_component: z.ZodObject<{
12739
12737
  model_wrl_url?: string | undefined;
12740
12738
  model_unit_to_mm_scale_factor?: number | undefined;
12741
12739
  model_jscad?: any;
12740
+ show_as_translucent_model?: boolean | undefined;
12742
12741
  }>;
12743
12742
  type CadComponentInput = z.input<typeof cad_component>;
12744
12743
  interface CadComponent {
@@ -12761,6 +12760,7 @@ interface CadComponent {
12761
12760
  model_wrl_url?: string;
12762
12761
  model_unit_to_mm_scale_factor?: number;
12763
12762
  model_jscad?: any;
12763
+ show_as_translucent_model?: boolean;
12764
12764
  }
12765
12765
 
12766
12766
  declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
@@ -15243,7 +15243,6 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
15243
15243
  pcb_port_id: z.ZodOptional<z.ZodString>;
15244
15244
  pcb_plated_hole_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
15245
15245
  soldermask_margin: z.ZodOptional<z.ZodNumber>;
15246
- is_covered_with_solder_mask: z.ZodOptional<z.ZodBoolean>;
15247
15246
  }, "strip", z.ZodTypeAny, {
15248
15247
  x: number;
15249
15248
  y: number;
@@ -15256,7 +15255,6 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
15256
15255
  pcb_component_id?: string | undefined;
15257
15256
  subcircuit_id?: string | undefined;
15258
15257
  pcb_group_id?: string | undefined;
15259
- is_covered_with_solder_mask?: boolean | undefined;
15260
15258
  soldermask_margin?: number | undefined;
15261
15259
  port_hints?: string[] | undefined;
15262
15260
  pcb_port_id?: string | undefined;
@@ -15273,7 +15271,6 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
15273
15271
  pcb_component_id?: string | undefined;
15274
15272
  subcircuit_id?: string | undefined;
15275
15273
  pcb_group_id?: string | undefined;
15276
- is_covered_with_solder_mask?: boolean | undefined;
15277
15274
  soldermask_margin?: number | undefined;
15278
15275
  port_hints?: string[] | undefined;
15279
15276
  pcb_port_id?: string | undefined;
@@ -20408,6 +20405,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
20408
20405
  model_wrl_url: z.ZodOptional<z.ZodString>;
20409
20406
  model_unit_to_mm_scale_factor: z.ZodOptional<z.ZodNumber>;
20410
20407
  model_jscad: z.ZodOptional<z.ZodAny>;
20408
+ show_as_translucent_model: z.ZodOptional<z.ZodBoolean>;
20411
20409
  }, "strip", z.ZodTypeAny, {
20412
20410
  type: "cad_component";
20413
20411
  pcb_component_id: string;
@@ -20440,6 +20438,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
20440
20438
  model_wrl_url?: string | undefined;
20441
20439
  model_unit_to_mm_scale_factor?: number | undefined;
20442
20440
  model_jscad?: any;
20441
+ show_as_translucent_model?: boolean | undefined;
20443
20442
  }, {
20444
20443
  type: "cad_component";
20445
20444
  pcb_component_id: string;
@@ -20474,6 +20473,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
20474
20473
  model_wrl_url?: string | undefined;
20475
20474
  model_unit_to_mm_scale_factor?: number | undefined;
20476
20475
  model_jscad?: any;
20476
+ show_as_translucent_model?: boolean | undefined;
20477
20477
  }>, z.ZodUnion<[z.ZodObject<{
20478
20478
  type: z.ZodLiteral<"simulation_voltage_source">;
20479
20479
  simulation_voltage_source_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
@@ -23190,7 +23190,6 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
23190
23190
  pcb_port_id: z.ZodOptional<z.ZodString>;
23191
23191
  pcb_plated_hole_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
23192
23192
  soldermask_margin: z.ZodOptional<z.ZodNumber>;
23193
- is_covered_with_solder_mask: z.ZodOptional<z.ZodBoolean>;
23194
23193
  }, "strip", z.ZodTypeAny, {
23195
23194
  x: number;
23196
23195
  y: number;
@@ -23203,7 +23202,6 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
23203
23202
  pcb_component_id?: string | undefined;
23204
23203
  subcircuit_id?: string | undefined;
23205
23204
  pcb_group_id?: string | undefined;
23206
- is_covered_with_solder_mask?: boolean | undefined;
23207
23205
  soldermask_margin?: number | undefined;
23208
23206
  port_hints?: string[] | undefined;
23209
23207
  pcb_port_id?: string | undefined;
@@ -23220,7 +23218,6 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
23220
23218
  pcb_component_id?: string | undefined;
23221
23219
  subcircuit_id?: string | undefined;
23222
23220
  pcb_group_id?: string | undefined;
23223
- is_covered_with_solder_mask?: boolean | undefined;
23224
23221
  soldermask_margin?: number | undefined;
23225
23222
  port_hints?: string[] | undefined;
23226
23223
  pcb_port_id?: string | undefined;
@@ -28355,6 +28352,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
28355
28352
  model_wrl_url: z.ZodOptional<z.ZodString>;
28356
28353
  model_unit_to_mm_scale_factor: z.ZodOptional<z.ZodNumber>;
28357
28354
  model_jscad: z.ZodOptional<z.ZodAny>;
28355
+ show_as_translucent_model: z.ZodOptional<z.ZodBoolean>;
28358
28356
  }, "strip", z.ZodTypeAny, {
28359
28357
  type: "cad_component";
28360
28358
  pcb_component_id: string;
@@ -28387,6 +28385,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
28387
28385
  model_wrl_url?: string | undefined;
28388
28386
  model_unit_to_mm_scale_factor?: number | undefined;
28389
28387
  model_jscad?: any;
28388
+ show_as_translucent_model?: boolean | undefined;
28390
28389
  }, {
28391
28390
  type: "cad_component";
28392
28391
  pcb_component_id: string;
@@ -28421,6 +28420,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
28421
28420
  model_wrl_url?: string | undefined;
28422
28421
  model_unit_to_mm_scale_factor?: number | undefined;
28423
28422
  model_jscad?: any;
28423
+ show_as_translucent_model?: boolean | undefined;
28424
28424
  }>, z.ZodUnion<[z.ZodObject<{
28425
28425
  type: z.ZodLiteral<"simulation_voltage_source">;
28426
28426
  simulation_voltage_source_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
package/dist/index.mjs CHANGED
@@ -1431,8 +1431,7 @@ var pcb_plated_hole_circle = z73.object({
1431
1431
  pcb_component_id: z73.string().optional(),
1432
1432
  pcb_port_id: z73.string().optional(),
1433
1433
  pcb_plated_hole_id: getZodPrefixedIdWithDefault("pcb_plated_hole"),
1434
- soldermask_margin: z73.number().optional(),
1435
- is_covered_with_solder_mask: z73.boolean().optional()
1434
+ soldermask_margin: z73.number().optional()
1436
1435
  });
1437
1436
  var pcb_plated_hole_oval = z73.object({
1438
1437
  type: z73.literal("pcb_plated_hole"),
@@ -2776,7 +2775,8 @@ var cad_component = z125.object({
2776
2775
  model_step_url: z125.string().optional(),
2777
2776
  model_wrl_url: z125.string().optional(),
2778
2777
  model_unit_to_mm_scale_factor: z125.number().optional(),
2779
- model_jscad: z125.any().optional()
2778
+ model_jscad: z125.any().optional(),
2779
+ show_as_translucent_model: z125.boolean().optional()
2780
2780
  }).describe("Defines a component on the PCB");
2781
2781
  expectTypesMatch(true);
2782
2782