Hello Guys,
I am working on converting Rhino 3dm file to Parasolid.
While traversing Brep object I am getting ON_SumSurface object. Sum surface have two curve (first one is a base curve and second one is extrude curve).
For creating sum surface in Parasolid I have used the Sweep API which take the base curve and extrude curve as input. I have directly passed the data (that I am getting for Sum surface from Rhino) to the Parasolid API.
It is creating a surface in Parasolid but the location is not correct. If I write Sum surface using NURBS form data in Parasolid then surface get created at correct location.
Do I need to add some value to the Sum surface curve data before using it in Parasolid. Because I have faced similar problem with extrude surface which I have fixed by adding path axis start point to all of the curve coordinates.
Could you please let me know why I am getting such problem with sum surface data. Should I always create Sum surface using NURBS data only.
Note:- I am using OpenNURBS SDK for traversing 3dm file.
Thanks in advance, Please let me know your suggestion ASAP.