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 / *41560 (-20)
  Re: Conversion file for ldraw to ldd
 
(...) I also fixed these. First 2 I just had to fix placement, 3rd one I created a “transformation” and “brick ldraw” lines, the 4th I only had to add the “transformation” line, you all ready had the “brick ldraw” line. But 3069b and 3068b I could (...) (18 years ago, 7-Apr-07, to lugnet.cad.ldd)
 
  Re: how does a line ends?
 
(...) Yes, sorry that my post sounded overly defensive. I have something of a chip on my shoulder from years of working alongside programmers who want to take shortcuts at the expense of their users. Very few seem to appreciate that it is worth a (...) (18 years ago, 7-Apr-07, to lugnet.cad, FTX)
 
  Re: Conversion file for ldraw to ldd
 
(...) Me too to some degree. (...) I believe the system may be (incorrectly) case sensitive when reading LDraw files. Perhaps add b and B options. It's also possible this particular aspect is not yet programmed completely. Furthermore when (...) (18 years ago, 7-Apr-07, to lugnet.cad.ldd)
 
  Re: Conversion file for ldraw to ldd
 
(...) I have been trying to correct some of the errors when exporting from LDD > LDR, and not being a programmer I have come to a dead end. I have been able to correct some of the parts that would show up but not in the correct location or rotation. (...) (18 years ago, 7-Apr-07, to lugnet.cad.ldd)
 
  Re: Inverse matrix?
 
(...) The inverse of <1,0,0,0,1,0,0,0,1,0,0,0> is itself. To compute the inverse of a general 3x3 matrix (essentially what you need to do) is rather complicated. You could do it in a macro using Gaussian elimination [1]. Tim [1] (URL) (18 years ago, 7-Apr-07, to lugnet.cad.ray, lugnet.cad)
 
  Re: how does a line ends?
 
(...) OK, as promised, here it my fgets replacement: char *myFgets(char *buf, int bufSize, FILE *file) int i; for (i = 0; i < bufSize - 1; i++) int char1 = fgetc(file); if (feof(file)) bufi = 0; if (i > 0) return buf; else return NULL; if (char1 == (...) (18 years ago, 7-Apr-07, to lugnet.cad, FTX)
 
  Inverse matrix?
 
Does anyone know how to generate an inverse matrix. By inverse I mean it will undo the rotation of the original matrix. I thought the inverse of <1,0,0,0,1,0,0,0,1,0,0,0> was <-1,0,0,0,-1,0,0,0,-1,0,0,0>. In other words, multiply every value by -1. (...) (18 years ago, 7-Apr-07, to lugnet.cad.ray, lugnet.cad)
 
  Re: how does a line ends?
 
(...) You'll note that I didn't really say that there was anything wrong with your parsing routine (other than some personaly negative feelings about fgetc and ungetc). After fixing the bugs, it will do exactly what you say it will do. It's just (...) (18 years ago, 7-Apr-07, to lugnet.cad, FTX)
 
  Re: how does a line end?
 
(...) Aaah, that's one of my most common mistakes. C is the third letter, so I think of it as 13 and not 12. (...) At last, someone agrees with me. :) There will still be a theoretical risk that problems will occur, "anything that can go wrong will (...) (18 years ago, 7-Apr-07, to lugnet.cad)
 
  Re: how does a line end?
 
Tore Eriksson schrieb: (...) After read all this and also after I have had a look at (URL) I think that Tore is right by saying "read all and save secure". Do avoid for future discussions this should be mentioned also in the LDraw Specification. (...) (18 years ago, 7-Apr-07, to lugnet.cad)
 
  Re: Save the 10183 trains!
 
(...) I must be missing something here--I mean you can go out and buy a really cheap Windows machine or a Mac mini that will run LDD. Money is obviously not a problem--since you state that 5 sets is just a "fair amount of money". To me that is a (...) (18 years ago, 7-Apr-07, to lugnet.trains, lugnet.cad.ldd)
 
  Re: how does a line end?
 
(...) Slight correction - "0x0D 0x0A" And this is kind of my point. The string you pass to printf() has \n only, which is only one byte. Offhand I don't remember if this is because of the Borland libraries, the operating system, or the fact that (...) (18 years ago, 7-Apr-07, to lugnet.cad, FTX)
 
  Re: how does a line end?
 
(...) (For some unknown reason, all my backslashes disappeared in previous message.) /Tore (18 years ago, 7-Apr-07, to lugnet.cad)
 
  Re: how does a line end?
 
(...) 1. I always use alt. b. "printf("Hello, world!n");" But as a self-made hobby programmer not knowing all the tweeks and geeks, I wouldn't be surprised if the interpretation of this may vary from one IDE to another, or if there is an .ini file (...) (18 years ago, 7-Apr-07, to lugnet.cad, FTX)
 
  Re: Save the 10183 trains!
 
(...) Hi Chris, (...) I believe quite a few people have managed to get LDD running under WINE. Since the code was most likely designed from the ground up to work on PCs and Macs it might be emulatable than older versions. --snip-- Tim (18 years ago, 7-Apr-07, to lugnet.trains, lugnet.cad.ldd)
 
  Re: how does a line ends?
 
(...) I've been writing text parsing programs for over 20 years, and have found that the approach I've suggested works very well at detecting line ends in a consistent manner. Counting lines in a file by this method agrees with every compiler and (...) (18 years ago, 7-Apr-07, to lugnet.cad, FTX)
 
  Re: how does a line ends?
 
Travis Cobbs schrieb: (...) It seems that all of you are programming in C. As I am always programming in VB it is much work to implement a new 'Line Input' as VB assume a CRLF at the end of each line. I have just run a little prog against the parts (...) (18 years ago, 7-Apr-07, to lugnet.cad)
 
  Re: Save the 10183 trains!
 
(...) Unfortunately, that won't work for me. My computer (typing on it now) is running 64 bit Ubuntu Linux. I've managed to get MLCad and TrackDesigner running under 32 bit Wine (Windows emulator), since 64 bit Linux is happy to run 32 bit programs. (...) (18 years ago, 7-Apr-07, to lugnet.trains, lugnet.cad.ldd)
 
  Re: how does a line ends?
 
(...) I don't fully agree with this. In the nearly seven years since I released LDView 0.1, I've never once run into an LDraw file that LDView couldn't handle due to line terminations, and it requires the newline character to be present at the end (...) (18 years ago, 7-Apr-07, to lugnet.cad, FTX)
 
  Re: how does a line ends?
 
(...) There was some discussion about this issue recently. Unfortunately, this is not the kind of problem that can be solved by tightening up the spec. The problem is that people use different text editors on different operating systems to create (...) (18 years ago, 6-Apr-07, to lugnet.cad, FTX)


Next Page:  5 more | 10 more | 20 more

Redisplay Messages:  All | Compact

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