Solid from Geometrical surfaces

If we have a geometrical surfaces, plane, cylinder, etc. How can we construct a solid from them?

sergey zaritchny's picture

Hi Sail,
Pay your attention,please at the Modeling Algorithms User's guide.
You may find there many useful notes and examples.
Also E-learning and Training are available - http://www.opencascade.com/support/training/.
Regards
Sergey

Sail's picture

Dear Sergey
Actually the question is
If we have a series of implicit planes coefficients a, b, c, and d, and we want to connect them together and produce their solid. How it can be donw?
Best

sergey zaritchny's picture

Dear Sail,
If you have no idea at all I guess that it may be very difficult for you do first steps by oneself. Why I recommended you to have a look to possibility of E-learning. It would gave you a good roadmap for following steps. Nevertheless if you prefer another way you may analyze the existing examples in OCCT sources. For example, see BRepPrimAPI_MakeBox (and other primitives) throw all inheritance sequence (till Primitives_Wedge). I hope it may help you.
Regards.

Sail's picture

The case is
we have seven planes, with their implicit equations coefficients, i.e.,
A1 B1 C1 D1
A2 B2 C2 D2
...
..
A7 B7 C7 D7
how can we use those cofficients to construct faces and then construct a solid from the faces
Best

Venugopal Gudimetla's picture

I haven't tried but perhaps :

i) use BRepBuilderAPI_MakeShell to make shell from a surface
ii) use BRepBuilderAPI_MakeSolid to make a solid from the shell you get from (i)

hope it helps, pl let me know if it works, so I can use it too.

V

chazi0828's picture

I have the same problem, if you have solved it ,please let me know ,3ks! My email ztqs9901@163.com