LDraw.org Discussion Forums

Full Version: Lic - a tool for creating LEGO building instructions
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4
Philippe Hurbain Wrote:When I tried to generate images or PDF, they were located in a subfolder of the program, while I would have expected a subfolder of model location.

Yep ... you should have added in the VirtualStore.

??? in Win XP ??? Wink
Philippe Hurbain Wrote:
??? in Win XP ??? Wink

Found also the setting for the resolution (hidden away in the templete). Looks like you have to import a model first, before you get access to the templates, which means there is no global setting, but all settings are tight to the models (or the templates files). You've got to remember that.

Hello Jarema,
I just played a little with lic 0.8.501, which was very, very nice! Thank you!
I tried the attached locomotive model.
When I create instructions for it, the tool sometimes messes up the colors.
The locomotive is built in color 16.
In your generated instructions, it appears as color 0 (black) sometimes,
and sometimes in transparent yellow (looks funny).
I suspect that the tool somehow mixes up the colors of the bricks being added
(my model uses 1x1 round plates for the front lights)
and uses that color for the model.
See this screenshot:[attachment=1504]

When I use this model, I additionally get this error message in lic.log:
"UnknownDeliverer => Could not find LDraw Color: 24 - Using Black"
Colors 16 and 24 should be supported by the tool.
Optionally, the user should be enabled to decide which colors should be used for them,
but by default a simple grey would do it.

Personal remark:
I personally would have better liked it if you had put the code to github.com instead of code.google.com.
Jarema Wrote:This is my first post. So I say HE:LLO to any one.
It is write in Python. Linux is his native environment. You don't have compile this script. Just use bash to run it.

Thank you for the info.


When I try and run it [Python Lic.py] from terminal I get the following error:

[Image: Screenshot%20from%202015-02-25%2020%3A27%3A08.jpg]

This is the version of qtopengl that I have installed:

[Image: Screenshot%20from%202015-02-25%2020%3A27%3A37.jpg]

I must be doing something wrong, I'm not very knowledgeable when it comes to command lines. I'd love to see this work.
Quote:Colors 16 and 24 should be supported by the tool.
I don't really agree. A model (at least one that needs BIs) should have existing colors at top level, neither main or edge colors. LIC does support these colors, since inheritance works properly.
sudo apt-get install python-opengl
But this must have handle many other dependencies before run - like PIL and PyQt4.
Jarema Wrote:
sudo apt-get install python-opengl

But this must have handle many other dependencies before run - like PIL and PyQt4.

I'll try that but I did check, I'm pretty sure I have everything I need.

[Image: Screenshot%20from%202015-02-26%2007%3A51%3A03.jpg]
[Image: Screenshot%20from%202015-02-26%2013%3A38%3A54.jpg]
Sadly it's already installed.

[Image: Screenshot%20from%202015-02-26%2013%3A35%3A45.jpg]
Pages: 1 2 3 4