Hello,
I would like to be able to reproduce (at least approximatly) the result of MakeInterpol from the information given by geompy.KindOfShape(), I was looking to get back the x,y,z of each of the points used to create originally the interpolation, but the returning of KindOfShape() eventhought in the documentation looks like it should return the xi,yi,zi (doc) the return of it does not give anything like it:
geompy = geomBuilder.New()
v0 = geompy.MakeVertex(0, 0, 0)
v1 = geompy.MakeVertex(100, 0, 50)
v2 = geompy.MakeVertex(2000, 0, 0)
interpolation = geompy.MakeInterpol([v0, v1, v2], False, False)
beizer = geompy.MakeBezier([v0, v1, v2], False)
interpolationInf=geompy.KindOfShape(interpolation)
beizerInf=geompy.KindOfShape(beizer)
with beizerInf i am getting the expected result:
[CRV_BEZIER, 3, 0, 0.0, 0.0, 0.0, 100.0, 0.0, 50.0, 2000.0, 0.0, 0.0]
but for interpolation I am getting a return values that i am not understanding:
[CRV_BSPLINE, 0, 2, 3, 2, 0, 2, 0.0, 0.0, 0.0, 894.1176470588235, 0.0, 476.4705882352941, 2000.0, 0.0, 0.0, 0.0, 2012.4611797498108, 3, 3]
what I am looking to get back is the coordinates of v0,v1,v2 that in bezier i am getting it but for spline no.