To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.cad.dev.macOpen lugnet.cad.dev.mac in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 CAD / Development / Macintosh / 1005
1004  |  1006
Subject: 
Re: LPub Rotation Step angle woes
Newsgroups: 
lugnet.cad.dev.mac
Date: 
Mon, 3 Nov 2008 04:54:22 GMT
Viewed: 
13442 times
  
In lugnet.cad.dev.mac, Allen Smith wrote:
   I’m working on rotation steps, and I’m not seeing LPub do what I expect it to do.

I have the following file:

1   2 0 0 0 1 0 0 0 1 0 0 0 1 3865.dat
0 ROTSTEP 0 0 0 ABS
1   4 -150 -24 70 1 0 0 0 1 0 0 0 1 3005.dat
0 ROTSTEP 0 0 0 REL

That should give me:
  1. A step with a front view
  2. A step with the default 3D angle.
But instead I get the following:

0 ROTSTEP 0 0 0 ABS (should be a head-on front view?)

   0 ROTSTEP 0 0 0 REL (should MLCad’s default 3D angle, z=0 y=45 x=23, right?)

   Am I completely missing something here? My output is not oriented the same way the pictures Jim posted in his tutorial were.

I am using LPub 4.0.0.1 with LDView 3.2.

Allen

Hi, Allen.

Here’s what I see when I open your example in LPub 4.0.0.1:



I’m not sure why the difference, but I’ll list some possible factors.
  1. Side effects of other LPub options, e.g. to hide PLI
  2. LDView version (I use a “4.0 Pre-Alpha” version from SourceForge/Travis)
  3. Assembly image cache - try clearing it (from the Tools menu) and clicking the Redraw button
A confession: I never use ROTSTEP ABS (I’m just in the habit of using REL), so I’m not very familiar with its behavior. I rotate things relative to the default view.

I probably misuse ROTSTEP, too (but I put it to good misuse). I usually put ROTSTEPs immediately after STEP commands (at the top of the file, for the first step) and before the parts I intend to rotate. So, my version of the file might look like this:

0 ROTSTEP 0 0 0 ABS
1   2 0 0 0 1 0 0 0 1 0 0 0 1 3865.dat
0 STEP
0 ROTSTEP 0 0 0 REL
1   4 -150 -24 70 1 0 0 0 1 0 0 0 1 3005.dat

Or, in the case of LPub multi steps, I put the ROTSTEP immediately after the multi step begin statement (which goes immediately after multi step end, which goes immediately after the STEP...).

Hopefully someone else can STEP in and clarify. I’m afraid I use a lot of voodoo to insert these commands.

Jim



Message has 2 Replies:
  Re: LPub Rotation Step angle woes  [DAT]
 
(...) snip (...) I prefer the description as presented by Allen. 1 2 0 0 0 1 0 0 0 1 0 0 0 1 3865.dat 0 ROTSTEP 0 0 0 ABS 1 4 -150 -24 70 1 0 0 0 1 0 0 0 1 3005.dat 0 ROTSTEP 0 0 0 REL ROTSTEP is STEP with rotation,and steps are bottom of current (...) (16 years ago, 4-Nov-08, to lugnet.cad, FTX)
  Re: LPub Rotation Step angle woes
 
(...) snip (...) Alas. That is what I'm supposed to see, not what I actually do see. Something is convinced that the 0,0,0 rotation is actually equal to the default 3D angle, which causes requests for the real default 3D angle to be over-rotated. (...) (16 years ago, 6-Nov-08, to lugnet.cad.dev.mac, FTX)

Message is in Reply To:
  LPub Rotation Step angle woes
 
I'm working on rotation steps, and I'm not seeing LPub do what I expect it to do. I have the following file: 1 2 0 0 0 1 0 0 0 1 0 0 0 1 3865.dat 0 ROTSTEP 0 0 0 ABS 1 4 -150 -24 70 1 0 0 0 1 0 0 0 1 3005.dat 0 ROTSTEP 0 0 0 REL That should give me: (...) (16 years ago, 3-Nov-08, to lugnet.cad.dev.mac, FTX)

12 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