NerveMshCreator.add_cone

NerveMshCreator.add_cone(x=0, y=0, z=0, L=5, R1=1, R2=0)

add a x-oriented cone to mesh entities

Parameters:
  • x (float) – x position of the x-min face center.

  • y (float) – y position of the x-min face center.

  • z (float) – z position of the x-min face center.

  • L (float) – Cone length along x.

  • R1 (float) – Cone x-min face radius.

  • R2 (float) – Cone x-max face radius.

Returns:

cone – id of the added object

Return type:

int