Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 22 additions & 5 deletions docs/elements/cadmodel.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -129,14 +129,31 @@ export default () => (

## Providing a STEP model

You can provide a STEP model to the `<cadmodel />` element by setting the `stepFileUrl`.
You can provide a STEP model to the `<cadmodel />` element by setting the `modelUrl`.
When providing a STEP model, the STEP model will be used when exporting to STEP to
preserve the exact geometry of the model.

> **Example coming soon!**



<CircuitPreview
defaultView="3d"
hidePCBTab
hideSchematicTab
browser3dView={false}
code={`
export default () => (
<board>
<chip
name="U1"
footprint="soic8"
cadModel={
<cadmodel
modelUrl="https://modelcdn.tscircuit.com/jscad_models/soic8.step"
/>
}
/>
</board>
)
`}
/>

### Translucent Model in cadmodel

Expand Down
Loading