Personal tools
You are here: Home Forum Use geompy error whith MakeLine command

geompy error whith MakeLine command

Up to Use
  • geompy error whith MakeLine command

    Posted by Bonaccorsi at January 27. 2006
    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.


    • Re: geompy error whith MakeLine command

      Posted by Bonaccorsi at January 27. 2006
      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.

      Sorry, I found my problem...

      I must use :

      s = MakeLineTwoPnt(p1,p2)

      Thomas B.

    • Re: geompy error whith MakeLine command

      Posted by Bonaccorsi at January 27. 2006
      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
Document Actions