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

Search the Forums
See All Topics
Open CASCADEShowroomGet it!Developer CornerSupport and ProductsAbout us
Technical overview
Areas of use
Shape factory
Shape gallery
What's new
System requirements
Download Center
Public license
Getting started
Open Source community
Training and e-learning
A-la Carte Support
Value-added software
Complementary Components
Customer Corner
Company Profile
Marketing Materials
Contact Us
Home / Developer Corner / Forums / Usage issues / Project wire on surface

Project wire on surface

Project wire on surface
Jan Rheinländer 2012/06/22 19:10

I am trying to project a wire on a face that is smaller than the wire with BRepProj_Projection(wire, face, direction). But the projection is cut off at the limits of the face. So after searching everywhere I could not find a way to project the wire on the underlying surface of the face. In older versions there seems to have been a fourth parameter to the BRepProj_Projection that had to do with ignoring the face limits, but it isn't there any more.

Any ideas?
George Feng 2012/07/13 19:06
Maybe you can create a face from the surface oh the projected face, then you can make the prjection.     
Jan Rheinländer 2012/07/14 08:11
No, BRepProj_Projection won't accept unlimited faces, it gives me "infinite parameter" error
Alexander Schneller 2012/07/17 11:57
Hi Jan,

try these classes:

1) BRepAlgo_NormalProjection

2) BRepOffsetAPI_NormalProjection
     void      SetLimit (const Standard_Boolean FaceBoundaries=Standard_True)
     Manage limitation of projected edges.

3) ProjLib_ProjectedCurve

I think 2) is the class you are looking for.

Jan Rheinländer 2012/07/20 17:11
Hi Alex,

1) and 2) as far as I can see do not offer the option of defining a projection direction. Since I want to project onto a curved surface (not a plane) I am not sure whether the result can be correct without defining a projection direction.

3) I couldn't find any documentation for on

Alexander Schneller 2012/07/20 18:09
Hi Jan,

sorry I missed that you want to specify the direction.
I thought you only need the flag for the limits.

3) ProjLib_ProjectedCurve I have found at Doxygen of version 6.5.2 but in this class it is also not possible to specify a direction.

If I should find something I'll write it in the Forum.

Jan Rheinländer 2012/07/20 22:29
I have a wire on a plane which I want to project onto a curved (arbitrary shaped) surface. So I am not sure that the automatically selected projection direction will be what I intend. The direction should be normal to the plane, but from the documentation I suspect that it will be normal to the surface?
Latest news
  • Open CASCADE Technology 6.7.1 is available for download!
  • Open CASCADE Technology 6.7.0 is available for download!
  • Open CASCADE Technology 6.6.0 is available for download!

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