Comments (6)
Well, you definitely need gmp and mpfr to compile. I have no idea if they have support for windows. Perhaps the CGAL mailing list is a better place to ask.
from pygalmesh.
OK will try there, thanks :)
from pygalmesh.
If you install CGAL with the windows installer the libraries gmp and mpfr are installed as well. You would find them in the folder INSTALL_PATH\auxiliary\gmp
.
I was able to make it work on windows, but I got an assertion error in one of the tests:
__________________________________________________________________________________ test_volume_from_surface ___________________________________________________________________________________
def test_volume_from_surface():
this_dir = os.path.dirname(os.path.abspath(__file__))
mesh = pygalmesh.generate_volume_mesh_from_surface_mesh(
os.path.join(this_dir, "meshes", "elephant.vtu"),
facet_angle=25.0,
facet_size=0.15,
facet_distance=0.008,
cell_radius_edge_ratio=3.0,
verbose=False,
)
tol = 1.0e-3
assert abs(max(mesh.points[:, 0]) - 0.357612477657) < tol
assert abs(min(mesh.points[:, 0]) + 0.358747130015) < tol
> assert abs(max(mesh.points[:, 1]) - 0.496137874959) < tol
E assert 0.014181661246307764 < 0.001
E + where 0.014181661246307764 = abs((0.4819562 - 0.496137874959))
E + where 0.4819562 = max(array([-0.19258097, -0.09461719, -0.3258206 , 0.06994132, -0.1434645 ,\n -0.11351405, 0.05553488, 0.0659714 , ...5258, 0.37136012, -0.1880949 , -0.45568204,\n -0.10133088, 0.07262085, -0.20886302, -0.19134675], dtype=float32))
test\test_volume_from_surface.py:21: AssertionError
from pygalmesh.
Thanks @acfaruk , all other functionality works as expected on you win machine ?
from pygalmesh.
I later switched to another library, but the few examples I ran, were running as expected.
from pygalmesh.
I suppose this is dealt with now. Feel free to reopen if not.
from pygalmesh.
Related Issues (20)
- Maximum boundary size? HOT 1
- Parallel build HOT 2
- Release archives do not contain git-lfs files HOT 1
- extra_feature_edges does not seem to have any effect HOT 4
- Unstructured grid HOT 1
- pygalmesh installation in anaconda (windows) HOT 1
- SyntaxError: future feature annotations is not defined HOT 3
- How to use a closed stl file to generate the volume mesh? HOT 1
- install on windows HOT 1
- Calculate Union on meshes from meshio
- Labels on generated mesh HOT 2
- Question about converting volume to surface HOT 1
- [README] The images in the README.md are not rendering HOT 2
- Release v0.10.7 missing on GitHub
- M1 Apple Silicon support HOT 5
- generation from array HOT 4
- Compiler assumption on MacOS
- install broken for non-default install locations
- Fix `generate_from_array` signature
- Non manifold interface between two meshes
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pygalmesh.