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 / 15506
15505  |  15507
Subject: 
Re: LDraw Design Pad v2.0 Beta 2
Newsgroups: 
lugnet.cad
Date: 
Wed, 3 Sep 2008 00:52:36 GMT
Viewed: 
11123 times
  
In lugnet.cad, Philippe Hurbain wrote:
> > > 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!

Actually your input revealed that this functionality was slightly broken and has
now been fixed.

> > 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)

Yep, you're right.  I went back and compared my code with yours and discovered
that I was doing this:

Angle1 := 180*pi*arcsin(sqrt(PointDotProduct(temp, temp)));

vice this:

Angle1 := 180/pi*arcsin(sqrt(PointDotProduct(temp, temp)));

Fixed now.

> 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.

This was reported by Willy and has been fixed.

-Orion



Message has 2 Replies:
  Re: LDraw Design Pad v2.0 Beta 2
 
(...) It looks like changing decimal accuracy values is only effective after leaving/reopening LDDP. Philo (18 years ago, 3-Sep-08, to lugnet.cad)
  Re: LDraw Design Pad v2.0 Beta 2
 
- If you modify a file, have a look at it (using the LDView button) then close LDDP, then no file save warning is issued, LDDP closes and changes are lost. - Temporary files for LDview are saved in temp folder instead of a temp file of the current (...) (18 years ago, 3-Sep-08, to lugnet.cad)

Message is in Reply To:
  Re: LDraw Design Pad v2.0 Beta 2  [DAT]
 
(...) Grrrrr... now I feel really dumb: it works perfectly now. Will be really helpful figuring out the exact spelling of some primitives! (...) ...but this one is confirmed, test data below. 4 16 20 -15.9343 -5.35757 15 -20.5537 -7.27099 15 -18 -11 (...) (18 years ago, 2-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