Marcello-Sega / pytetgen

python interface to tetgen
GNU Affero General Public License v3.0
9 stars 1 forks source link

make cylinder mesh #8

Closed BENYSU closed 2 years ago

BENYSU commented 2 years ago

Dear I try make cylinder mesh by

import pyvista as pv import tetgen import numpy as np pv.set_plot_theme('document') cylinder=pv.cylinder() tet = tetgen.TetGen(cylinder)

But it remind 'AttributeError: module 'pyvista' has no attribute 'cylinder'' Thank you very much!

Marcello-Sega commented 2 years ago

Hi,

As the error message suggests, the problem is related to pyvista, not to pytetgen.

BENYSU commented 2 years ago

Thank you very much for your reply and how can overcome the problem? And do you have the example of making cylinder mesh? Thank you very much!

Marcello-Sega commented 2 years ago

No, sorry, you have to ask the pyvista community in case.

BENYSU commented 2 years ago

Ok thank you very much