hello,
I am following the description in SALOME Geometry User's Guide: Auxiliary data structures and methods of kindOfShape().
when we look at the CYLINDER2D the output is: [xb yb zb dx dy dz R H]
nevertheless, when I do the following script:
compound = geompy.MakeDividedCylinder(100, 300, GEOM.SQUARE)
faces= geompy.SubShapeAll(compound, geompy.ShapeType["FACE"])
facesKind= [geompy.KindOfShape(face) for face in faces]
for the cylindrical faces I am getting:
[CYLINDER2D, 0.0, 0.0, 0.0, -0.0, -0.0, -1.0, 100.0, 300.0]
my issue is with the dx,dy,dz, which is negative, I wanted to re create the cylindrical face by creating a cylinder from 2 points and its directive vector, so,
t,x0,y0,z0,dx,dy,dz,R,H=[CYLINDER2D, 0.0, 0.0, 0.0, -0.0, -0.0, -1.0, 100.0, 300.0]
if I want to calculate the x1,y1,z1 (second point) I am doing:
x1,y1,z1= x0+dx*H, y0+dy*H, z0+dz*H
but if I follow this, the z1 will be in the -300, instead of the 300. I am not sure that this can help but I see that in the dx,dy,dz I have -0.0 instead of 0.0 but as -0.0==0.0.
is this a bug? and error? is it intentional?
