Submitting patches

Patches can be submitted via http://github.com

The openscad project page is at https://github.com/openscad/openscad

Brief overview

OpenSCAD has no formal guidelines about tabs, spaces, etc. Try to match what exists already in the file you are working on.

QT should be avoided in everything except GUI code. Use C++11 or boost instead. The goal is to stay modular.

Modularity also extends to OpenCSG and CGAL. Note the #ifdefs that attempt to separate CGAL/OpenCSG dependent code from 'independent' code.

There are two build systems, Qmake for the GUI and Cmake for the test suites. Please test your patch under both. Read doc/testing.txt and README.md.

When including a new external library, please try to test it on many different systems. The GNU Compile Farm can help, as can emulator systems like Qemu or VMWare. Review the 'build-dependencies' scripts for Mac OSX and Linux/Unix (under /scripts). Try to do a cross-build to Windows if possible (see README.md)

Steps to follow to submit a patch

Alternative

Small patches can also be created using 'git diff' and posting to the mailing list at mailing list but github is vastly preferable.