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 / 15713
15712  |  15714
Subject: 
Re: LGEO update
Newsgroups: 
lugnet.cad
Date: 
Sun, 23 Nov 2008 08:44:37 GMT
Viewed: 
6120 times
  
In lugnet.cad, Eric Albrecht wrote:
In lugnet.cad, Lutz Uhlmann wrote:
Hi,

a new LGEO update (full archive) has been placed at digitalbricks.org,
including 15 new parts and several fixes to recently reported errors.

Keep on using, testing and reporting.

Lutz

I discovered a couple of errors in the library:

lg_3647 & lg_3649:  Both of these generate a domain error on Line 15.  I suspect
that the acos formula is starting with a value not between -1 and 1.

Ok, in 3647 the lg_angle is obsolete.
in 3649 you can switch the numbers divided for a workaround.
#declare
lg_angle1=acos((0.3+LG_CORNER_SPACE)/(LG_BRICK_WIDTH/2-0.06-LG_CORNER_SPACE));


lg_32062:  Missing a semicolon at the end of one of the lines which says "   #declare ROT=0; "

I cannot find a missing semicolon in this file?
I have fixed an other error in this file recently (Oct 25th), maybe I fixed this
also and you do not have the latest version?


lg_4266:  This wheel position does match where it is in MLCAD.  It comes out
offset from the corresponding tyre (4267).  It can be corrected with a Z
translation of about 10 in POVRay.

as a workaround you can add
translate <LG_BRICK_WIDTH/2, 0, 0>
in lg_4266.inc at the end of the parts declaration (lines 584 and 1153, after
the rotate statements)

Thanks for reporting, the changes are implemented and will be in the next
update.

Lutz



Message has 1 Reply:
  Re: LGEO update
 
(...) Sorry, I was mixing up different files. The error in 32062 was that the declare for "32062_clear" said "32064_clear". Maybe you have already fixed it. The one with the missing semicolon is actually lg_4262. It is on line 493. (16 years ago, 24-Nov-08, to lugnet.cad)

Message is in Reply To:
  Re: LGEO update
 
(...) I discovered a couple of errors in the library: lg_3647 & lg_3649: Both of these generate a domain error on Line 15. I suspect that the acos formula is starting with a value not between -1 and 1. lg_32062: Missing a semicolon at the end of one (...) (16 years ago, 23-Nov-08, to lugnet.cad)

22 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