You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
starting with cad coding I would like to code in javascript (little experiences) and I've found this great project here. For my project I would like to to add a function I need (scaling to only 1 or 2 axis instead of scaling equally in all directions).
Not possible out of the box and so I've started my journey - I have no experience with wasm.
What I've found out is that you need the class gp_Ax2 (gp_Ax3) (at least I think so), which is there but unfortunatelly without the function Scale (only Direction and Location) instead of the class gp_Trsf and function SetScaleFactor . So I've done a little research to add it somehow to add it to the wasm - but no chance for me. It's beyond my possibilities and there is no documentation here, at opencascade.js or emscripten that does really help (me)... (thank you so much @raydeleu for your tutorial)
So would like to ask if there is hope that an update wil come some day? (maybe one version with all features no matter what size so you are not restricted...)? Or some tutorials, howtos or anything for motivated user (and not a experienced coder...)
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi,
starting with cad coding I would like to code in javascript (little experiences) and I've found this great project here. For my project I would like to to add a function I need (scaling to only 1 or 2 axis instead of scaling equally in all directions).
Not possible out of the box and so I've started my journey - I have no experience with wasm.
What I've found out is that you need the class gp_Ax2 (gp_Ax3) (at least I think so), which is there but unfortunatelly without the function Scale (only Direction and Location) instead of the class gp_Trsf and function SetScaleFactor . So I've done a little research to add it somehow to add it to the wasm - but no chance for me. It's beyond my possibilities and there is no documentation here, at opencascade.js or emscripten that does really help (me)... (thank you so much @raydeleu for your tutorial)
So would like to ask if there is hope that an update wil come some day? (maybe one version with all features no matter what size so you are not restricted...)? Or some tutorials, howtos or anything for motivated user (and not a experienced coder...)
LG Markus
Beta Was this translation helpful? Give feedback.
All reactions