Comments (2)
The error is related to the triangle library. Given it is looking for the Python source code, you would need to check that your Python environment is recognised - for this I can suggest that you look into Python embedded further. I get the impression that the embedded version of python does not include the source headers as part of the distribution which is why the warning appears but it is new to me.
The more simple solution to your problem is that the triangle library is not currently needed yet in version 0.3. This potentially will be used for the support generation module in future, which is used by Trimesh - although I have an alternate function for this that may remove the dependency. However, for your purposes I think it can be safely removed without affecting the core hatching functionality.
from pyslm.
Removing triangle
from my requirements.txt
resulted in the error disappearing and I am now able to successfully package the library as a dependency alongside an Electron application. I've documented this issue so we can revisit it at a later point if we need support for future pyslm triangle-dependent features, but this is a fine solution for us for the next little while. Thank you!
from pyslm.
Related Issues (20)
- ClipperException: The path is invalid for clipping HOT 3
- PySLM: Migrate to Shapely 2.0
- Bug: PySLM - Error whilst generating Support Structure using Trimesh 3.18 HOT 1
- Bug: PySLM - Support Structures Extruded Prisms are incorrectly trianglulated
- Fix: B-Spline Applied Smoothing of Polygons for Baseplate Supports
- Improve performance of Support Structure Generation HOT 1
- Support teeth for GridBlockSupport
- Option to toggle the generation of the grid truss in GridBlockSupports
- Grid Block Support Structures - Additional Strengthening of Walls
- PySLM Block Supports: Slice and hatch with correct order
- .rdn format generation and reading build files HOT 3
- PySLM/libSLM Indexable Laser Parameters across Scan Vectors
- Implementation of ClipperLib2 for Python
- Compatibility with Python 3.11
- Improper array size error in identifysupportregions HOT 1
- Improper array size error in identifysupportregions HOT 5
- Sorting strategy `UnidirectionalSort` does not seem to return the hatching HOT 3
- Installing from PyPI failes as well as from github HOT 1
- missing for example_support_structure.py HOT 1
- Trouble running example_support_structure.py on 0.6.0 (dev branch) HOT 3
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 pyslm.