From 123b4dea841fbe9b2cd7dc4193e6c3169a1e7e28 Mon Sep 17 00:00:00 2001 From: rushabhcodes Date: Sun, 14 Dec 2025 15:29:55 +0530 Subject: [PATCH 1/2] fix: add zOffsetFromSurface property to cadmodel documentation --- docs/elements/cadmodel.mdx | 43 ++++++++++++++++++++++++++++++++++++-- 1 file changed, 41 insertions(+), 2 deletions(-) diff --git a/docs/elements/cadmodel.mdx b/docs/elements/cadmodel.mdx index 948f8fd..e9a89e4 100644 --- a/docs/elements/cadmodel.mdx +++ b/docs/elements/cadmodel.mdx @@ -33,7 +33,7 @@ import CircuitPreview from "@site/src/components/CircuitPreview" ## Repositioning the Model -You can use `positionOffset` and `rotationOffset` to reposition the model. +You can use `positionOffset`, `rotationOffset`, and `zOffsetFromSurface` to reposition the model. +### Z-Offset from Surface + +Use `zOffsetFromSurface` to control the vertical distance of the model from the PCB surface. This is useful for components that need to be positioned above or below the board surface. + + ( + + + } + /> + + ) + `} +/> + ## Importing local GLB models Date: Sun, 14 Dec 2025 15:44:43 +0530 Subject: [PATCH 2/2] fix: add WRL format support to cadmodel documentation --- docs/elements/cadmodel.mdx | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/elements/cadmodel.mdx b/docs/elements/cadmodel.mdx index e9a89e4..ccce455 100644 --- a/docs/elements/cadmodel.mdx +++ b/docs/elements/cadmodel.mdx @@ -159,6 +159,7 @@ The following model file formats are supported: - OBJ - STEP - STL +- WRL ## Properties