jsketcher
jsketcher copied to clipboard
Import step or brep file
Is it possible to import step file from local computer?
I used the "Import step file" icon but fail to import any step file. Could please give an example? Thanks! @xibyte
I will have a video up soon about how to do this. Stay tuned. Also right now the step file needs to be on a server.
Currently you can only specify an URL to a file. So your step file should be served from some HTTP server. If you are running the jsketcher as a dev server you can just drop your step file inside web directory and then specify http url to that file in the wizard. Hope it helps.
I’m able to open some step files I uploaded on GitHub. However, I found that jsketcher fail to read some other step files for example
https://raw.githubusercontent.com/ancorasir/node-occ/master/7.STEP
I can read the above file with another occ repo so I’m wondering if the problem is with webassembly building of occ. Any suggestions? Thanks. @xibyte
Import of step file from local file system now possible. Imported step files will now show as a feature in the part history. Boolean and edge operations are able to be used with the imported object.
Import of step file from local file system now possible.
@mmiscool Could you please elaborate how this is possible on the demo page (http://web-cad.org/)? File -> Import Project -> [my step file] doesn't seem to work.
@0xCoto As it stands today the JSketcher build deployed in the demo is quite outdated. We are working on the next major release currently but there is no ETA on the next deployment to the demo site.
This is a link to a recent build of the dev branch. It includes step, brp and FCStd file import functionality.
For now be careful not to import any thing with extremely large numbers of edges as that might result in a laggy viewport. There is a performance enhancement in the works to address this as we are migrating the very old version of threejs to the latest and greatest.
@0xCoto Woops. Forgot to paste the link in the previous comment. https://autodrop.cloud/jsketcher/