Skip to main content

Constructive Solid Geometry (CSG)

Project description

pycsg

Python port of Evan Wallace’s [csg.js](https://github.com/evanw/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](http://content.screencast.com/users/TimKnip/folders/Jing/media/c1ad71ef-5032-4733-a210-2f97ae7b03cc/2015-07-24_2013.png)

examples

$ python examples/pyopengl

depends on: PyOpenGL PyOpenGL_accelerate

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pycsg-0.3.3.tar.gz (11.2 kB view details)

Uploaded Source

File details

Details for the file pycsg-0.3.3.tar.gz.

File metadata

  • Download URL: pycsg-0.3.3.tar.gz
  • Upload date:
  • Size: 11.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for pycsg-0.3.3.tar.gz
Algorithm Hash digest
SHA256 127b516d9887552b6fc8e7a614d1fcbc506048818fd59288462505bbca8daccf
MD5 8308ea7cdd5e205ef842b0c49762d5b9
BLAKE2b-256 fd20105422c51832c94a502461ca23cd1e94633f41931a5cf1f2c247c15d1f55

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page