GithubHelp home page GithubHelp logo

skalnik / csgtool Goto Github PK

View Code? Open in Web Editor NEW

This project forked from sshirokov/csgtool

0.0 3.0 0.0 333 KB

3D CSG Tool

License: MIT License

Ruby 3.05% C 88.34% C++ 1.10% Erlang 0.68% Python 6.83%

csgtool's Introduction

csgtool Build Status

CSGTOOL is a library, Ruby Gem and command line tool for performing Constructive Solid Geometry operations on STL Files using 3D BSP Trees.

The library is written in C99 with performance, portability and readability as primary goals. The ruby gem wraps the library using the ffi gem to provide a friendlier interface to the underlying engine.

Quickstart

$ git clone https://github.com/sshirokov/csgtool.git
$ make test
$ ./csgtool
Usage: ./csgtool <command> [command options]
..
[help snipped]
$ bundle exec ruby ./csgtool.rb tests/fixtures/jaws.stl tests/fixtures/jaws2.stl

This should result in three files: intersect.stl, subtract.stl, and union.stl representing the CSG operations performed on the arguments.

intersect

subtract

union

csgtool's People

Contributors

sbryant avatar skalnik avatar sshirokov avatar

Watchers

 avatar  avatar  avatar

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.