Skip to content

Create 3d CAD models with React using jscad

License

Notifications You must be signed in to change notification settings

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

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 96.6%
  • HTML 3.1%
  • CSS 0.3%