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 / 139
138  |  140
Special: 
[DAT] (requires LDraw-compatible viewer)
Subject: 
Re: Torus primitive discussion. was( Updated Primitive - 1-8t0102 1/8 torus)
Newsgroups: 
lugnet.cad.dat.parts.primitives
Date: 
Thu, 25 Jan 2001 03:04:35 GMT
Viewed: 
3172 times
  
Sorry about taking so long to reply to this message. I have been working on
trying to make a few of these torii mentioned below.

In lugnet.cad.dat.parts.primitives, Steve Bliss writes:
In lugnet.cad.dat.parts.primitives, Paul Easter wrote:

In lugnet.cad.dat.parts.primitives, Steve Bliss writes:

Also, would there be any need for a part
that would be 1/2 of each of these files? Or do we address this later?

1/2 in terms of sweeping 45-degrees of the major circle?  Or 1/2, in terms
of a smaller sweep of the tube?

Yes to the first, no to the second.

That is what I meant. :-)

I'm not sure what effect this would be, do we need to specify the torus'
tube(inner) radius if all the base part files will be 1 and scaled accordingly?

That might be a good idea.  It might mean we'd have to abandon the idea of
putting the radius in the p-file name, because we could end up with weird
radii.

It would also mean we could potentially get a number of p-files which are
hard to browse through, because they vary in size so much--think of trying
to view two files, one with radius 5, the other with radius 50.

Would it make more sense to hold the major radius to size 1, and vary the
size of the tube radius?  That would make all the different torii p-files
appear more standard, and might make it easier to figure out which file to
use for a specific application.

Looking at the two options (holding the major radius constant or holding
the tube radius constant), I don't think there's any difference in the
procedure of selecting a p-file for a specific application.  Holding the
major radius constant "seems" easier to me.

In either case, you'd have to figure out your specific major and tube
radii, find the ratio of the two, and select the p-file that models that
ratio.

So I think the best way to identify these files is to put the ratio in the
filename.  The ratio of major radius to tube radius can never be more than
1.0, so we don't have to worry about encoding both fractional numbers and
double-digit values.  I think if we encoded first 4 decimal digits of the
ratio, that should give us good results.  But it might not be exact.

If we worked with the method used for the rings and similar existing
primitives, I believe the parts will be used more. I'm sure people can get
used to a different format with time.

I tried the method of holding the major radius to 1 and adjusting the tube
radius. At first I didn't like this method, but I think I can live with it.

A sample file is attached to this message. Please give it a look.


Paul


0 1/4 Torus Tube  Inner  Major Radius 1  Tube Radius 0.3333
0 Filename: 4ti3333.dat
0 Author: Paul Easter's Torus generator spreadsheet
0 Unofficial Primitive
0
0 Rounding set to 4    6 lines over 80 char. limit
0 L3P IFNOTPOV
0
1 16 0.9875 0 0.0633 -0.3208 0.0127 0 0 0 0.3333 -0.0638 -0.0639 0 1-4cyls.dat
1 16 0.9875 0 0.0633 -0.3208 -0.0509 0 0 0 0.3333 -0.0638 0.2561 0 1-4cyli.dat
1 16 0.9366 0 0.3194 -0.3208 -0.0127 0 0 0 0.3333 -0.0638 0.0639 0 1-4cyls.dat
1 16 0.8881 0 0.4364 -0.272 0.0362 0 0 0 0.3333 -0.1817 -0.0542 0 1-4cyls.dat
1 16 0.8881 0 0.4364 -0.272 -0.1451 0 0 0 0.3333 -0.1817 0.2171 0 1-4cyli.dat
1 16 0.7431 0 0.6535 -0.272 -0.0362 0 0 0 0.3333 -0.1817 0.0542 0 1-4cyls.dat
1 16 0.6535 0 0.7431 -0.1817 0.0542 0 0 0 0.3333 -0.272 -0.0362 0 1-4cyls.dat
1 16 0.6535 0 0.7431 -0.1817 -0.2171 0 0 0 0.3333 -0.272 0.1451 0 1-4cyli.dat
1 16 0.4364 0 0.8881 -0.1817 -0.0542 0 0 0 0.3333 -0.272 0.0362 0 1-4cyls.dat
1 16 0.3194 0 0.9366 -0.0638 0.0639 0 0 0 0.3333 -0.3208 -0.0127 0 1-4cyls.dat
1 16 0.3194 0 0.9366 -0.0638 -0.2561 0 0 0 0.3333 -0.3208 0.0509 0 1-4cyli.dat
1 16 0.0633 0 0.9875 -0.0638 -0.0639 0 0 0 0.3333 -0.3208 0.0127 0 1-4cyls.dat
0
0 Conditional Lines
0
5 24 1 0.3333 0 0.8724 0.308 0 1 0.3333 -0.3827 0.9239 0.3333 0.3827
5 24 0.9239 0.3333 0.3827 0.806 0.308 0.3339 1 0.3333 0 0.7071 0.3333 0.7071
5 24 0.7071 0.3333 0.7071 0.6169 0.308 0.6169 0.9239 0.3333 0.3827 0.3827 0.3333 0.9239
5 24 0.3827 0.3333 0.9239 0.3339 0.308 0.806 0.7071 0.3333 0.7071 0 0.3333 1
5 24 0 0.3333 1 0 0.308 0.8724 0.3827 0.3333 0.9239 -0.3827 0.3333 1
5 24 0.8724 0.308 0 0.7643 0.2357 0 0.8724 0.308 -0.3339 0.806 0.308 0.3339
5 24 0.806 0.308 0.3339 0.7061 0.2357 0.2925 0.8724 0.308 0 0.6169 0.308 0.6169
5 24 0.6169 0.308 0.6169 0.5404 0.2357 0.5404 0.806 0.308 0.3339 0.3339 0.308 0.806
5 24 0.3339 0.308 0.806 0.2925 0.2357 0.7061 0.6169 0.308 0.6169 0 0.308 0.8724
5 24 0 0.308 0.8724 0 0.2357 0.7643 0.3339 0.308 0.806 -0.3339 0.308 0.8724
5 24 0.7643 0.2357 0 0.692 0.1276 0 0.7643 0.2357 -0.2925 0.7061 0.2357 0.2925
5 24 0.7061 0.2357 0.2925 0.6394 0.1276 0.2648 0.7643 0.2357 0 0.5404 0.2357 0.5404
5 24 0.5404 0.2357 0.5404 0.4893 0.1276 0.4893 0.7061 0.2357 0.2925 0.2925 0.2357 0.7061
5 24 0.2925 0.2357 0.7061 0.2648 0.1276 0.6394 0.5404 0.2357 0.5404 0 0.2357 0.7643
5 24 0 0.2357 0.7643 0 0.1276 0.692 0.2925 0.2357 0.7061 -0.2925 0.2357 0.7643
5 24 0.692 0.1276 0 0.6667 0 0 0.692 0.1276 -0.2648 0.6394 0.1276 0.2648
5 24 0.6394 0.1276 0.2648 0.6159 0 0.2551 0.692 0.1276 0 0.4893 0.1276 0.4893
5 24 0.4893 0.1276 0.4893 0.4714 0 0.4714 0.6394 0.1276 0.2648 0.2648 0.1276 0.6394
5 24 0.2648 0.1276 0.6394 0.2551 0 0.6159 0.4893 0.1276 0.4893 0 0.1276 0.692
5 24 0 0.1276 0.692 0 0 0.6667 0.2648 0.1276 0.6394 -0.2648 0.1276 0.692
0
0 L3P ELSEPOV
0      torus{1,0.3333 clipped_by{ box{<0,0,0>,<2,0.3337,2>}
0        cylinder{<0,0,0>,<0,1.3333,0>,1}}}
0 L3P ENDPOV
0 End of File
0



Message has 1 Reply:
  Re: Torus primitive discussion. was( Updated Primitive - 1-8t0102 1/8 torus)
 
Does anyone have anything to say or add about the torus primitives? I have a few parts in process that use parts of a torus that can be finished up once we decide on a format and file name structure. Any comments are welcome. Some of the parts can (...) (23 years ago, 9-Feb-01, to lugnet.cad.dat.parts.primitives)

Message is in Reply To:
  Re: Torus primitive discussion. was( Updated Primitive - 1-8t0102 1/8 torus)
 
(...) Because I was thinking that each section covered 90-degrees of the major circle. Otherwise, they'd be named 16t*0301.dat, since each is 1/16 of a complete torus. (I suppose they could be described as 1/8 of an inner (or outer) torus, but I (...) (23 years ago, 8-Jan-01, to lugnet.cad.dat.parts.primitives)

16 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