USER FORUM
(you are viewing a thread; or go back to list of threads)
About applying constraints (by Adnan Shah)
this wasm backend is based on the SolveSpace geometric constraint solver:
https://github.com/solvespace/solvespace
compile command
`emcc ./wasm/solver.c ./wasm/libslvs.a -L./wasm/ -lslvs -o ./static/solver.js -s TOTAL_MEMORY=134217728 -s EXPORTED_FUNCTIONS='[_main, _solver, _free]'`
I am using _solver inside js, but i cant use some constraints like same_orientation. How to use it?
https://github.com/solvespace/solvespace
compile command
`emcc ./wasm/solver.c ./wasm/libslvs.a -L./wasm/ -lslvs -o ./static/solver.js -s TOTAL_MEMORY=134217728 -s EXPORTED_FUNCTIONS='[_main, _solver, _free]'`
I am using _solver inside js, but i cant use some constraints like same_orientation. How to use it?
Post a reply to this comment: