How to get and use the BSSplineCurve's Data to Create SketchSpline3D entity?

How to get and use the BSSplineCurve's Data to Create SketchSpline3D entity?

Stakin
Collaborator Collaborator
276 Views
0 Replies
Message 1 of 1

How to get and use the BSSplineCurve's Data to Create SketchSpline3D entity?

Stakin
Collaborator
Collaborator

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:

Stakin_0-1634798645561.png

 

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.

0 Likes
277 Views
0 Replies
Replies (0)