Skip to content

tscircuit/jscad-fiber

Repository files navigation

jscad-fiber

View examples · jscad · tscircuit · jscad-electronics

This package allows you to create 3d CAD objects with React and jscad.

image

Usage

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/>
)

Why?

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

About

Create 3d CAD models with React using jscad

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages