HazenBabcock / opensdraw

A CAD program similar to OpenSCAD but for LEGO(R).

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

opensdraw

A programming language (and some related utilities) for creating LDraw format files.

Documentation

The documentation is here.

Getting Started

You will need to add this directory to your Python path. One way to do this is to copy the openldraw.pth file into your Python dist-packages directory, then edit it to have the correct path.

I use partviewer.py to find LDraw part information, emacs to edit the .lcad files and LDView for rendering. I configure LDView to poll for changes to the .mpd file so that when I press "F5" in emacs (in lcad minor mode), the updated .mpd file is displayed almost immediately.

Directory Layout

  • docs - Sphinx documentation.
  • emacs - Minor mode for editing .lcad files with emacs.
  • opensdraw - The opensdraw package.

Dependencies

Disclaimer

LEGO(R) is a trademark of The LEGO Group of companies which does not sponsor, authorize or endorse this repository.

About

A CAD program similar to OpenSCAD but for LEGO(R).

License:MIT License


Languages

Language:Python 98.5%Language:Emacs Lisp 1.5%