geompy error whith MakeLine command
-
Hello,
I have an error when I run this in the python console :
>>>from geompy import *
>>>p1 = MakeVertex(0,0,0)
>>>p2 = MakeVertex(1,1,1)
>>> s = MakeLine(p1,p2)
MakeLine : Line driver failed
whith batchmode_geompy this line is append to the error message :
free(): invalid pointer 0x60015458!
I've tryed this commands under SALOME 2.2.2 and 2.2.7. In GEOM GUI I can do this operation whithout problem.
Somebody can explain to me where is my error ?
Thanks,
Thomas B.
-
Sorry, I found my problem...Bonaccorsi wrote:
Hello,
I have an error when I run this in the python console :
>>>from geompy import *
>>>p1 = MakeVertex(0,0,0)
>>>p2 = MakeVertex(1,1,1)
>>> s = MakeLine(p1,p2)
MakeLine : Line driver failed
whith batchmode_geompy this line is append to the error message :
free(): invalid pointer 0x60015458!
I've tryed this commands under SALOME 2.2.2 and 2.2.7. In GEOM GUI I can do this operation whithout problem.
Somebody can explain to me where is my error ?
Thanks,
Thomas B.
I must use :
s = MakeLineTwoPnt(p1,p2)
Thomas B.
-
Bonaccorsi wrote:
Hello,
I have an error when I run this in the python console :
>>>from geompy import *
>>>p1 = MakeVertex(0,0,0)
>>>p2 = MakeVertex(1,1,1)
>>> s = MakeLine(p1,p2)
MakeLine : Line driver failed
whith batchmode_geompy this line is append to the error message :
free(): invalid pointer 0x60015458!
I've tryed this commands under SALOME 2.2.2 and 2.2.7. In GEOM GUI I can do this operation whithout problem.
Somebody can explain to me where is my error ?
Thanks,
Thomas B.
Probably there a little error in the GEOM GUI documentation, Creating basic geometrical objects section :
TUI Command: geompy.MakeLine(Point1,Point2), where Point1 and Point2 are points through which line passes.
-
Powered by
Ploneboard
