Skip to content

Create 3d CAD models with React using jscad

License

Notifications You must be signed in to change notification settings

r-bt/jscad-fiber

 
 

Repository files navigation

jscad-fiber

View examples

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

Usage

Warning

This library is in beta and this may not work yet, go into 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/>
)

About

Create 3d CAD models with React using jscad

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TypeScript 98.4%
  • HTML 1.4%
  • CSS 0.2%