All Projects → OpenWebCAD → Node Occ

OpenWebCAD / Node Occ

Licence: mit
build BREP Solids with OpenCascade and NodeJS - 3D Modeling

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Node Occ

Lume
Create CSS3D/WebGL applications declaratively with HTML. Give regular DOM elements shadow and lighting.
Stars: ✭ 445 (+120.3%)
Mutual labels:  3d, threejs, 3d-models
3d Force Graph
3D force-directed graph component using ThreeJS/WebGL
Stars: ✭ 2,386 (+1081.19%)
Mutual labels:  3d, threejs
Fabscanpi Server
FabScan Pi Open Source 3D Scanner - Server application
Stars: ✭ 137 (-32.18%)
Mutual labels:  3d, threejs
Wechart
Create all the [ch]arts by cax or three.js - Cax 和 three.js 创造一切图[表]
Stars: ✭ 152 (-24.75%)
Mutual labels:  3d, threejs
Tf flame
Tensorflow framework for the FLAME 3D head model. The code demonstrates how to sample 3D heads from the model, fit the model to 2D or 3D keypoints, and how to generate textured head meshes from Images.
Stars: ✭ 193 (-4.46%)
Mutual labels:  3d, 3d-models
Versatile
A simple 3D model editor based on simple quads and a sprite set.
Stars: ✭ 132 (-34.65%)
Mutual labels:  3d, 3d-models
Jeelizfacefilter
Javascript/WebGL lightweight face tracking library designed for augmented reality webcam filters. Features : multiple faces detection, rotation, mouth opening. Various integration examples are provided (Three.js, Babylon.js, FaceSwap, Canvas2D, CSS3D...).
Stars: ✭ 2,042 (+910.89%)
Mutual labels:  3d, threejs
Angular Template For Threejs
Angular Template For Three.js
Stars: ✭ 114 (-43.56%)
Mutual labels:  3d, threejs
Threejs Sandbox
Set of experiments and extensions to THREE.js.
Stars: ✭ 163 (-19.31%)
Mutual labels:  3d, threejs
React Three Fiber
🇨🇭 A React renderer for Three.js
Stars: ✭ 16,097 (+7868.81%)
Mutual labels:  3d, threejs
Meshlab
The open source mesh processing system
Stars: ✭ 2,619 (+1196.53%)
Mutual labels:  3d, 3d-models
Timeline
直观地显示各个历史时间段及历史地图。Visually display various historical time periods and historical maps.
Stars: ✭ 127 (-37.13%)
Mutual labels:  3d, threejs
Earthjs
D3 Earth JS
Stars: ✭ 128 (-36.63%)
Mutual labels:  3d, threejs
Tweetscape
A WebVR experience displaying tweets in real-time along a 3D timeline
Stars: ✭ 132 (-34.65%)
Mutual labels:  3d, threejs
Lba2remake
A Little Big Adventure 2 / Twinsen's Odyssey reimplementation in JavaScript / Three.js / React
Stars: ✭ 116 (-42.57%)
Mutual labels:  3d, threejs
Andromeda
This is a WebGL recreation of the popular music video Gorillaz - Andromeda.
Stars: ✭ 145 (-28.22%)
Mutual labels:  3d, threejs
Cq Editor
CadQuery GUI editor based on PyQT
Stars: ✭ 183 (-9.41%)
Mutual labels:  3d, cad
Giojs
🌏 A Declarative 3D Globe Data Visualization Library built with Three.js
Stars: ✭ 1,528 (+656.44%)
Mutual labels:  3d, threejs
Solar System Threejs
The Solar System: Modeled to scale with Three.js
Stars: ✭ 107 (-47.03%)
Mutual labels:  3d, threejs
Flame pytorch
This is a implementation of the 3D FLAME model in PyTorch
Stars: ✭ 153 (-24.26%)
Mutual labels:  3d, 3d-models

node-occ

OpenCascade nodejs extension for solid modeling.

This nodejs extension provides solid construction to nodejs. It provides a simple yet powerful javascript api to construct 3D geometry models.

This project comes with a set of V8 wrappers around OpenCascade API and a sample web application.

Build Status Build status

quick example

var occ = require("node-occ").occ;

// construct a box
var box = occ.makeBox([0, 0, 0], [100, 100, 50]);

// construct a cylinder
var cyl = occ.makeCylinder([50, 50, -10], [50, 50, 60], 40);

// cut the box with cylinder
box = occ.cut(box, cyl);

// save result to a STEP file
occ.writeSTEP("somefile.step", box);

video

node occ

list of features

  • creation of basic shapes ( box, cylinder , cone , torus )
  • boolean operation ( fuse , common , cut )
  • features ( draftAngle)
  • solid properties ( faces, edges, vertices, area , volume )
  • import export ( STEP BREP )

sample web application

node-occ-sample: sample nodejs/express REST API server to build solid , based on threejs

installing node-occ from npm

$npm install node-occ

building node-occ from source : prerequisites

on (linux Ubuntu

(use nodejs 12 or 14)

# installing nodejs and gyp utility to build extensions
sudo apt-get install nodejs npm
sudo npm install node-pre-gyp -g
sudo npm install [email protected] -g

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

# ------------------------------------
git clone --recursive https://github.com/erossignon/node-occ.git
cd node-occ

# download prebuild OpenCascade Library and header files
bash ./prepare_node.sh

#
export OCCT_PACKAGE=occt-7.2.0
export LD_LIBRARY_PATH=`pwd`/${OCCT_PACKAGE}/lib:$LD_LIBRARY_PATH
npm install --build-from-source

# verify that everything is working OK
make test

on windows

  • follow the tutorial in the wiki

dependencies:

acknowledgement:

MIT License

Copyright © 2012-2019 E. Rossignon

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].