Skip to content

Removing surface and point after creating Volume #582

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
mohammad200h opened this issue Mar 25, 2024 · 0 comments
Open

Removing surface and point after creating Volume #582

mohammad200h opened this issue Mar 25, 2024 · 0 comments

Comments

@mohammad200h
Copy link

Hi, I am creating a volume using the following code

import pygmsh

with pygmsh.geo.Geometry() as geom:
    poly = geom.add_polygon(
        [
            [0.0, 0.0],
            [1.0, -0.2],
            [1.1, 1.2],
            [0.1, 0.7],
        ],
        mesh_size=0.1,
    )
    geom.extrude(poly, [0.0, 0.3, 1.0], num_layers=5,recombine=True)
    mesh = geom.generate_mesh()


    pygmsh.write("test.msh")

When I view test.msh in gmsh app I see that it has created 8 points, 12 curve,6 surface and 1 Volume.

How can i remove points, curves and surface and only keep the volume?

Thanks :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant