About 181,000 results
Open links in new tab
  1. python - Is there a way to create 2D mesh in PyMesh automatically based ...

    Sep 4, 2016 · While reading the docs of PyMesh, I found only two ways to generate a mesh, the first is loading an external mesh file and the second is using raw data where the vertex array and faces are used to create the mesh.

  2. PyMesh — Geometry Processing Library for Python

    Read/write 2D and 3D mesh in .obj, .off, .ply, .stl, .mesh , .msh and .node/.face/.ele formats. Support load and save per vertex/face/voxel scalar and vector fields. Local mesh processing such edge collapse/split, duplicated vertex/face removal etc.

  3. grid - Creating a 2d mesh in python - Stack Overflow

    Dec 5, 2012 · In my answers, I'll use two libraries: I believe these are the constants in your setup: First, draw the circles: pylab.gca().add_patch(pylab.Circle(origin, radius=r, . fill=False, color='black')) Then draw the lines: pylab.plot(np.cos(theta) * r_ab, np.sin(theta) * r_ab, color='red') Finally, display: The result:

  4. pygalmesh - PyPI

    pygalmesh is a Python frontend to CGAL's 2D and 3D mesh generation capabilities. pygalmesh makes it easy to create high-quality 2D, 3D volume meshes, periodic volume meshes, and surface meshes. Examples

  5. Mesh Generation — PyMesh 0.2.1 documentation - Read the Docs

    mesh (Mesh) – Input triangular mesh. cell_size ( float ) – Max radius of the circumscribed sphere of the output tet. radius_edge_ratio ( float ) – Max radius of the circumscribed sphere to the shortest edge length of each tet.

  6. Generating meshes in Python - GeeksforGeeks

    Apr 24, 2025 · In this context, we looked at three unique Python mesh formation examples, including constructing a basic 2D mesh from a collection of vertices, a more intricate 3D mesh from a set of surfaces using the Delaunay triangulation algorithm, and a complex mesh from a set of point clouds using the PointCloud Mesh Reconstruction algorithm.

  7. Python workflow tool for generating meshes from 2D and 3D ... - GitHub

    Nanomesh is a Python workflow tool for generating meshes from 2D and 3D image data. It has an easy-to-use API that can help process and segment image data, generate quality meshes (triangle / tetrahedra), and write the data to many mesh formats.

  8. 2d - Python mesh generation - Stack Overflow

    Aug 9, 2017 · You need to find the specific module for 2D in the lib. You can use the pymadcad module, it is meant for 3d, but as far as 2d is a subcase of 3d one can easily get things done that way. This module aims to keep things simple and intuitive.

  9. GitHub - andrewgiuliani/PyGrid2D: Two-dimensional, high-order, cut cell ...

    Two-dimensional, high-order, cut cell mesh generator. Simple code to generate embedded boundary grids, where the boundary is a piecewise-defined polynomial that interpolates the nonlinear boundary...

  10. How to Generate mesh in Python with Gmsh module?

    Nov 23, 2022 · In this article, we will cover how to Generate meshes using Gmsh module in Python. What is Mesh? A connected 2D, 3D, or multi-dimension structure that is made up of points, lines, and curves is called mesh.

  11. Some results have been removed
Refresh