Reputation: 21
import os
import numpy as np
import pandas as pd
import pyvista as pv
face = 48
level = 0.3
......
mesh = pv.CylinderStructured(radius=level, height=3, theta_resolution=face, z_resolution=100)
......
# question here
mesh = mesh.extract_geometry().smooth(boundary_smoothing=True, feature_smoothing=False, n_iter=100, relaxation_factor=0.1, edge_angle=12)
mesh.plot(show_edges=True)
Upvotes: 0
Views: 14