On Wed, Jul 17, 2013 at 11:54 AM, Johannes Schauer <[email protected]>wrote:
> I found it quite hard to add functionality to add more functionality to > the C++ > version. Probably especially because of lines 80-160 which are quite > cryptic to > me. > Those lines are just filling the index buffer, I use indexed triangles instead of simple triangle lists. > Especially handling slopes turned out to be *very* tricky and I spent 300 > lines > of code on it. You can see an overview of the 102 generated parts as solid > and > wireframe renderings here: > Nice job, those corners look tricky as well. > I do not plan to add any more pieces than those which are currently > generated. > All pieces are very rudimentary and I just wanted to get the basic shape > right > for building simple models. I dont think there are any pieces left which > would > be easy to generate. > You could add baseplates, they should be trivial. > After testing the result more, I might convert this code into a Debian > package > to provide a DFSG free parts library which can be used by other programs > but > contains a few more pieces than the leocad parts library. Leocad is of > course > free to use that library as well. If there is an easy way to convert ldraw > parts libraries to leocad format, the binary package could offer both > versions. > LeoCAD uses LDraw files directly, there's no need to do anything. I just prefer to have them zipped but it's not a requirement. Don't forget to generate a parts.lst file.
_______________________________________________ Leocad mailing list [email protected] https://list.gerf.org/listinfo/leocad
