To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.cadOpen lugnet.cad in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 CAD / 13035
13034  |  13036
Subject: 
Re: LPub Orientation and Half-Size LDraw files
Newsgroups: 
lugnet.cad
Date: 
Thu, 30 Jun 2005 14:27:55 GMT
Viewed: 
952 times
  
In lugnet.cad, Kevin L. Clague wrote:
One of the "features" of LPub is to create part list images and bill
of materials images, modeling those concepts found in LEGO building
instructions.

One of the issues I noticed years ago when I first used LPub for
book authoring was that not all the LDraw parts are oriented in a
way that gives a consistent orientation feel within a PLI or BOM.

To overcome this issue, LPub uses a file called orientation.ldr
provided with the LPub install package.  When LPub needs to render a
given part/color, LPub looks to see if the part is listed in
orientation.ldr.  If it is found there, LPub uses the part
orientation found in orientation.ldr.  If not, the default
orientation is used.

The problem is that each release of LPub overwrites orientation.ldr,
erasing any changes you might have added.  It leaves me wondering if
there isn't some way to manage this file better.

I wish there was an easy way for people to update a global (in the
real world sense) version of orientation.ldr so that all could share
in the modifications of the file.  I do not know of any easy way to
do this for non-programmers.  Making the file available through a
source code control system makes sense for us programmers, but is it
a workable solution for non-programmers?

If you use the sourceforge, the files in CVS are automatically
made available via http by the CVS web interface.  I think a
web page could be constructed that always points to the latest.

I want to write a little program to let me walk visually through
parts.lst and orientation.ldr, displaying a rendered image of the
part.  The tool would then let you perform simple rotations and
rerender, until you are happy with the orientation.  In the end, you
have a new orientation.ldr file for all the parts in your system.
However, this still leaves all the orientation process local for
each of us who invest in orientation.

You could do this by launching any of the viewers in polling mode.

I realise as I write that I should add the overwrite of
orientation.ldr as options at install time, to at least avoid
overwriting local changes.

half_size.ldr lets you select parts to render at half the size of
the natural render.  For large parts like base plates and RCX's
reducing the size makes for better PLIs.  It suffers the same
maintenance problems as orientation.ldr.

Anyone got good ideas on how to better manage these files?

Make a sourceforge project and add a link to it from "Ldraw Utilities"
page at ldraw.org.

This sounds like it may complement the functionality of the mirror.ini
file we developed a while back.  It also shares the same maintenance
problems.

  http://news.lugnet.com/cad/?n=11677

Perhaps a sourceforge project could hold both.

Enjoy,

Don



Message has 1 Reply:
  Re: LPub Orientation and Half-Size LDraw files
 
(...) <snip> (...) Yes, but I want all to be able to update it. Do you really think CVS is the right thing to use for non-programmers? (...) Yes, I know that I can use the current viewers to display the rendered part, but I still need a bit of code (...) (19 years ago, 30-Jun-05, to lugnet.cad)

Message is in Reply To:
  LPub Orientation and Half-Size LDraw files
 
One of the "features" of LPub is to create part list images and bill of materials images, modeling those concepts found in LEGO building instructions. One of the issues I noticed years ago when I first used LPub for book authoring was that not all (...) (19 years ago, 30-Jun-05, to lugnet.cad)

9 Messages in This Thread:




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
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR