Initializing brep in visual sutdio project


#1

Hi,

I have a series of breps in Rhino.
What I would like to do is somehow initalize geometry in code.
So that some goemetry would part of .dll

I am wondering if there are any samples to transfer geometry to .txt and then be able to take that txt and convert bact to rhino geometry?


(Dale Fugier) #2

Hi @Petras_Vestartas,

Does the Brep need to be in a text format? How about embedding a binary file in your project?

– Dale


#3

Dear Dale,

No it is not necessary to be txt.
I do not know anything about binary files, if you could show me a sample it would good to learn.

I do undestand how to do this with meshes and C# as I can write to file vertex coordinates and mesh faces but when it comes to breps it is more complex for me.


#4