View examples · jscad · tscircuit · jscad-electronics
This package allows you to create 3d CAD objects with React and jscad.
Note
Go to the examples
directory to see examples of usage.
Create JSCad components with React.
import { JSCad3dView } from "jscad-fiber/viewer"
export default () => (
<JSCad3dView>
<union>
<substract from={<cube size={10} />}>
<sphere radius={6.8} />
</subtract>
<intersect>
<cube size={7} />
<sphere radius={4} />
</intersect>
</union>
</JSCad3dView/>
)
jscad allows you to create detailed 3d objects using boolean operations. This is how modern CAD tools create precise 3d models. jscad-fiber is used to create the 3d electronics library for tscircuit called jscad-electronics