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 / 12769
12768  |  12770
Subject: 
Re: Questions about LPub
Newsgroups: 
lugnet.cad
Date: 
Sat, 28 May 2005 13:44:04 GMT
Viewed: 
1145 times
  
In lugnet.cad, Philippe Hurbain wrote:
I have a similar problem:
pack_callout: accumulated width too large
but AFAIK it is not a recursive call problem...


I got this one fixed: it was caused by the "0 ROTSTEP END" at the end of the
subfile (actually a plain 0 STEP at the end also brings on this behaviour)

There are a couple of things that throw LPub off and I'm trying to figure out
how to make it "do the right thing".

You have:

ROTSTEP
part
part
part
STEP
ROTSTEP END

This is equivalent to:

part
part
part
ROTSTEP
ROTSTEP END

LPub ignores STEP and the STEP portion of ROTSTEP if they precede the first
added part.  There are no parts to render, so they really don't count as steps.

LPub also ignores the second step here:
part
part
part
STEP
STEP

again because the image is unchanged.

But, in your case,

ROTSTEP   // The rotation is noted, but the STEP part is ignored (empty model)
part
part
part
STEP      // render this model
ROTSTEP END // the model is unchanged, but they view *has* changed, so render

LPub does the right thing generating CSI's and PLIs, but not in pack callout.
The code is a bit funky, so I've got to be careful here.  It keeps thinking
there is one more step than there really is.

It is good you found a workaround, but I want to fix the LPub bug.

Thanks for all the feedback on LPub.  It really helps a lot.


Philo

Kevin



Message has 1 Reply:
  Re: Questions about LPub
 
(...) Good luck, I guess that the overall code is quite involved! The last problem remaining for me (the results I have so far are very good!) is the step number placement: (...) Any idea? Something on the documentation too: - I found no information (...) (19 years ago, 28-May-05, to lugnet.cad)

Message is in Reply To:
  Re: Questions about LPub
 
(...) I got this one fixed: it was caused by the "0 ROTSTEP END" at the end of the subfile (actually a plain 0 STEP at the end also brings on this behaviour) Philo (19 years ago, 28-May-05, to lugnet.cad)

37 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