Open CASCADE, the 3D modelling kernel
3D modeling & numerical simulation

Search the Forums
See All Topics

Build a face from a surface and a wire

Build a face from a surface and a wire
angel3435 2010/07/28 15:24
Hi to all...i've a little problem in building a face from a face and a wire with BRepBuilderAPI_MakeFace.

The step that i run are the following:

first a create a BSplineSurface. This surface is created from a matrix of point and is square. Now i want to cut the bounds of this surface with a custom polygon. For make that i build a wire and project it in direction of the surface with BRepProj_Projection. The result of is a one or more compound of edge and with it i build a face with BRepBuilderAPI_MakeFace. At the end i do a ShapeFix_Face.

Now start the problem.

In most cases BRepProj_Projection return multiple compound. Now from this how a can build a single closed wire that lie on my surface??

I some cases when the result of the projection is a single compound the face constructed from the wire of these edges is goog...(id i dump the topological structure of it there are the edgese, wire and vertex) but the triangulation of it return a null triangulation. Why???

Thanks in advance for your help. Thanks!

angel3435 2010/07/28 15:25
excuse me..i build the face from a surface and a wire!
Fabian Hachenberg 2011/01/24 10:43
Why do you use BRepProj_Projection? This class only provides
- cylindrical projection
- conical projection
what you want, I think, is parallel projection.
Ankit 2012/11/22 12:46
Hi Fabian Hachenberg,
I am having the same problem. I want to project a polygon wire on a shape(surface created of a trimmed face) and get the projected face/surface.

Can you please through some light how to do so in OCCT??

I tried BRepProj_Projection but it does not provide parallel projection.
Latest news
  • Open CASCADE CAD Assistant for iOS platform is available!
  • Open CASCADE Technology 6.9.0 is available for download!
  • JT Assistant for Android

  • © OPEN CASCADE 2000 - 2015  |  Search  |  Contacts   |  Site map