leozide / leocad

A CAD application for creating virtual LEGO models
https://www.leocad.org
2.46k stars 206 forks source link

Export -> LDraw (OMR compliant) #273

Open ghost opened 5 years ago

ghost commented 5 years ago

Add option & widget for export LDraw model as OMR compliant

About OMR compliance: specification is here. But managing the nitty-gritty details can be painful, fortunately two tools are here to help.

One is MPDCenter, you can find a short tutorial describing OMR preparation here.

The other way is to use LDCad cleanup function (File -> Cleanup). ...

LDCad - Cleanup

REFERENCE

ghost commented 5 years ago

Here is OMR compliant checker implementation in JavaScript

LasseD commented 5 years ago

I have updated the JS checkers of buildinginstructions.js with documentation to make it easier to convert to C++. Also. The API has been made consistent across all functions.