Creating a B-spline surface is really slow
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi folks,
I have knots and control points for a B-spline surface, and I create a surface body from this data with a process like this:
1. Create a surface with app.TransientGeometry.CreateBSplineSurface
2. Create a surface body definition with app.TransientBRep.CreateSurfaceBodyDefinition
3. Add corners, edges and edge loops to the body definition, add the surface from 1 as a face definition
4. Call CreateTransientSurfaceBody on the body definition
5. Add the body produced in 4 to the part document's nonparametric base feature set.
The created surface is correct, but the CreateTransientSurfaceBody in step (4) is really slow, taking about 3 minutes to complete a surface with 200x200 controls. All the other steps take an insignificant amount of time.
Admittedly, that's a complicated surface, but creating a surface in SolidWorks from the same data takes a second or two on the same machine. Is there something I can do to speed up this kind of operation, or am I just stuck waiting?
Thanks!