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 / 15499
15498  |  15500
Special: 
[DAT] (requires LDraw-compatible viewer)
Subject: 
Re: LDraw Design Pad v2.0 Beta 2
Newsgroups: 
lugnet.cad
Date: 
Tue, 2 Sep 2008 07:45:06 GMT
Viewed: 
10889 times
  
> > It works for linetype 1.  Typing the file reference should bring up the auto
> > complete box if you have the ldraw base path set.
> 
> Don't seem to be working here. You mean if I begin typing 4-4ed... it should
> propose 4-4edge.dat?

Grrrrr... now I feel really dumb: it works perfectly now. Will be really helpful
figuring out the exact spelling of some primitives!

> I think there is something broken in your angle calculation, but I'll come back
> later on this, I need to experiment more.

...but this one is confirmed, test data below.

4 16 20 -15.9343 -5.35757 15 -20.5537 -7.27099 15 -18 -11 20 -13 -10
1 16 12 -3 -3 0 1 0 0 0 -1 1 0 0 rect.dat
4 16 15 -22 0 20 -17 0 20 -15.9346 5.3578 15 -20.5541 7.2713
1 16 12 -4 -3 0 1 0 0 0 -1 1 0 0 4-4disc.dat
5 24 20 -8.3578 12.9346 15 -10.2713 17.5541 15 -3 19 20 -12.8994 9.8994
4 16 22 -20.5537 -7.27099 27 -15.9343 -5.35757 27 -17 0 22 -22 1
1 16 12 -4 -3 0 1 0 0 0 -1 2 0 0 4-4disc.dat
4 16 0 0 0 0 0 10 10 10 10 10 0 0

First issue: Quads line 1 and 6 are slightly warped, 2° and 1.4° according to
Planarcheck. LDDP finds an angle of 20° and 13°. Last line quad is badly
distorted (60°), LDDP reports a whooping 592° angle ;o)

Second issue: if you comment out type 1 lines, LDDP reports the same angle (20°)
for all quads (including the flat one), and also for the conditional line.

Philo



Message has 1 Reply:
  Re: LDraw Design Pad v2.0 Beta 2
 
(...) Actually your input revealed that this functionality was slightly broken and has now been fixed. (...) Yep, you're right. I went back and compared my code with yours and discovered that I was doing this: Angle1 := (...) (18 years ago, 3-Sep-08, to lugnet.cad)

Message is in Reply To:
  Re: LDraw Design Pad v2.0 Beta 2
 
(...) Don't seem to be working here. You mean if I begin typing 4-4ed... it should propose 4-4edge.dat? (...) I would choose the triangles with lowest angle (as I did in planarcheck): the overall shape will be flatter visually. I think there is (...) (18 years ago, 1-Sep-08, to lugnet.cad)

20 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
    

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