How to get and use the BSSplineCurve's Data to Create SketchSpline3D entity?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
hi,Everyone
I want to get the BSplineCurve of a BSplineSurface,and to create a 3d sketch Spline entity at the tube center Axis. The part pic is as below:
First,I want use the method of “BSplineSurface.GetBSplineData( Poles() As Double, KnotsU() As Double, KnotsV() As Double, Weights() As Double ) “ And ” BSplineSurface.GetBSplineInfo( Order() As Long, NumPoles() As Long, NumKnots() As Long, IsRational As Boolean, IsPeriodic() As Boolean, IsClosed() As Boolean, IsPlanar As Boolean, PlaneVector() As Double )”, to get the Spline data and info
Second, I want use the data of the spline to create a same Spline3d sketch at the central of tube? SketchSplines3D.Add( FitPoints As ObjectCollection, [FitMethod] As SplineFitMethodEnum ) As SketchSpline3D
But I don’t know , How to use the data of the curve spline to add a same sketchSpline3d at the central of tube?
Is anybody counter the same problem?
Is there a way?
Or is there some reference about the BSplineCurve?
Hope for your help . Thanks
PS:the attcah file is the sample of the tube.