Skip to content

Latest commit

 

History

History
21 lines (16 loc) · 711 Bytes

README.md

File metadata and controls

21 lines (16 loc) · 711 Bytes

pycsg

Python port of Evan Wallace's csg.js

Constructive Solid Geometry (CSG) is a modeling technique that uses Boolean operations like union and intersection to combine 3D solids. This library implements CSG operations on meshes elegantly and concisely using BSP trees, and is meant to serve as an easily understandable implementation of the algorithm. All edge cases involving overlapping coplanar polygons in both solids are correctly handled.

alt tag

examples

$ python examples/pyopengl

depends on: PyOpenGL PyOpenGL_accelerate