Comments (4)
Hello, thanks for sharing this!
The error comes up when it tries to calculate the geodesic distances using the libigl function, but it's a bit hard to tell from this why exactly this is happening.
Could you share with me the files you are using for this slicing so that I can look into it in more detail?
Thanks!
Edit: I just realized that you have already attached the files, awesome! I'll look into it
from compas_slicer.
@inesariza can you post the contents of f
?
from compas_slicer.
Looking into the files, the problem seems to be the topology of the mesh; it has quad faces, while compas_slicer only works for triangular faces. As a result, f throws an error because has rows of 3 and 4 elements.
I will add a check for the mesh input, so that it catches quad meshes early in the process and throws a nicer error that explains what the problem is, to avoid future confusion.
I remeshed and triangulated the input mesh to a nicer topology, I attach the new files at the end of this message.
If you use this mesh input, then the slicing works.
Give this a try, and let us know if more issues come up.
from compas_slicer.
thank you very much for your replies. all working perfectly! 👍
from compas_slicer.
Related Issues (20)
- COMPAS SLICER stylizing
- Add attribute minimum/maximum z height to Layers
- When sorting into vertical layers, a safety_printpoint is always added even if it's not always necessary HOT 2
- Generate brim and sort into vertical layers
- Path types differentiation
- Prepare function that generates infill
- Update gh visualization component of the slicer
- Improve path simplification HOT 1
- Update PrintPoints: content, export/import, iterators
- Update PrintPoints gh visualization component
- Investigate libigl slicing function for planar/scalar field slicing
- Cgal slicing, differentiate open vs closed contours HOT 1
- Bug in unify_paths_orientation: points are deleted and paths not always unified well
- matplotlib dependencies prevents from use in Rhino HOT 2
- Describe the workflow of compas slicer better
- Exception when running script ex2_curved_slicing_advanced.py HOT 4
- Add installation of igl to installation steps
- Issued in advanced curve slicing
- Comment Exposed
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 compas_slicer.