kovacsv / occt-import-js

The emscripten interface for OpenCascade import functionalities.
GNU Lesser General Public License v2.1
141 stars 23 forks source link

Geometry Tesselation control #17

Closed yvanblanchard closed 1 year ago

yvanblanchard commented 1 year ago

Hello,

I know that OCC supports tesselation control of shapes (step size, chordal / sag distance,..). Is it possible for user to define the tesselation parameters through the library ? If not possible in actual lib, could you briefly explain how/where such a setting could be done ?

Thank you.

kovacsv commented 1 year ago

Please read the documentation in the readme file: https://github.com/kovacsv/occt-import-js. You can set tesselation parameters as a second argument passed to the reader functions.

yvanblanchard commented 1 year ago

Sorry, I missed that. I guess that 'Online3DViewer' web app does not allow to control those settings yet? Thank you Viktor.

kovacsv commented 1 year ago

Not yet 🙂