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 / 7170
7169  |  7171
Subject: 
Re: Type 5 lines at the edge of primitives
Newsgroups: 
lugnet.cad.dev
Date: 
Sun, 5 May 2002 06:27:47 GMT
Viewed: 
574 times
  
In lugnet.cad.dev, Travis Cobbs writes:
A good example of this is the sphere primitive.  The included type 5 lines
at the edge are ... well ... unique.  Look at
http://home.san.rr.com/tcobbs/LDView/test2.gif and
http://home.san.rr.com/tcobbs/LDView/test3.gif to see what I'm talking
about.  In these shots, a line is drawn from the first point of each type 5
line to its two control points.  (In addition, all type 5 lines are drawn,
not just the ones that should be.)

The problem is that they won't be drawn correctly if you (say) put 4 of
these together to form a hemishere.  (They'll be omitted from some angles
when they should have been there.)  On the other hand, if you set it up so
that a hemisphere works, then they'll be drawn when they're not supposed to
be if you put the hemisphere on top of a cylinder.

I'm not sure if I understand this properly - if the second "test" point is
down the line where the cylinder joint (between two rects) would be if it
was attached to a cylinder, won't that work? It'll mean the same line may
occasionally be displayed twice, but generally it'd be displayed by one or
the other hemisphere - if one misses it, the other would get it, wouldn't it?

Or am I totally missing the problem?

ROSCO



Message has 3 Replies:
  Re: Type 5 lines at the edge of primitives
 
(...) Hmm... Good point; I hadn't thought of that. But I'll have to check to be sure (it's hard to visualize). The way I currently have my sphere, the joins between the segments are always drawn either twice or not at all. If this does work, though, (...) (23 years ago, 5-May-02, to lugnet.cad.dev)
  Re: Type 5 lines at the edge of primitives
 
(...) Well, I did as you suggested, and it solved the problem without introducing any new ones. I was also able to then visualize why it worked on a continuing sphere once I had it working. --Travis Cobbs (tcobbs@REMOVE.halibut.com) (23 years ago, 5-May-02, to lugnet.cad.dev)
  Re: Type 5 lines at the edge of primitives  [DAT]
 
(...) Here is a model that demonstrates some of the problems with placing type 5 lines at the edge of the cylinder primitive. 0 1 16 0 0 0 10 0 0 0 10 0 0 0 10 1-4cyli.dat 1 16 0 0 20 10 0 0 0 10 0 0 0 0 -10 1-4cyli.dat 1 16 -20 0 20 10 0 0 0 10 0 0 (...) (23 years ago, 7-May-02, to lugnet.cad.dev)

Message is in Reply To:
  Type 5 lines at the edge of primitives
 
I'm not sure if this has been discussed before, but I discovered a problem with the use of type 5 lines at the edge of primitives. The basic problem is that there is no way for the primitive to know which direction any attached polygons are going to (...) (23 years ago, 4-May-02, to lugnet.cad.dev)

12 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