Subject:
|
Re: Getting complete set of Ldraw parts images
|
Newsgroups:
|
lugnet.cad
|
Date:
|
Fri, 16 May 2003 13:33:09 GMT
|
Viewed:
|
639 times
|
| |
![Post a public reply to this message](/news/icon-reply.gif) | |
Jacob
I haven't tried LDGLite and NetPBM - could it be made to run through the
entire LDraw parts directory and generate an image for each part?
Thanks,
James
In lugnet.cad, Jacob Sparre Andersen writes:
> Orion Pobursky wrote:
>
> > Like something that will take a supplied part .DAT file and make a label of
> > specified diminsions? This would be insanely useful for me. I actually
> > toyed with the idea myself.
>
> That's pretty trivial to do with LDGLite and NetPBM/PBMplus.
>
> ldraw_file=some_lego_model.mpd
> rendering=`ldglite -l3 -ms -q -s1 -w1 ${ldraw_file} \
> | grep '^Write BMP8' | tail -1 | cut -d' ' -f3-`
> bmptoppm ${rendering} \
> | pnmscale -width 120 \
> | pnmtopng \
> > `basename ${ldraw_file} .mpd`.png
>
> Play well,
>
> Jacob
>
> PS: I have a POSIX Shell script version of the above code, which
> includes some error checking and _maximum_ dimensions instead of
> fixed width. Should I publish it somewhere? Where?
|
|
Message has 1 Reply:
Message is in Reply To:
![](/news/x.gif) | | Re: Getting complete set of Ldraw parts images
|
| (...) That's pretty trivial to do with LDGLite and NetPBM/PBMplus. ldraw_file=some_lego_model.mpd rendering=`ldglite -l3 -ms -q -s1 -w1 ${ldraw_file} \ | grep '^Write BMP8' | tail -1 | cut -d' ' -f3-` bmptoppm ${rendering} \ | pnmscale -width 120 \ (...) (21 years ago, 16-May-03, to lugnet.cad)
|
18 Messages in This Thread: ![Getting complete set of Ldraw parts images -James Wilson (15-May-03 to lugnet.cad)](/news/x.gif) ![](/news/246.gif) ![Re: Getting complete set of Ldraw parts images -Orion Pobursky (15-May-03 to lugnet.cad)](/news/x.gif) ![](/news/246.gif) ![Re: Getting complete set of Ldraw parts images -Jacob Sparre Andersen (16-May-03 to lugnet.cad)](/news/x.gif) ![](/news/246.gif) ![You are here](/news/here.gif) ![](/news/46.gif) ![Re: Getting complete set of Ldraw parts images -Jacob Sparre Andersen (16-May-03 to lugnet.cad)](/news/x.gif)
![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/268.gif) ![Re: Getting complete set of Ldraw parts images -Todd Lehman (16-May-03 to lugnet.cad)](/news/x.gif) ![](/news/246.gif) ![Re: Getting complete set of Ldraw parts images -Don Heyse (16-May-03 to lugnet.cad)](/news/x.gif) ![](/news/46.gif) ![Re: Getting complete set of Ldraw parts images -Jacob Sparre Andersen (16-May-03 to lugnet.cad)](/news/x.gif)
![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/68.gif) ![Re: Getting complete set of Ldraw parts images -Jacob Sparre Andersen (16-May-03 to lugnet.cad)](/news/x.gif)
![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/68.gif) ![Re: Getting complete set of Ldraw parts images -Orion Pobursky (16-May-03 to lugnet.cad)](/news/x.gif) ![](/news/46.gif) ![Re: Getting complete set of Ldraw parts images -Jacob Sparre Andersen (19-May-03 to lugnet.cad)](/news/x.gif) ![](/news/246.gif) ![Re: Getting complete set of Ldraw parts images -Jacob Sparre Andersen (19-May-03 to lugnet.cad)](/news/x.gif)
![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/x.gif) ![](/news/268.gif) ![Re: Getting complete set of Ldraw parts images -Don Heyse (19-May-03 to lugnet.cad)](/news/x.gif) ![](/news/46.gif) ![Re: Getting complete set of Ldraw parts images -Don Heyse (19-May-03 to lugnet.cad)](/news/x.gif)
![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/x.gif) ![](/news/68.gif) ![Re: Getting complete set of Ldraw parts images -Orion Pobursky (19-May-03 to lugnet.cad)](/news/x.gif)
![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/68.gif) ![Re: Getting complete set of Ldraw parts images -James Wilson (16-May-03 to lugnet.cad)](/news/x.gif) ![](/news/46.gif) ![Re: Getting complete set of Ldraw parts images -James Wilson (16-May-03 to lugnet.cad)](/news/x.gif)
![](/news/x.gif) ![](/news/68.gif) ![Re: Getting complete set of Ldraw parts images -Todd Lehman (16-May-03 to lugnet.cad)](/news/x.gif)
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
This Message and its Replies on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|