For all issues regarding the Forums use, please, refer to the Forum Rules.

Our Solutions

Need professional assistance?
Consider our:

Support Offerings

 

Need to speed up your development?
Have a look at our:

Samples & Tools

 

Need some functionality extending standard OCCT capabilities?
Check out our:

Adv. Components

Related pages

Building a BREP from surface and edge data

Gerry DAnza's picture
Forums: 

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

Francois Lauzon's picture

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,
Francois.

Gerry DAnza's picture

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

Francois Lauzon's picture

I will need your email address...

Alex's picture

Hello,
Can I have a copy as well?
If possible, please send it to sanhomal_5935@yahoo.com, by the way, where can I buy the book that you refer to?
Thanks in advance.
Regards,
Alex

Francois Lauzon's picture

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.

Francois.

Ankit's picture

hey can u send me too the source code ... my e-mail address is ankit@cse.iitb.ac.in .. that wud be a great help ....

Ankit's picture

hey can u send me too the source code ... my e-mail address is ankit@cse.iitb.ac.in .. that wud be a great help ....

Francois Lauzon's picture

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).

Francois.

Gerry DAnza's picture

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

cheers
gerry

Alex's picture

Thanks a lot.

murat guler's picture

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

murat guler's picture

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

murat guler's picture

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