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 / 1182
1181  |  1183
Subject: 
Re: Dimensions of the parts
Newsgroups: 
lugnet.cad.dev
Date: 
Mon, 12 Apr 1999 21:01:10 GMT
Reply-To: 
jsproat@geocitiesNOMORESPAM.com
Viewed: 
1031 times
  
Karim wrote:
Sproaticus wrote:
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...

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, just line and planar segments would be needed.

It's basic geometry to find a vector intersecting a pane segment's center
and perpindicular to that segment, then construct a congruent plane centered
on that vector and parallel to the original semgent.  The hardest part would
probably be in figuring the intersections of the different planes.  And
that's as far as my expertise takes me today.  :-,

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.

This would work really well if you could map a grid onto each plane on the
surface of piece A, then line up a corner of piece B to a point on one of
piece A's grid.  This wouldn't help for non-90-degree rotations, though...
Although the user could snap a piece to a grid point, then rotate...

What we need before that, though, is a Win32 / cross-platform / whatever
implementation of LEdit which we can expand upon.  :-P

Cheers,
- jsproat

--
Jeremy H. Sproat <jsproat@geocities.com>
http://www.geocities.com/SiliconValley/Horizon/5249/
"The world will not perish for want of wonders but for want of wonder"
-- British scientist J. B. S. Haldane (1892-1964)



Message has 1 Reply:
  Re: Dimensions of the parts
 
(...) 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 (...) (26 years ago, 12-Apr-99, to lugnet.cad.dev)

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