To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.cad.dat.parts.primitivesOpen lugnet.cad.dat.parts.primitives in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 CAD / LDraw Files / Parts / Primitives / 354
353  |  355
Subject: 
Re: Stud5 and type 5 lines at edge of cylinders.
Newsgroups: 
lugnet.cad.dat.parts.primitives
Date: 
Sun, 17 Aug 2003 19:26:35 GMT
Viewed: 
3456 times
  
In lugnet.cad.dat.parts.primitives, Travis Cobbs wrote:
In lugnet.cad.dat.parts.primitives, Don Heyse wrote:
In lugnet.cad.dat.parts.primitives, Mark Kennedy wrote:
I recently reworked the stud 5 primitive to make use of more quarter
cylinders.  I then noticed that when viewed there were edge lines
apearing where they shouldn't. If you look at the primitive from
various points you can see this occur.

Ahh, the dreaded S-curve cylinder join rears it's ugly head again.
I voted to ignore this a while back and gave my reasons.

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

Nobody disagreed at the time.

Is there a reason that the cylinder primitives haven't been updated to work like
the sphere primitive?  As long as there are type 5 lines on both ends of each
partial cylinder, and the control point out in space is tangent to the cylinder
instead of being at the next point on the cylinder approximation, the problem
goes away.

I don't think the S curve problem goes away.  The tangent control point
works perfectly for two (same radius) curves that both curl in the same
direction.  It also works perfectly for a curve joining a flat edge
along the tangent.

However it only reduces the problem (by half) for two curves joined
in an S shape.  However with your fix, the problem also approches
0 as the number of segments in the curve approaches infinity.  I think
it's good enough for low res curves when used for tiny geometry like
studs, and good enough with the higher resolution curves for larger
bits.

So if the primitives haven't been updated with the tangent control
points at the ends, they should be.

Any volunteers?

.  My vote

And mine.

would be to update the partial cylinder primitives.  Note that the partial
sphere primitive is already coded in this way; I'm not sure why the partial
cylinder primitives aren't.



Message has 1 Reply:
  Re: Stud5 and type 5 lines at edge of cylinders.
 
(...) Ok... I'm a bit lost is all this mess. I need to know where we stand on this issue. I have a Primitive Generator program written with Visual Basic available for people to download and use. If I have handled this incorrecly, I need to know so I (...) (21 years ago, 2-Oct-03, to lugnet.cad.dat.parts.primitives)

Message is in Reply To:
  Re: Stud5 and type 5 lines at edge of cylinders.
 
(...) Is there a reason that the cylinder primitives haven't been updated to work like the sphere primitive? As long as there are type 5 lines on both ends of each partial cylinder, and the control point out in space is tangent to the cylinder (...) (21 years ago, 17-Aug-03, to lugnet.cad.dat.parts.primitives)

10 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