@tscircuit/props 0.0.496 → 0.0.497

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.
@@ -33,6 +33,11 @@ export interface CadModelBase {
33
33
  y: number | string
34
34
  z: number | string
35
35
  }
36
+ modelOriginPosition?: {
37
+ x: number | string
38
+ y: number | string
39
+ z: number | string
40
+ }
36
41
  size?: { x: number | string; y: number | string; z: number | string }
37
42
  modelUnitToMmScale?: Distance
38
43
  modelBoardNormalDirection?: CadModelAxisDirection
@@ -44,6 +49,7 @@ export interface CadModelBase {
44
49
  export const cadModelBase = z.object({
45
50
  rotationOffset: z.number().or(rotationPoint3).optional(),
46
51
  positionOffset: point3.optional(),
52
+ modelOriginPosition: point3.optional(),
47
53
  size: point3.optional(),
48
54
  modelUnitToMmScale: distance.optional(),
49
55
  modelBoardNormalDirection: cadModelAxisDirection.optional(),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tscircuit/props",
3
- "version": "0.0.496",
3
+ "version": "0.0.497",
4
4
  "description": "Props for tscircuit builtin component types",
5
5
  "main": "dist/index.js",
6
6
  "type": "module",