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 / 1163
    Dimensions of the parts —Leonardo Zide
    Hi, I've been trying to add collision detection to LeoCAD but I'm stuck with a problem and would like to know if anyone has a good solution. Take for example 2 1x1 bricks and position them side by side, they will always be touching each other (...) (25 years ago, 12-Apr-99, to lugnet.cad.dev)
   
        Re: Dimensions of the parts —John VanZwieten
     Have the program transform all parts to 99.99% of their actual size. (Just a random suggestion :-) -John Van Leonardo Zide wrote in message <3711E2FA.17EB08D@ce...com.br>... (...) (25 years ago, 12-Apr-99, to lugnet.cad.dev)
    
         Re: Dimensions of the parts —Leonardo Zide
     (...) That doesn't work because if you have for example 2 1x1 bricks above each other, you would change the diameter of the stud and the hole in the brick by the same amount. Leonardo (25 years ago, 13-Apr-99, to lugnet.cad.dev)
   
        Re: Dimensions of the parts —Anders Isaksson
   Leonardo Zide skrev i meddelandet <3711E2FA.17EB08D@ce...com.br>... (...) to (...) - Scale the piece dimensions by 0.9 or something like that for comparisons - remember to use a _central_ point as origin for the scaling (hmm, sounds like heavy (...) (25 years ago, 12-Apr-99, to lugnet.cad.dev)
   
        Re: Dimensions of the parts —Jeremy H. Sproat
     (...) These only work for convex pieces. The hollow areas in a concave piece would not be handled properly, since at least one wall would actually move *closer* to the other piece. For example, consider a clip. If you scale its position by 1.01, the (...) (25 years ago, 12-Apr-99, to lugnet.cad.dev)
    
         Re: Dimensions of the parts —Anders Isaksson
      Sproaticus skrev i meddelandet <371256D6.4EEC8895@g...es.com>... (...) Yup, you caught me there... I'm mostly thinking in the BlockCAD universe, where the pieces _must_ be convex. (...) located on (...) But I should have thought of this anyhow :-( (...) (25 years ago, 12-Apr-99, to lugnet.cad.dev)
    
         Re: Dimensions of the parts —Karim Nassar
       (...) This is the issue I was trying to describe a while back concerning a hypothetical "Copy Parallel Surface" tool... I never was able to put it so concisely... (...) Hmmm, this strikes me a pretty cool way to do a basic "snap to" function... (...) (25 years ago, 12-Apr-99, to lugnet.cad.dev)
     
          Re: Dimensions of the parts —Jeremy H. Sproat
       (...) I know the function you want; I've used it on InterGraph workstations in my high school job. It knew how to handle stright lines as well as arcs and other elliptical segments, as well as Bezier loops and other exotic stuff. For LDraw purposes, (...) (25 years ago, 12-Apr-99, to lugnet.cad.dev)
      
           Re: Dimensions of the parts —Karim Nassar
        (...) Yep, In fact, Microstation is what I used at work also. (...) That's basically what I was trying to get across. I also had the same conclusion about the difficulties. (...) Hmmm, Yes, It would be nice to be able to "rotate" the coordinate (...) (25 years ago, 12-Apr-99, to lugnet.cad.dev)
      
           Re: Dimensions of the parts —Jeremy H. Sproat
       (...) Kinda hard to use AutoCAD after MicroStation, neh? ;-) I would rather use MicroStation on a Berkeley / UNIX Sys-5 box with a VAX in the network for mass storage (1) than a comparable version of AutoCAD on a PC any day. (...) This is kind of (...) (25 years ago, 12-Apr-99, to lugnet.cad.dev)
     
          Re: Dimensions of the parts —Leonardo Zide
      (...) That's a good idea, maybe I'll add it too ! You could also add another function to align the pieces. Leonardo (25 years ago, 13-Apr-99, to lugnet.cad.dev)
    
         Re: Dimensions of the parts —Leonardo Zide
     (...) But how can the program know if a face from a piece is inside another piece ? I've been only testing for intersections between faces. Leonardo (25 years ago, 13-Apr-99, to lugnet.cad.dev)
    
         Re: Dimensions of the parts —Anders Isaksson
     Leonardo Zide skrev i meddelandet <3712B018.76665708@c...com.br>... (...) another (...) If any two corners of a (planar) face, from one brick, is on opposite sides of a (planar) face of the other brick, they must be intersecting (not completely (...) (25 years ago, 13-Apr-99, to lugnet.cad.dev)
   
        Re: Dimensions of the parts —Leonardo Zide
   (...) If you turn snapping off, it's 0.01 cm or 1 degree but you can set any value using a dialog box. Leonardo (25 years ago, 13-Apr-99, to lugnet.cad.dev)
 

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