Skip to content
Victofel edited this page Dec 17, 2016 · 6 revisions

on ubuntu

installing nodejs and gyp utility to build extensions

sudo apt-get install nodejs npm sudo npm install node-gyp -g sudo npm install mocha -g

#installing cmake sudo apt-get install cmake cmake-curses-gui g++ build-essential

------------------------------------

git clone --recursive https://github.com/erossignon/node-occ.git cd node-occ sh prepare_build.sh npm install node-gyp configure node-gyp build mocha

cd sample npm install node app.js

Methods

  • ShapeFactory
    • Creation
    • Edition
      • Thick Solid (Shell)
      • Draft Angle
      • Fillet
      • Chamfer
      • Fuse (Union)
      • Cut (Difference)
      • Common (Intersect.)
      • Compound (?)
      • Vertex
      • Edge
      • Wire
      • Face
  • Wire
  • Transformation
    • Basic
      • Translation
      • Rotation
      • Scale
      • Mirror by Plane
      • Mirror by Axis
  • Import/Export
Clone this wiki locally