Skip to content

carlmartus/rscsg

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

70 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rust CSG

Build Status

WARNING UNDER DEVELOPMENT. Don't use this library just yet. It has a bug that is being rooted out.

Constructive Solid Geometry in Rust. Create 2D and/or 3D objects using nothing but Rust code. Combine boolean operations like union, subtraction and intersection.

This library started as a port of pycsg. With added operations for 2D objects.

The Csg structure

The rscsg::dim3::Csg consists of vertices bound together to form polygons.

The struct has basic transformations; translate, rotate and scale.

Sample

execute the real time OpenGL sample with:

cargo run --example gl

Roadmap

  • Basic 3D CSG.
  • Basic 2D CSG.
  • Real time 3D sample.
  • 2D to 3D extractions.
  • Add shared date component to CSG obejcts.
  • Export to known format(s).

About

Rust Constructive Solid Geometry

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages