GithubHelp home page GithubHelp logo

fponticelli / ao Goto Github PK

View Code? Open in Web Editor NEW

This project forked from libfive/libfive

0.0 2.0 0.0 3.81 MB

Homoiconic CAD package

Home Page: https://mattkeeter.com/projects/ao

CMake 1.49% C++ 94.99% C 0.11% Scheme 2.66% Shell 0.33% GLSL 0.42%

ao's Introduction

Disclaimer

This generation of Ao is not yet ready for mass consumption.

It's coming along nicely โ€“ and if you've found your way here, you should try it out! โ€“ but there's very little documentation, no stability guarantees, and limited support.

Please enjoy it responsibly and refrain from posting it to the wider web.

About

Ao is a framework for solid modeling using functional representations.

It includes several layers, ranging from infrastructure to GUI:

  • libao-kernel is a shared library to build, manipulate, and render f-reps. A great deal of work has gone into the meshing algorithm, which produces watertight, manifold, hierarchical, feature-preserving triangle meshes. The library is written in C++ and exposes a C API in ao/ao.h.
  • libao-guile is a Guile binding to libao-kernel. It exposes a high-level API to construct shapes, and includes a standard library of shapes, transforms, and CSG operations.
  • Studio is a GUI application in the style of OpenSCAD. It wraps libao-guile and allows for live-coding of solid models. The interface also includes direct modeling, where the user can push and pull on the model's surface to change variables in the script.

Building

Dependencies

Geometry Kernel

Bindings and GUI

Invocation

mkdir build
cd build
cmake -DCMAKE_PREFIX_PATH=/usr/local/Cellar/qt5/5.7.0  ..
make

Adjust based on your Qt installation path, and consider using ninja for faster builds.

License

(c) 2015-2017 Matthew Keeter

Different layers of this project are released under different licenses:

  • ao-kernel is released under the LGPL, version 2 or later.
  • guile-ao and Studio are released under the GPL, version 2 or later.

Contact me to discuss custom development, integration, or commercial support.

Using the standalone Guile module

scheme@(guile-user)> (load-extension "ao/bind/libguile-ao" "scm_init_ao_modules")
scheme@(guile-user)> (use-modules (ao csg) (ao transforms) (ao shapes))

Note that the standalong module does not include the minimal OpenGL-based GUI described here. That GUI is no longer maintained, but can be found in the ao-guile-repl branch.

ao's People

Contributors

fponticelli avatar mkeeter avatar sfcgeorge avatar

Watchers

 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.