To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.cad.dat.partsOpen lugnet.cad.dat.parts in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 CAD / LDraw Files / Parts / 4598
4597  |  4599
Subject: 
Re: Help needed with cond. lines
Newsgroups: 
lugnet.cad.dat.parts
Date: 
Sun, 6 Apr 2003 15:30:40 GMT
Viewed: 
4988 times
  
In lugnet.cad.dat.parts, Travis Cobbs writes:
> I've created another drawing to help illustrate my descriptions below.
> Please refer to it while reading below.  You can find it here:
> 
> The edge between the two ndis primitives is empty space.  Conditional lines
> should never be put in empty space.

ok

> However, my curve smoothing code only works when the conditional lines
> exactly match the edges of the shapes that need smoothing.  Since there are
> two triangles on the right of this conditional line and two quads on the
> left, the smoothing doesn't happen.  There has to be exactly one polygon on
> each side, with two points in common with the conditional line end points
> for any smoothing to occur.
> 
> What I did was split the one conditional line into two conditional lines.
> Since you had another conditional line that wasn't supposed to be there (the
> one between the two ndis primitives), I simply changed that one to handle
> the top portion, and changed the long one to just handle the bottom section.
> 
> <code removed>
> 
> There's nothing really wrong with what you have.  The problems you are
> seeing are caused by two different things.  If you turn primitive
> substitution off in LDView, you will see that the join between the
> half-cylinder and the other geometry becomes smooth

upps ... I was totally ignoring the primitive substitution in LDview, shame
on me :-(

> I think that the other problem you are referring to is the join between the
> regions shaped like the ndis primitive and the polygons behind them.  If you
> zoom in far enough, you will see that these are actually being smoothed.
> The problem is that the edge triangles in the ndis-shaped areas are too
> narrow to provide good looking smoothing.
> 
> You could probably decrease the effect by moving points around, but I'm not
> sure it is worth the effort, and I think it would require some
> experimentation.

> I hope this at least clears up your confusion, even if it doesn't actually
> solve the problem.

yepp ... I'll try to remodel the whole thing.

many thx, w.



Message is in Reply To:
  Re: Help needed with cond. lines
 
I've created another drawing to help illustrate my descriptions below. Please refer to it while reading below. You can find it here: (...) The edge between the two ndis primitives is empty space. Conditional lines should never be put in empty space. (...) (24 years ago, 3-Apr-03, to lugnet.cad.dat.parts)

9 Messages in This Thread:

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

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