Skip to content

How to deal with “Standard_OStream or Standard_CString” When I want to export a “BREP” file? #170

Discussion options

You must be logged in to vote

I believe the Standard_OStream is currently unusable (but if you or someone else has ideas / suggestions on how this could be made to work from JS, please share your ideas). However, the BRepTools.Write_3 method should work. You should be able to just pass a JS string for the Standard_CString theFile argument - the conversion is done automatically.

Replies: 5 comments 2 replies

Comment options

You must be logged in to vote
2 replies
@bluestarrysky2022
Comment options

@donalffons
Comment options

Answer selected by donalffons
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants