![vetter's picture vetter's picture](/sites/default/files/images/userpic_default.png)
Thu, 07/27/2006 - 18:49
Forums:
Hello-
We generate b-spline surfaces (3rd or 5th degree) in custom software.
Can we use OCC 6.1 to write these to a STEP file so they be imported into commercial CAD/CAE programs?
If so, where should we start?
Thanks,
Fred Vetter
Mon, 07/31/2006 - 23:57
hi Fred,
you can handle b-splines up to 25th degree.
Use the Geom_BSplineSurface object and then simply STEPControl_Writer to write the STEP-file (use BRepBuilderAPI_MakeFace to make a TopoDS_Shape out of your BSplineSurface).
Check out the examples.
You can use OC in commercial apps. Check out the license.
Good luck
Pawel
Tue, 08/01/2006 - 02:00
Pawel-
Thanks for your help; that gives us something to start with.
Aside from the "samples" directory, I cannot find any examples.
Is there another set of files I should download?
Thank you again for your help,
Fred V
Tue, 08/01/2006 - 03:24
http://www.opencascade.org/getocc/download/animated_demo/
The examples are only for windows and provided without the source-code, but you get small code-pieces in the examples, how to use the shown functions.
Tue, 08/01/2006 - 16:55
Jan-
Thanks for the additional information. We will look through
the examples carefully.
Fred V