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 / 9082 (-40)
  Re: Proposed solution *Test Here*  [DAT]
 
(...) Yes. No. ;-) There's still a problem with mirrored sub-assemblies. Suppose you have an aeroplane, Plane.ldr: 1 2 0 0 0 0 0 1 0 1 0 -1 0 0 2445.DAT 1 16 0 -8 0 1 0 0 0 1 0 0 0 1 Wing.ldr 1 16 0 -8 0 -1 0 0 0 1 0 0 0 1 Wing.ldr Wing.ldr: 1 4 -80 (...) (21 years ago, 19-Jul-03, to lugnet.cad.dev)
 
  Re: Vertices not coplanar?
 
(...) Right, it is typically an error if the four points of a quad do not lie in a plane. Too bad that the LDraw format has a built-in possiblity of creating degenerate quads. POV e.g. uses 2D points to describe a polygon. See also "Method for (...) (21 years ago, 18-Jul-03, to lugnet.cad.dev)
 
  Re: Vertices not coplanar?
 
(...) What Orion said. (...) Sometimes, it just means the vertices are incorrect. If the vertices are correct, then you should break the quads into two triangles, and put a soft edge (linetype 5) along the common edge. But often, it's worth looking (...) (21 years ago, 18-Jul-03, to lugnet.cad.dev)
 
  Re: Vertices not coplanar?
 
(...) When a renderer goes to render a quad in 3D, it will almost always (perhaps always) first split the quad into two triangles. As long as the quad forms a planar surface, this will result in fairly equivalent results no matter which of the two (...) (21 years ago, 18-Jul-03, to lugnet.cad.dev)
 
  Re: Vertices not coplanar?
 
(...) If I remember my 3D theory correctly, these quads can mess up the normals associated with them. Also, noncoplaner quads cause small gaps in the part since they are, in essence, bent rectangles. Usually these gaps are too small to see, even (...) (21 years ago, 17-Jul-03, to lugnet.cad.dev)
 
  Vertices not coplanar?
 
What troubles do these warnings cause? I see no problems with the renderings, no matter what renderer I use. How do I correct them? By splitting all the quads into two triangles each I guess? If so, why not make a tool that splits them up? /Tore (21 years ago, 17-Jul-03, to lugnet.cad.dev)
 
  Re: Proposed solution *Test Here*
 
(...) Thanks for the info. After further consideration, I realized that there is one other thing that will prevent the -lgeo option from working properly, even for models that don't have mirrored sub-assemblies. Any parts in the part library that (...) (21 years ago, 11-Jul-03, to lugnet.cad.dev)
 
  Re: List of part numbers with descriptions???
 
(...) Ow!!! (just smacked self in head) Thanks! James (21 years ago, 11-Jul-03, to lugnet.cad.dev, FTX)
 
  Re: List of part numbers with descriptions???
 
(...) How about using the peeron master list? (URL) VW (21 years ago, 11-Jul-03, to lugnet.cad.dev)
 
  Re: List of part numbers with descriptions???
 
(...) You can use the parts.lst file in your LDRAW directory. All it is is a master list of all the part numbers/names in the PARTS folder sorted by number or description depending on how you ran MKLIST. --Orion (21 years ago, 11-Jul-03, to lugnet.cad.dev)
 
  List of part numbers with descriptions???
 
I'm still working on my back-burner program to make labels for storage drawers. Does anyone know of a (simple, Windows-based) way to get a list of the parts descriptions? Getting a list of all LDRAW part numbers is no sweat (dir *.dat /b ><filename> (...) (21 years ago, 11-Jul-03, to lugnet.cad.dev)
 
  Re: Proposed solution *Test Here*
 
(...) Two reasons I can think of: 1) Inventories: If you build a submodel using a Left Wing, and then mirror it, the inventory is going to show 2 left wings, when in reality there is 1 left wing and 1 right wing. 2) Instructions: Official LEGO (...) (21 years ago, 11-Jul-03, to lugnet.cad.dev)
 
  Re: Proposed solution *Test Here*
 
(...) That's good to hear. (...) Yeah. I was aware of that. The good news is that it should only be a problem in LGEO if you have mirrored sub-assemblies. Looking at the models I have downloaded over time, I discovered that most people don't do this (...) (21 years ago, 11-Jul-03, to lugnet.cad.dev)
 
  Re: Proposed solution *Test Here*
 
(...) I have tested your program against half a dozen files (including files with large mirrored sub-assemblies for wings and such) and the L3P generated renderings all showed the studs correctly. Well done. However, it doesn't work with -lgeo... (...) (21 years ago, 10-Jul-03, to lugnet.cad.dev)
 
  Re: Some secrets of MLCad revealed ...
 
(...) Yes, that makes sense. Hey, I did a little searching and found some references to "depth sprites" which seem to be supported in some of the latest graphics hardware. I haven't read it yet, but the pictures in this article seem to indicate that (...) (21 years ago, 9-Jul-03, to lugnet.cad.mlcad, lugnet.cad.dev)
 
  Re: Proposed solution *Test Here*
 
OK, I have created a command line program to un-mirror studs. It is called UnMirrorStuds, and version 0.1 is available from the following location: (URL) download it and give it a try, and let me know what you think. I'd like to have people process (...) (21 years ago, 9-Jul-03, to lugnet.cad.dev)
 
  Re: Another LDDP plugin question.
 
(...) After bit of searching during lunch hour for Delphi DLL memory corruption problems, I think I may have found it. This page: (URL) using _fpreset() to fixup the floating point state on return from Delphi DLLs and it seems to work. Must've been (...) (21 years ago, 8-Jul-03, to lugnet.cad.dev)
 
  Re: A Plea from a greenhorn (Re: WOULD YOU PLEASE...)
 
(...) I'm willing to accept this. I also like a reviewer technique (BrickCaster) of taking screen captures of the errors and posting them to the web. The pictures are actually more beneficial than dat code in learning how to screen for errors. I'd (...) (21 years ago, 8-Jul-03, to lugnet.cad.dev, FTX)
 
  Re: Another LDDP plugin question.
 
(...) Feel free to Email anything to me. I'm a LDDP developer and I just recently got Delphi 7 -Orion (21 years ago, 8-Jul-03, to lugnet.cad.dev)
 
  Re: Another LDDP plugin question.
 
(...) I'm not into sourceforge and I have no time to dig myself into it, but I can send my source to someone who is willing to try it in delphi 6. Niels (21 years ago, 8-Jul-03, to lugnet.cad.dev)
 
  Re: Another LDDP plugin question.
 
(...) Yeah, that's all I had to go on. I had the most trouble getting the exported function name decorations to match. Never did that before. Since all your DLLs seem to have the same symtom would you mind contributing the source for one (or more (...) (21 years ago, 8-Jul-03, to lugnet.cad.dev)
 
  Re: Another LDDP plugin question.
 
(...) For ldglite I've been emulating LEDIT, so that means the same position as the previous part, but unrotated. This works pretty well when you're building in LEDIT mode because it's right where you're working and it's easy to move it to someplace (...) (21 years ago, 8-Jul-03, to lugnet.cad.dev, FTX)
 
  Re: Another LDDP plugin question.
 
(...) What would the position and matrix be? I see two possibilities: Same position amd mtrix as previous part 0,0,0 and Indentity Matrix Of course we could add the ability for the user to choose between the two or input desired default position or (...) (21 years ago, 8-Jul-03, to lugnet.cad.dev, FTX)
 
  Re: A Plea from a greenhorn (Re: WOULD YOU PLEASE...)
 
(...) Ok, after this thread and some off Lugnet discussion, I've come to a firm opinion. I will refrain from ANY part modfications on non Official Library parts and then subsequent posting on the PT. I will modify parts and Email them to the authors (...) (21 years ago, 8-Jul-03, to lugnet.cad.dev, FTX)
 
  Re: Another LDDP plugin question.
 
I am using Delphi 3, which is (besides Delphi 1) the only version I've got. I haven't experienced writing DLLs before the LDDP plugins. The only info I had was the sample included with LDDP. Niels (21 years ago, 8-Jul-03, to lugnet.cad.dev)
 
  Re: Another LDDP plugin question.
 
(...) Ok I fixed the problem in the ldlist plugin and replaced the zip file. Turns out I had to use the WINAPI convention and add an alias to the .def file to make LDDP happy. I wonder if it's a similar calling convention problem with the track and (...) (21 years ago, 7-Jul-03, to lugnet.cad.dev)
 
  Re: Another LDDP plugin question.
 
(...) I think he might have mentioned an older version of Delphi. Anyhow, I suspect it may be an issue with Delphi vs gcc. I got my ldlist wrapper plugin working in ldglite, but it doesn't work in LDDP. I added some debugging and saw LDDP call (...) (21 years ago, 7-Jul-03, to lugnet.cad.dev)
 
  A Plea from a greenhorn (Re: WOULD YOU PLEASE...)
 
(...) I agree, it is a little frustrating. I'm still a fledgeling author, and I need to learn what I'm doing wrong. Having somebody come through and make these edits before I get a chance to look is not making me a better author. I need to be able (...) (21 years ago, 7-Jul-03, to lugnet.cad.dev, FTX)
 
  Re: Another LDDP plugin question.
 
(...) I have no idea what the problem could be unless Niel used an older version of the plugin code. This shouldn't be an issue with Delphi. --Orion P.S. All the current developers at the LDDP project are using Delphi 6 or higher. As far as what (...) (21 years ago, 7-Jul-03, to lugnet.cad.dev)
 
  Another LDDP plugin question.
 
I'm not sure what the problem is, but I'm running into memory problems with some of the LDDP plugins. I wonder if it's some sort of incompatibility with a particular version of Delphi used to build the plugins. Orion's plugins don't exhibit the (...) (21 years ago, 7-Jul-03, to lugnet.cad.dev)
 
  Re: WOULD YOU PLEASE...
 
(...) I agree that it affects every line in the part but my point is the triviality of the moving the part. If the origin is 1 LDU off of what it should be, it's fairly trivial to move it. -Orion (21 years ago, 7-Jul-03, to lugnet.cad.dev)
 
  Re: WOULD YOU PLEASE...
 
[crossposted to lugnet.cad.dev, with followup-to set there as well -- this thread isn't about posting LDR files to lugnet] (...) If anyone is not sure about the general rule/protocol/guidelines on this: for new parts (not fixes), you should *always* (...) (21 years ago, 6-Jul-03, to lugnet.cad.dat.parts, lugnet.cad.dev)
 
  LDDP plugin API suggestion.
 
(...) It looks like ldlist gets the LDRAW path from the LDRAWDIR environment variable, and this made me think about the LDDP plugin API. Doesn't it make sense to pass the LDRAW path to the plugin via an argument to the ProcessText() fn? This way the (...) (21 years ago, 5-Jul-03, to lugnet.cad.dev)
 
  Re: PARTS.LST searching. (Was: Re: Part Fix 3959 Space Gun)
 
(...) Heh, I already borrowed the idea of narrowing the search as you type from ldlist. I also already added drag and drop support from ldlist. But I need a better screen shot to show that in action. (URL) now that I think about it, I should (...) (21 years ago, 4-Jul-03, to lugnet.cad.dev)
 
  Re: PARTS.LST searching. (Was: Re: Part Fix 3959 Space Gun)
 
(...) LDList makes a partlist of it's own, and saves the keywords too. You can search for a part by AND-ing separate words, or exact quote. (URL) (Both .exe and Delphi source) You're free to use any ideas you can get from it. -- Anders Isaksson, (...) (21 years ago, 4-Jul-03, to lugnet.cad.dev)
 
  Re: Proposed solution for mirrored parts and studs
 
(...) I'll look into that. I thought it would be easier to reference the other file, but thinking about it again, I guess I should be able to multiply the mirror matrix by the stud matrix to get the correct final matrix anyway. (Or would that be (...) (21 years ago, 4-Jul-03, to lugnet.cad.dev)
 
  Re: Proposed solution for mirrored parts and studs
 
(...) As you write below you can open ANY file. If no studs are mirrored, then no action takes place. (...) In stead of referencing studmirr.dat, why not simply use a mirrored reference to stud.dat? (...) No, same code. (...) Right. (...) If all (...) (21 years ago, 4-Jul-03, to lugnet.cad.dev)
 
  Proposed solution for mirrored parts and studs
 
It's obvious that there is a lot of interest in the problem of mirrored studs, based on the volume of traffic in the ongoing thread. I have a proposed solution to the problem. My proposal is the creation of a small tool that automatically fixes a (...) (21 years ago, 3-Jul-03, to lugnet.cad.dev)
 
  Re: PARTS.LST searching. (Was: Re: Part Fix 3959 Space Gun)
 
(...) Actually, I looked a bit further in the mklist.c code and it will READ up to 200 chars of part description, but then it truncates down to 64 chars before writing the part file. Apparently this is to be compatible with the old MAKELIST.EXE and (...) (21 years ago, 3-Jul-03, to lugnet.cad.dev)
 
  Re: Mirrored parts and studs
 
(...) Ouch--painful use of Dave! Oh, well. I knew my solution wasn't perfect, but it solved the immediate problem (while admittedly creating others). I'll still probably use it in my blasphemous clone.dats, if it's all the same to you folks. (...) (...) (21 years ago, 3-Jul-03, to lugnet.cad.dev)


Next Page:  5 more | 10 more | 20 more | 40 more

Redisplay Messages:  All | Compact

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