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 / 15161
15160  |  15162
Subject: 
Re: LPub Issue
Newsgroups: 
lugnet.cad
Date: 
Thu, 3 Apr 2008 01:03:57 GMT
Viewed: 
4372 times
  
In lugnet.cad, Eric Kingsley wrote:
   I am a long time user of LDraw, MLCad, and POV but have just started trying to get LPub to work. I am almost there except I can’t seem to be able to fix one issue.

I have a submodel that I use twice in the main model. It seems that part of LPub is processing this correctly but some other part is not.

The Layout images for the part repeat twice instead of appearing just once with a “2X” annotation.

I have uploaded the offending images here...

One obvious image with an issue is this one.

and this is another (note part count)

Can anyone offer any help. I have tried several things and the only thing that worked was to trick the system by generating all the images then going to the MPD file and deleteing one of the two submodel parts in the main model and then running the layout images. But even with that you get an incorrect part count and know where does it say the submodel needs to be assembled twice.

Thanks for any help you can lend.


-Eric

Hi Eric, Sorry you are having trouble with LPub. I hope you are using 2.4, it is your best choice. I know you were patient in creating this post, and I appreciate that, but it would really help if you provided snippets of the LDraw file, including the LPub meta-commands.

If you have a submodel, and it is called out:

0 LPUB CALLOUT BEGIN 1 1 0 0 0 1 0 0 0 1 0 0 0 1 submodelA.ldr 0 LPUB CALLOUT END

You will get submodelA rendered and packed together into a callout image.

If you use submodelA twice in the same step, *and* they are both enclosed by the same LPUB CALLOUT BEGIN/END pair:

0 LPUB CALLOUT BEGIN 1 1 0 0 0 1 0 0 0 1 0 0 0 1 submodelA.ldr 1 1 10 0 0 1 0 0 0 1 0 0 0 1 submodelA.ldr 0 LPUB CALLOUT END

then LPub will indicate that you’ve used submodelA twice by putting 2x in the lower right corner of the callout.

There are no other conditions under which LPub will use the 2x notation, except for part list images.

If you use the same submodel twice, but it is not called out, LPub won’t do the right thing.

LPub 2 has big problems. The code that calculates partial assembly images is different code that does layout, which means that it is easy for them to be different, and can produce incorrect part list images for layout (as an example).

The biggest single thing that can make the two parts behave differently has to do with a combination like this:

0 STEP 0 STEP

or

0 STEP 0 ROTSTEP

In both cases, LPub gets confused, because in some parts it increments the step number on every STEP/ROTSTEP it encounters, and in other places it does not. Once the step numbers are off, then LPub improperly pairs assembly images with parts list images.

I’m not doing any work on LPub 2 (or 3), because I’m working very hard (with fantastic help from friends Travis Cobb’s and Don Heyse) at finishing up an alpha version on LPub 4.0.

Trust me when I say that the issue of STEPs that are not really STEPs is addressed in LPub 4. It is the largest program I’ve ever developed by myself, and one of the largest programs I’ve ever worked on, so it takes a while to get all the bugs out.

Hopefully the hints above will help you survive LPub 2.4.

If there is behavior that LPub 2.4 does not provide that you would like, please feel free to make suggestions here.

Kevin



Message has 2 Replies:
  Re: LPub Issue
 
(...) <snip> (...) LDraw files don't do to well in FTX, so I'm reposting. LPub 4.0 currently renders the building instructions for that submodel twice. It is not smart enough to see the two in the same step and merge them together. I've found that (...) (17 years ago, 3-Apr-08, to lugnet.cad)
  Re: LPub Issue
 
(...) Kevin, This was just want I needed to get past this problem. I had found the extra Step issue already. This is much closer to what I want but I need to get it formated right. At the moment the Callout is either overlaping most of the assembled (...) (17 years ago, 3-Apr-08, to lugnet.cad, FTX)

Message is in Reply To:
  LPub Issue
 
I am a long time user of LDraw, MLCad, and POV but have just started trying to get LPub to work. I am almost there except I can't seem to be able to fix one issue. I have a submodel that I use twice in the main model. It seems that part of LPub is (...) (17 years ago, 2-Apr-08, to lugnet.cad, FTX)

5 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