Hi evry body,
I have two planar topods_wire, how can i make a ruled surface(or other parametric surface) by them.
Thanks for any help.
Tony
Roman Lygin Tue, 01/18/2005 - 20:06
Hi Tony,
BRepFill::Face (edge1, edge2) or BRepFill::Shell (wire1, wire2) is likely what you are looking for. You need to make sure the wires have the same number of edges.
Hi Roman,
Thank you for your response.
I checked BRepFill::Face(E1,E2) and my edges are closed. but it didn't fill the area between two edge as a parametric face. It just filled the outer edge.
Regards
Tony
Hi Roman,
The function dosent fill the area like what I expect and it swings badly.
I wish a function that fill the area between two edge in terms of their nearest point not in terms of their parameters.
Thanks for any Idea
Tony
Hi Tony,
Do you mean the face created is twisted? If that's the case, you might just reverse the orientation (edge.Reverse(); ) of one your edge before doing the Fill operation.
Hi Francois,
If the edge be open that will be ok, but both of my edges are closed and reversing the parameters will not do any good. actually both of my edges were topods_wire that aproximated with Approx_Curve3d. So, do you have another idea to solve this problem?
Best Regards,
Tony
Hi Tony,
There are some algorythm in the BRepFill package (look at the documentation in BRepFill.cdl) that will fill between two wire (maybe you could use your previous wire, or create temporary one with you approximated edge). Some other algorythm could be found in GeomFill (look at GeomFill.cdl). Look at the cdl file for documentation and detail about using the algorythm, for example GeomFill_Pipe.cdl, you could create a pipe between two section curves and a path (in your case a line connecting your two edges).
Is there a way to find out the parametric orientation of each of these Geom_Curves, for the purpose of GeomFill::Surface, so that one of them can be Reversed() if it is needed? Thanks.
Tue, 01/18/2005 - 20:06
Hi Tony,
BRepFill::Face (edge1, edge2) or BRepFill::Shell (wire1, wire2) is likely what you are looking for. You need to make sure the wires have the same number of edges.
Good luck.
Roman
Wed, 01/19/2005 - 09:30
Hi Roman,
Thank you for your response.
I checked BRepFill::Face(E1,E2) and my edges are closed. but it didn't fill the area between two edge as a parametric face. It just filled the outer edge.
Regards
Tony
Wed, 01/19/2005 - 10:58
Hi Roman,
The function dosent fill the area like what I expect and it swings badly.
I wish a function that fill the area between two edge in terms of their nearest point not in terms of their parameters.
Thanks for any Idea
Tony
Wed, 01/19/2005 - 15:54
Hi Tony,
Do you mean the face created is twisted? If that's the case, you might just reverse the orientation (edge.Reverse(); ) of one your edge before doing the Fill operation.
Good Luck.
Francois.
Wed, 01/19/2005 - 16:16
Hi Francois,
If the edge be open that will be ok, but both of my edges are closed and reversing the parameters will not do any good. actually both of my edges were topods_wire that aproximated with Approx_Curve3d. So, do you have another idea to solve this problem?
Best Regards,
Tony
Wed, 01/19/2005 - 16:29
Hi Tony,
There are some algorythm in the BRepFill package (look at the documentation in BRepFill.cdl) that will fill between two wire (maybe you could use your previous wire, or create temporary one with you approximated edge). Some other algorythm could be found in GeomFill (look at GeomFill.cdl). Look at the cdl file for documentation and detail about using the algorythm, for example GeomFill_Pipe.cdl, you could create a pipe between two section curves and a path (in your case a line connecting your two edges).
Good Luck,
Francois.
Sun, 02/20/2005 - 13:50
Is there a way to find out the parametric orientation of each of these Geom_Curves, for the purpose of GeomFill::Surface, so that one of them can be Reversed() if it is needed? Thanks.
Mon, 02/21/2005 - 07:09
use D0/D1 to know the tangent vector at a parameter on a curve .
- gpr