tomturner / cython-csg Goto Github PK
View Code? Open in Web Editor NEWLicense: MIT License
License: MIT License
I wanted to add the rotation function to polygon as well (I did this for the original pycsg), do you have an idea how we should do this robustly? As rotating influences point and plane, so maybe we should either rotate plane and update points, or rotate points and update plane? And this probably should have an effect on the BSP tree.
I would like to implement a function to slice a solid with planes. For now this library only allows solid-to-solid intersection if I am correct? Do you have an idea for how to implement this?
I would love to contribute!
I am working on a toVerticesandTriangles()
function for the CSG class. However, not sure how I should implement the triangulation part. It should be pure Python? Can it be from another library?
This functionality would be useful for plotting with for example Ipyvolume in Jupyter Notebooks or conversion to mesh and performing mesh analysis
I was reading the issues of the original library this code is based on (https://github.com/evanw/csg.js/) and discovered that this code is actually actively maintained by a community here (https://github.com/jscad/csg.js). It might be interesting to try to match this library with their current status of development.
Rapid question: which are the main differences with pycsg?
Hi Tom,
Nice one, moving the CSG over to Python, that should speed things up! Could you give an estimate for speed improvement with this implementation?
Looking forward to your reply!
Why did you choose to merge the two source files? Would it not be more convenient to have multiple files with BSP Tree
, geometry types
, functions
? Or something like that?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.