To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
To LUGNET News Traffic PageSign In (Members)
  *546616 (-20)
  Re: how does a line ends?
 
(...) I timed the file reading/parsing portion of the model load. It would have been more difficult to time the actual amount of time spent inside fgets/myFgets, so realistically it's likely that myFgets is even slower in comparison to fgets. The (...) (19 years ago, 7-Apr-07, to lugnet.cad, FTX)
 
  Re: Inverse matrix?
 
(...) There really is no easy way to do it. Feel free to look at TCVector::invertMatrix in the LDView code if you want to see code that does it on a 4x4 matrix. To convert a 3x3 matrix into a 4x4 matrix, put the 3x3 in the top left, put a 1 in the (...) (19 years ago, 7-Apr-07, to lugnet.cad.ray, lugnet.cad)
 
  NEW VERSION! Re: Conversion file for ldraw to ldd
 
(...) Mike Gallagher has very kindly uploaded his improved version of ldraw.xml to (URL) I recommend using it. Tim (19 years ago, 7-Apr-07, to lugnet.cad.ldd)
 
  Re: Conversion file for ldraw to ldd
 
(...) I will do that. Thanks for all the help and the ldraw.xml file. I loaded mine as it is today. I have a bunch more I need to do and I should have those done by Tuesday or so. I made this version 1.01a for starters and will keep most up to date (...) (19 years ago, 7-Apr-07, to lugnet.cad.ldd)
 
  Re: how does a line ends?
 
(...) That was quick! Thanks for taking the time to indulge me... (...) It is interesting that it was that much time difference. Are these the total load times, or just profiling of the time spent inside the fgets() routines? I see one or two things (...) (19 years ago, 7-Apr-07, to lugnet.cad, FTX)
 
  peeron inventory
 
232-1: Bungalow: 3742 plant flower - red and white are 16 each 685px1 yellow mixifig head with face should be 685 px4 Maxifig Head with Face with Eyebrows Pattern 69c01 blue tap 1x2 assembly is with the silver spout (19 years ago, 7-Apr-07, to lugnet.inv)
 
  Re: Conversion file for ldraw to ldd
 
--snip-- (...) Hi Mike, It's my understanding [1] that we're allowed to post our own Ldraw.xml files so perhaps you could upload yours to Brickshelf. That way people can be sure that they've got the fixes right and the XML file can grow with fixes (...) (19 years ago, 7-Apr-07, to lugnet.cad.ldd)
 
  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 (...) (19 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 (...) (19 years ago, 7-Apr-07, to lugnet.cad, FTX)
 
  peeron inventory
 
Fre Apr 7 8849-1: Tractor: 3460 red plate 1x8, (was in my box which I bought and maintained, but it is not on the instuctions.) 3713 oldgray technic bush 26 not 25 4265a oldgray technic bush 1/2 type 1, 7 not 5 4274 oldgray technic pin 1/2, 6 not 4 (...) (19 years ago, 7-Apr-07, to lugnet.inv)
 
  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 (...) (19 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. (...) (19 years ago, 7-Apr-07, to lugnet.cad.ldd)
 
  Re: Toronto Toy, Train and Doll Collectors' Show - April 22
 
(...) I'm in. Will bring a few things, but probably not much. See you guys soon! J (19 years ago, 7-Apr-07, to lugnet.loc.ca.on)
 
  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) (19 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 == (...) (19 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. (...) (19 years ago, 7-Apr-07, to lugnet.cad.ray, lugnet.cad)
 
  buona Pasqua
 
Ciao a tutti e buona Pasqua alessandro (19 years ago, 7-Apr-07, to lugnet.org.it.itlug)
 
  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 (...) (19 years ago, 7-Apr-07, to lugnet.cad, FTX)
 
  Re: A sad day for BIP?
 
It might be worth getting in touch With No Starch to get them to alter the link on their site (URL) put the book page back up again Tim (19 years ago, 7-Apr-07, to lugnet.inst, lugnet.general, lugnet.publish)
 
  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 (...) (19 years ago, 7-Apr-07, to lugnet.cad)

Skipped 3 messages in group lugnet.admin.statistics (Skip-filter settings)


Next Page:  5 more | 10 more | 20 more

Redisplay Messages:  All | Compact

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