donalffons / opencascade.js

Port of the OpenCascade CAD library to JavaScript and WebAssembly via Emscripten.
https://ocjs.org/
GNU Lesser General Public License v2.1
582 stars 85 forks source link

Is It possible to export a image to SVG? #236

Open DiogenesBR opened 1 year ago

DiogenesBR commented 1 year ago

I want to generate explosion images of my assemblies, and save it to a vertor format, I use this imagem to print a catalog of components.

Conjunto stara fit to canvas

Vector images cam be resized to high resolutions without lose details, this imagem also can be used to navigation on the assembly tree without the need of load the full model.

SVG has the advantage of allowing to be interacted via broswer, it can for example highlight a component when clicked.

It's also possible to use IA with Segment Anything on the end images but them I would need the Code of the component in each position to automate match the mask with part.

Imagem do WhatsApp de 2023-06-14 à(s) 08 37 37