Giter Club home page Giter Club logo

cython-csg's Introduction

cython-csg's People

Contributors

themmes avatar tomturner avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

themmes e7dal

cython-csg's Issues

Polygon rotation

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.

Slicing a volume

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!

Triangulation of solid

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

Speed benchmark

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!

Library structure

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?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.