Marcello-Sega/pytetgen

make cylinder mesh

Closed this issue · 4 comments

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!

Hi,

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

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!

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

Ok thank you very much