To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.cad.devOpen lugnet.cad.dev in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 CAD / Development / *16271 (-20)
  Re: number notation in official parts
 
(...) All float specifiers (e, E, f, g, G) are treated identically by the scanf functions. When scanning floats, they always recognize all float formats. One other thing about %g on output is that it automatically strips trailing zeros, which %f (...) (14 years ago, 12-Mar-10, to lugnet.cad.dev)
 
  Re: number notation in official parts
 
(...) Ahhh. I'd never heard of %g before now. I'm so used to %f and %e it had never occured to me that there might be a mixed option. Handy to know as I suspect it would be helpful in reading files of unknown format. I'm sure Delphi has some hideous (...) (14 years ago, 12-Mar-10, to lugnet.cad.dev)
 
  Re: number notation in official parts
 
(...) Actually, in C, %g does exactly this. Having said that, I think LDDP is a Delphi app, so it uses Pascal, and I don't remember how Pascal does formatting. --Travis (14 years ago, 12-Mar-10, to lugnet.cad.dev)
 
  Re: number notation in official parts
 
(...) I definitely know this. I see them far too much in my job as a numerical physicist ;) My point is that to write in mixed format (some %f and others %e) requires some strange coding unless there is a weird language which does it automatically. (...) (14 years ago, 12-Mar-10, to lugnet.cad.dev)
 
  Re: number notation in official parts
 
(...) Hmm, I thought I killed that "feature". I'll look into it as I find time to finish up LDDP 2.1 -Orion (14 years ago, 11-Mar-10, to lugnet.cad.dev)
 
  Re: number notation in official parts
 
(...) I mostly agree with this policy. (...) There is nothing strange in the routines, it is the standard format used to represent very large or very small numbers in a limited number of digits. Actually since values never get very large in LDraw (...) (14 years ago, 11-Mar-10, to lugnet.cad.dev)
 
  Re: number notation in official parts
 
(...) My suggestion would be to read numbers in that notation but never write them. I'm not sure why LDDP would write them that way (it would require some strange output routines) but if one thing writes them then it's best to read them. Tim (14 years ago, 11-Mar-10, to lugnet.cad.dev)
 
  Re: number notation in official parts
 
(...) I think it should be forbidden in official files as the benefit is very small and it is not good human readable. Benefit would be smaller filesize, as 0.0004 (6 characters) has more characters than 4E-4 (4 characters). Against could be 0.4 (3 (...) (14 years ago, 10-Mar-10, to lugnet.cad.dev)
 
  Re: number notation in official parts
 
(...) Such notation is not noted in any specs.. neither allowed or forbidden. At least, I can't find such. Maybe we should bring this up at LSC at some point? (FWIW I sent this in yesterday but it seems the server ate the message.. resending it) (...) (14 years ago, 9-Mar-10, to lugnet.cad.dev)
 
  Re: number notation in official parts
 
(...) Such notation is not noted in any specs.. neither allowed or forbidden. At least, I can't find such. Maybe we should bring this up at LSC at some point? -Santeri (14 years ago, 9-Mar-10, to lugnet.cad.dev)
 
  number notation in official parts
 
If I rotate a part in LDDP the result may look like this: 1 16 4E-15 4 -20 0 0 1 0 -1 0 -1 0 0 stud4.dat This can be read by LDView and MLCad as a valid number. Is such notation allowed in official parts? It is nowhere explicit allowed or (...) (14 years ago, 8-Mar-10, to lugnet.cad.dev)
 
  Re: 2010/2011 LDraw.org Steering Committee: Voting and results
 
(...) Yes, you are right! cu mikeheide (14 years ago, 3-Mar-10, to lugnet.cad.dev.org.ldraw, FTX)
 
  Re: 2010/2011 LDraw.org Steering Committee: Voting and results
 
(...) Actually, that says that the election must happen by 01 March, and new Steering Committee members become active 30 days later. So I guess 31 March is the official start date. --Travis (14 years ago, 2-Mar-10, to lugnet.cad.dev.org.ldraw, FTX)
 
  Re: 2010/2011 LDraw.org Steering Committee: Voting and results
 
(...) According to (URL) we start on 01.03.2010 IMHO. Congratulations to all of you. cu mikeheide (14 years ago, 2-Mar-10, to lugnet.cad.dev.org.ldraw, FTX)
 
  Re: 2010/2011 LDraw.org Steering Committee: Voting and results
 
(...) Thanks. When is the official start date? --Travis Cobbs (14 years ago, 2-Mar-10, to lugnet.cad.dev.org.ldraw, FTX)
 
  Re: 2010/2011 LDraw.org Steering Committee: Voting and results
 
(...) heh. (...) Congratulations to the new SteerCo. -Santeri (14 years ago, 2-Mar-10, to lugnet.cad.dev.org.ldraw, FTX)
 
  2010/2011 LDraw.org Steering Committee: Voting and results
 
As only (URL) five people have accepted> nomination for a position on the 2010/2011 LDraw SteerCo and the SteerCo only has five positions I think we can dispense with voting. The new LDraw SteerCo for 2010/2011 is thus: Kevin Clague, Travis Cobbs, (...) (14 years ago, 2-Mar-10, to lugnet.cad.dev.org.ldraw, lugnet.cad, FTX)
 
  Re: 2010/2011 LDraw.org Steering Committee: Call for Nominations
 
(...) Thanks for your confidence - I graciously accept. Chris (14 years ago, 25-Feb-10, to lugnet.cad, lugnet.cad.dev.org.ldraw)
 
  LDSwitch Sample #1: Do/Undo  [DAT]
 
Don't know if you prefer to make input here or at SourceForge, so I crosspost. Please give feedback where you like, here or at SF. Here's the first sample LDraw code snippet. Set the value of the variable Rev028_Changes to Do or Undo, run the (...) (14 years ago, 23-Feb-10, to lugnet.cad.dev)
 
  LDSwitch Project on SourceForge
 
(...) I've just registered myself and my first project at SourceForge: (URL) to join or just input! /Tore (14 years ago, 23-Feb-10, to lugnet.cad.dev)


Next Page:  5 more | 10 more | 20 more

Redisplay Messages:  All | Compact

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