Questions tagged [pymesh]

19 questions
8
votes
1 answer

How to create point cloud file(.ply) from vertices stored as numpy array?

I have some vertices whose coordinates were stored as NumPy array. xyz_np: array([[ 7, 53, 31], [ 61, 130, 116], [ 89, 65, 120], ..., [ 28, 72, 88], [ 77, 65, 82], [117, 90, 72]], dtype=int32) I…
Ausrada404
  • 499
  • 1
  • 7
  • 17
2
votes
2 answers

Create triangular meshing of a non rectangular shape in 2D in Python

Suppose I have a set of points defining a perimeter of a non rectangular shape in the 2d plane. I need a function to create a triangular meshing where I can modify the number of triangle cells and return (x,y) coordinates of each cell. Thank you.
1
vote
1 answer

How to add two 3D meshes to get single mesh in python

I'm playing with some mesh operations. Suppose we have two meshes, one human head mesh and another one is human body. we just have to add head to body so that the end result is one single complete human body mesh. I think it can be done using…
1
vote
1 answer

How can I optimize mesh in gmsh? (for the intersection between entities)

I have a geometry composed of four walls, a slab, and beams. geometry image: I am using gmsh for meshing it, starting from a step file. I would like to know how to guarantee the continuity between elements in the area of the next figure. I am using…
1
vote
1 answer

Segmentation of 3D mesh and feature extraction

I have five pictures of wound models taken from different angles links for the pictures is provided here I have used SFM for computing a mesh , the picture of the mesh is presented below . I would like to extract only the features associated with…
DevanDev
  • 161
  • 1
  • 2
  • 17
1
vote
0 answers

PyMesh problems with Setup on Windows10 and Error using Docker Version

I want to install PyMesh on a Windows 10 PC, if possible it should be installed in the side-packages of an interpreter delivered with the IDE we use. I tried the way to run the setup discribed…
Armin W
  • 11
  • 1
1
vote
1 answer

Why Pymesh boolean operations extremely slow with my simple geometry setup?

I am testing the efficiency of boolean operations in pymesh to see how fast it calculate boolean. But the performance I got using the default engine was extremely slow, comparing to the libigl paper 0.25 s in calculating self-union of 8616…
Shizzy
  • 339
  • 2
  • 4
1
vote
1 answer

Is there a function in PyMesh which computes Volume?

I am trying to calculate the volume of an intersection in pymesh. From the MWE on the PyMesh website https://pymesh.readthedocs.io/en/latest/mesh_boolean.html, given intersection, I would like to know how to calculate the volume? I have tried…
Athena
  • 320
  • 2
  • 12
0
votes
0 answers

Import fenics, no module "fenics" found on python3.6.10

I needed python 3.6.10 for Pymesh2 which i hadn't installed yet. But I am trying to get Fenics to work in this version of python so it can be used concurrently with Pymesh2. I followed this installation:…
ZET
  • 1
0
votes
1 answer

Generating a 3D mesh from a string in Python

I am Looking for a way to turn a text string into a 3D mesh, that could then be further manipulated using relevant python libraries, such as pyMesh or open3D. I thought this should be a common feature but this proves more difficult than imagined.
IamTheWalrus
  • 594
  • 5
  • 14
0
votes
0 answers

How to safely mix ARM and x86_64 conda packages in the same environment on M1

I have two different terminals and conda distributions that nicely separate my ARM and x86_64 environments and packages. However, I have arrived at a point where I need to use an ARM conda environment with a non native package. Example: To use MPS…
GIONII
  • 11
  • 3
0
votes
1 answer

Why I cannot have original geometry in PyMesh after meshing?

Sorry it maybe too easy but in PyMesh, when I define a geometry file like this [[1]: https://i.stack.imgur.com/MyuGC.png],by using the simplest example code in Tutorial as follow: vertices = nodes # The vertex of polygon tri =…
0
votes
0 answers

I was faced the problem related to pymesh

this is my code... import pymesh mesh = pymesh.load_mesh("cube.stl"); I got error like this mesh_B = pymesh.load_mesh("cube.stl"); AttributeError: module 'pymesh' has no attribute 'load_mesh' please help me to fix this error...and guide me how to…
Jenifer
  • 1
  • 1
0
votes
1 answer

How to extract mesh from a data stream?

For research purposes (not related to CG and I have no prior experience working with meshes), I'm using an open source program (3DWorld) which is part python and part Unity. only the python part is open source and the two are connected thru zmq.…
0
votes
1 answer

Sklearn and Pymesh import causes conflicts

I am working on processing 3D meshes using PyMesh. pip install pymesh2 has build error. Hence I installed from another release from the official github page. I am using pymesh2-0.3-cp36-cp36m-linux_x86_64.whl. I installed scikit-learn using pip…
Ajinkya Ambatwar
  • 121
  • 1
  • 10
1
2