@tscircuit/props 0.0.619 → 0.0.620
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/dist/index.d.ts +8 -0
- package/dist/index.js +2 -1
- package/dist/index.js.map +1 -1
- package/lib/enclosure/fdm/box.ts +3 -0
- package/package.json +1 -1
package/lib/enclosure/fdm/box.ts
CHANGED
|
@@ -41,6 +41,8 @@ export interface EnclosureFdmBoxProps {
|
|
|
41
41
|
lidLipDepth?: Distance
|
|
42
42
|
/** Disable placement of apertures explicitly declared by enclosed components. */
|
|
43
43
|
disableCutouts?: boolean
|
|
44
|
+
/** Show edges hidden behind the enclosure surface in compatible 3D viewers. */
|
|
45
|
+
showHiddenEdges?: boolean
|
|
44
46
|
}
|
|
45
47
|
|
|
46
48
|
export const enclosureFdmBoxProps = z.object({
|
|
@@ -57,6 +59,7 @@ export const enclosureFdmBoxProps = z.object({
|
|
|
57
59
|
topHeadroom: distance.optional(),
|
|
58
60
|
lidLipDepth: distance.optional(),
|
|
59
61
|
disableCutouts: z.boolean().optional(),
|
|
62
|
+
showHiddenEdges: z.boolean().optional(),
|
|
60
63
|
})
|
|
61
64
|
|
|
62
65
|
export type EnclosureFdmBoxPropsInput = z.input<typeof enclosureFdmBoxProps>
|