-
Notifications
You must be signed in to change notification settings - Fork 90
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to access data from .write() #222
Comments
We also have problem like this.
We don't know how to write brep file. |
We found solution. Maybe js doesn't offer methods to write file to disk, and the file that occ.js created is storaged in occ.js buffer or something else, so we can't find file in our disk. But we can read the file and get the String like below:
Also, when you send a absolute path to BRepTools.Write_3(), it will return false, since js may not write file to you disk path. |
I'm trying to access my data from my exported step file.
var writer = new openCascade.STEPControl_Writer_1(); var progressRange = new openCascade.Message_ProgressRange_1(); writer.Transfer(reader.OneShape(), openCascade.STEPControl_StepModelType.STEPControl_AsIs, true, progressRange); writer.Write("test.step")
no errors are thrown, but I dont know how to access the data now.
How to write my step file?
The text was updated successfully, but these errors were encountered: