Forum archiveIssue archiveOther usage issues

Archived discussion

Building a BREP from surface and edge data

Other usage issuesThu, 03/31/2005 - 17:3513 replies

Browse this forum
QuestionAuthor

Say that I have a complex shape imported from another CAD system.
Of this shape I have parametric surface data, edges, vetices and loop topology information. Which is the best way to rebuild this shape in opencascade ? is the sewing tool best suited for this or there is any low level tools to build a brep solid from topology data ???
Manifold solids of course
Any hint appreciated
gerry

Discussion

13 archived replies

Posts are displayed in their archived order.

01Commenter-1

Hello Gerry,
you could use the sewing tool, but you can also try the BRep_Builder tool, this is a low level class to build topological shape. Unfortunatly, there isn't much documentation on this class, there used to have a good example in the book CAS.CADE Object Libraries Programming Samples Volume II, if you want I can send you the source code example.

Good Luck,
Commenter-1.

02Author

Hello Francois
A source code example would be great using brep_builder, since I do not have the mentioned book.
I am afraid that the sewing algorithm will be slow when number of objects is high, and also why rebuild topology info when already available

Thanks a lot
cheers
Gerry

03Commenter-1

I will need your email address...

04Commenter-2

Hello,
Can I have a copy as well?
If possible, please send it to [email removed], by the way, where can I buy the book that you refer to?
Thanks in advance.
Regards,
Commenter-2

05Commenter-1

The book is not for sale, it's a book that came with CAS.CADE 2.0 back in 1998. Some topic you can find in the actual pdf books in Open Cas.Cade 5.2, some not.

Commenter-1.

06Commenter-3

hey can u send me too the source code ... my e-mail address is [email removed] .. that wud be a great help ....

07Commenter-3

hey can u send me too the source code ... my e-mail address is [email removed] .. that wud be a great help ....

08Commenter-1

About the sample source code, I just find out that the current sample (OCC 5.2) has the example about using BRep_Builder (see CTopologyBuildingDoc::OnBuilder() in file ...\samples\standard\mfc\02_TopologySamples\02_3_TopologyBuilding\TopologyBuildingDoc.cpp).

Commenter-1.

09Author

I have found the example , Thanks a lot.
I will git it a try right now

cheers
gerry

10Commenter-2

Thanks a lot.

11Commenter-4

Dear Sir,

I am a young civil engineer working in the company in singapore. What I am working on is trying to pattern out the triple fabric conical shape using Forten32. Following the example available, I don't exactly know how to handle the pattern if the fabric has a hole in the middle. Could u please help answer? Is there any trick to start forming pattern from the edge ?
Thank you very much for your help.

Sincerely,

-Guler

12Commenter-4

Dear Sir,

I am a young civil engineer working in the company in singapore. What I am working on is trying to pattern out the triple fabric conical shape using Forten32. Following the example available, I don't exactly know how to handle the pattern if the fabric has a hole in the middle. Could u please help answer? Is there any trick to start forming pattern from the edge ?
Thank you very much for your help.

Sincerely,

-Guler

13Commenter-4

Dear Sir,

I am a young civil engineer working in the company in singapore. What I am working on is trying to pattern out the triple fabric conical shape using Forten32. Following the example available, I don't exactly know how to handle the pattern if the fabric has a hole in the middle. Could u please help answer? Is there any trick to start forming pattern from the edge ?
Thank you very much for your help.

Sincerely,

-Guler