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 / 8944
8943  |  8945
Subject: 
Re: How exactly DO I code optional lines, anyway?
Newsgroups: 
lugnet.cad.dev
Date: 
Wed, 21 May 2003 21:10:05 GMT
Viewed: 
931 times
  
In lugnet.cad.dev, Lance Hopenwasser writes:
In reading past posts, it seems that putting in optional lines is
encouraged, but I have not been able to find any information on the proper
way of using them.

First, clearly I use them on outside curves, but I was not able to determine
definitively if they should be used on inside curves.

Yes.  They're needed to render transparent parts correctly.

  http://news.lugnet.com/cad/dev/?n=7584

Plus, they're useful for the curve smoothing algorithm in LDview and
perhaps other programs.

Second, I have not been able to find any info on how to determine what the
third and fourth points are supposed to be.  From looking at a number of
models, usually these points are set to one point in each of the adjacent
quads/triangles from one of the endpoints of the line.  But this does not
always seem to be the case.  Sometimes the points are in the same plane as
the endpoint, but sometimes not.  Sometimes the two points seem to be
totally unrelated and are halfway across the world from the optional line.
Any guidance in this would be most appreciated!  (This might be a really
good topic for one of those tutorials).

It's often easiest to place the 3rd and 4th points on the corner of
an adjacent polygon, and it serves the purpose in most cases.  The
distance to the point doesn't matter at all, only the direction.
The really odd looking optional lines are usually positioned to make
the transition from one circular primitive to another happen smoothly.
These optional lines at the edges of the primitives split the
difference between the two primitives.

  http://news.lugnet.com/cad/dev/?n=7169&t=i&v=a

Hope that helps.

Don



Message is in Reply To:
  How exactly DO I code optional lines, anyway?
 
In reading past posts, it seems that putting in optional lines is encouraged, but I have not been able to find any information on the proper way of using them. First, clearly I use them on outside curves, but I was not able to determine definitively (...) (21 years ago, 21-May-03, to lugnet.cad.dev)

4 Messages in This Thread:



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

Custom Search

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