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 / 1181
1180  |  1182
Subject: 
Re: Dimensions of the parts
Newsgroups: 
lugnet.cad.dev
Date: 
Mon, 12 Apr 1999 20:41:45 GMT
Viewed: 
745 times
  
Sproaticus wrote:

Anders Isaksson wrote:
- 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 work...)
- Easier: Scale the positions with 1.01 before doing the
  comparison. Should be feasible, and not too much math.
  No need for modified origins either.

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.

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...

- Just don't include equality (=) in your collision test! (?)
  BTW, what is the minimum increment you can move/turn a piece?

This seems to me to be the best idea.  Allow planes on the surface of the
pieces to share the same space, but not the interiors of the same pieces.

Hmmm, this strikes me a pretty cool way to do a basic "snap to" function... when
two surfaces are near to co-planar, the program could nudge them together so
that they are actually co-planar.  This would not work all the time, obviously,
and is probably too simplistic (I'm sure one would have to have all manner of
case handlers so that the routine was smart about it), but it might be cool for
basic brick stacking, especially when a given stack of bricks is rotated at an
odd angle.

--Karim



Message has 2 Replies:
  Re: Dimensions of the parts
 
(...) 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
 
(...) 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)

Message is in Reply To:
  Re: Dimensions of the parts
 
(...) 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)

14 Messages in This Thread:






Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact

This Message and its Replies on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

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