MshCreator.add_line

MshCreator.add_line(X0, X1)[source]

add a line to the mesh

Parameters:
  • X0 (int or tupple(3)) – x position of the first face center

  • X1 (int or tupple(3)) – y position of the first face center

Returns:

line – id of the added object

Return type:

int