Tue, 04/30/2002 - 06:12
Forums:
Hi, all
I am facing to a problem in my project which I have to project a face(may be any type) on to a surface(plane). I research any projection function of OpencasCade but it only can do in point and curve(edge and wire) level. When I try to use edges from explorering shape to project, I get a unwanted result(for example a sphere have no edge).
Who can tell me how to project a face or shape on a surface?
Please help me. Thank you in advance.
Robert Shen
"When you make eyes in place of an eye, a hand in place of a hand, a foot in place of a foot, an image in place of an image, then you will enter." - logion
Shen Zhong
robertshen@21cn.com or robert_shen@hotmail.com
Tue, 04/30/2002 - 06:26
Try to use the HiddenLine algorithms.
see the HLR sample delivered with OpenCASCADE.
HTH
Stephane
http://www.exotk.org
Thu, 05/02/2002 - 08:45
Dear Stephane
Thank you for your help first.
After using HiddenLine algorithms, I got the projections of all edges including OutlineEdge. But I have another problem: I want to get the adumbration of it. When I fused the VCompound(visible sharp edges) and OutLineVCompound(visible outline edges) and other visible edges, I don't know how to get borderline of this fused shape(a compound of shapes). In fact, my objective is get the projection of a shape which should be, I think, a face, right?
Can you give me some directions? Thank you in advance.
Robert
"When you make eyes in place of an eye, a hand in place of a hand, a foot in place of a foot, an image in place of an image, then you will enter." - logion
Shen Zhong
robertshen@21cn.com or robert_shen@hotmail.com
Fri, 02/07/2003 - 08:55
hi
Iam facing the same problem you have faced.
Do you have the solution for projecting the shape on a surface ?
Pls send me the code..
Thanks
saleem