Integrate open cascade geometry kernel?

If an geometric functionality is missing, you can add it yourself.

This can easily be realized as an addon.

You can use the basic geometry of three.js and integrate the extended functionality.

That’s how I realized it in my addon:

hofk (Klaus Hoffmeister) · GitHub

Addon. Produces almost infinite many time-varying geometries with functions

geometry = new THREE.BufferGeometry();    // base class buffer-geometry object from three.js

geometry.createMorphGeometry = THREEf.createMorphGeometry;    // insert the methode from THREEf.js


geometry.createMorphGeometry();    // apply the methode ( here without parameters: all default )

mesh = new THREE.Mesh( geometry, materials ); // create a material array: materials
scene.add( mesh );
2 Likes