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 / 4221
4220  |  4222
Special: 
[DAT] (requires LDraw-compatible viewer)
Subject: 
A discovery? and part 3475
Newsgroups: 
lugnet.cad.dat.parts, lugnet.cad.dev
Date: 
Tue, 28 Mar 2000 22:01:36 GMT
Viewed: 
130 times
  
I just threw this together, and while doing it I came up with a quite
easy way to create discs with holes, and cones.

Consider two edge.dat's same orientation, same position but with
different diameters. If one where to fill out the space between them,
one would have a disc with a hole in it.

To fill in the space between:

inline the two edge's, switch the points in each line of one of the
edges, copy and paste the coordinates from each line to the end of the
corresponding line in the other edge, and voila....

This is rather easy with ldraw-mode in Emacs, and would be even easier
if there was a function to switch the points.

I created the cones the same way, simply used the edge.dats for the
large cylinder and the "holed discs".

Well, here is what I call 3475.dat, it is not quite up to standards (
a few things missing) but it'll do. If anyone wants to finish it, go
ahead, take the credit, you have my permission, I have what I need:)

Regards
John

0 good title goes here
0 Name: 3475.dat
0 Author: John Jensen
0 Un-Official Element
0 based on Plate  1 x  2
0 unfinished or needs work
0 type 5 lines on cones missing
0 thingies inside cone missing

1 16 0 4 0 1 0 0 0 -1 0 0 0 1 stud3.dat

1 16 0 8 0 16 0 0 0 -4 0 0 0 6 box5.dat

4 16 20 8 10 16 8 6 -16 8 6 -20 8 10
4 16 -20 8 10 -16 8 6 -16 8 -6 -20 8 -10
4 16 -20 8 -10 -16 8 -6 16 8 -6 20 8 -10
4 16 20 8 -10 16 8 -6 16 8 6 20 8 10

1 16 0 8 0 20 0 0 0 -8 0 0 0 10 box5.dat

1 16 10 0 0 1 0 0 0 1 0 0 0 1 stud.dat
1 16 -10 0 0 1 0 0 0 1 0 0 0 1 stud.dat

0 gluing on the 'jets'

4 16 20 6 10 16 6 18 -16 6 18 -20 6 10
4 16 20 2 10 16 2 18 -16 2 18 -20 2 10
4 16 20 2 10 20 6 10 16 6 18 16 2 18
4 16 -20 6 10 -20 2 10 -16 2 18 -16 6 18

2 24 20 6 10 -20 6 10
2 24 20 2 10 -20 2 10
2 24 20 6 10 16 6 18
2 24 20 2 10 16 2 18
2 24 -20 6 10 -16 6 18
2 24 -20 2 10 -16 2 18
2 24 16 6 18 -16 6 18
2 24 16 2 18 -16 2 18
1 16 -16 4 30 0 32 0 0 0 12 12 0 0 4-4cyli.dat
1 16 -39 4 30 0 78 0 0 0 7 7 0 0 4-4cyli.dat
1 16 -16 4 30 0 1 0 12 0 -0.00 -0.00 0 -12 4-4edge.dat
1 16 16 4 30 0 1 0 12 0 -0.00 -0.00 0 -12 4-4edge.dat
1 16 -39 4 30 0 1 0 7 0 -0.00 -0.00 0 -7 4-4edge.dat
1 16 39 4 30 0 1 0 7 0 -0.00 -0.00 0 -7 4-4edge.dat
1 16 0 4 30 0 1 0 7 0 -0.00 -0.00 0 -7 4-4disc.dat
1 16 0 4 30 0 1 0 7 0 -0.00 -0.00 0 -7 4-4edge.dat
1 16 39 4 30 0 1 0 9 0 0 0 0 -9 4-4edge.dat
1 16 -39 4 30 0 1 0 9 0 0 0 0 -9 4-4edge.dat

4 16 39 11 30 39 10.47 27.32 39 12.32 26.56 39 13 30
4 16 39 10.47 27.32 39 8.95 25.05 39 10.36 23.64 39 12.32 26.56
4 16 39 8.95 25.05 39 6.68 23.53 39 7.44 21.68 39 10.36 23.64
4 16 39 6.68 23.53 39 4 23 39 4 21 39 7.44 21.68
4 16 39 4 23 39 1.32 23.53 39 0.56 21.68 39 4 21
4 16 39 1.32 23.53 39 -0.95 25.05 39 -2.36 23.64 39 0.56 21.68
4 16 39 -0.95 25.05 39 -2.47 27.32 39 -4.32 26.56 39 -2.36 23.64
4 16 39 -2.47 27.32 39 -3 30 39 -5 30 39 -4.32 26.56
4 16 39 -3 30 39 -2.47 32.68 39 -4.32 33.44 39 -5 30
4 16 39 -2.47 32.68 39 -0.95 34.95 39 -2.36 36.36 39 -4.32 33.44
4 16 39 -0.95 34.95 39 1.32 36.47 39 0.56 38.32 39 -2.36 36.36
4 16 39 1.32 36.47 39 4 37 39 4 39 39 0.56 38.32
4 16 39 4 37 39 6.68 36.47 39 7.44 38.32 39 4 39
4 16 39 6.68 36.47 39 8.95 34.95 39 10.36 36.36 39 7.44 38.32
4 16 39 8.95 34.95 39 10.47 32.68 39 12.32 33.44 39 10.36 36.36
4 16 39 10.47 32.68 39 11 30 39 13 30 39 12.32 33.44

4 16 -39 11 30 -39 10.47 27.32 -39 12.32 26.56 -39 13 30
4 16 -39 10.47 27.32 -39 8.95 25.05 -39 10.36 23.64 -39 12.32 26.56
4 16 -39 8.95 25.05 -39 6.68 23.53 -39 7.44 21.68 -39 10.36 23.64
4 16 -39 6.68 23.53 -39 4 23 -39 4 21 -39 7.44 21.68
4 16 -39 4 23 -39 1.32 23.53 -39 0.56 21.68 -39 4 21
4 16 -39 1.32 23.53 -39 -0.95 25.05 -39 -2.36 23.64 -39 0.56 21.68
4 16 -39 -0.95 25.05 -39 -2.47 27.32 -39 -4.32 26.56 -39 -2.36 23.64
4 16 -39 -2.47 27.32 -39 -3 30 -39 -5 30 -39 -4.32 26.56
4 16 -39 -3 30 -39 -2.47 32.68 -39 -4.32 33.44 -39 -5 30
4 16 -39 -2.47 32.68 -39 -0.95 34.95 -39 -2.36 36.36 -39 -4.32 33.44
4 16 -39 -0.95 34.95 -39 1.32 36.47 -39 0.56 38.32 -39 -2.36 36.36
4 16 -39 1.32 36.47 -39 4 37 -39 4 39 -39 0.56 38.32
4 16 -39 4 37 -39 6.68 36.47 -39 7.44 38.32 -39 4 39
4 16 -39 6.68 36.47 -39 8.95 34.95 -39 10.36 36.36 -39 7.44 38.32
4 16 -39 8.95 34.95 -39 10.47 32.68 -39 12.32 33.44 -39 10.36 36.36
4 16 -39 10.47 32.68 -39 11 30 -39 13 30 -39 12.32 33.44

4 16 -39 13 30 -39 12.32 26.56 -16 15.09 25.41 -16 16 30
4 16 -39 12.32 26.56 -39 10.36 23.64 -16 12.49 21.51 -16 15.09 25.41
4 16 -39 10.36 23.64 -39 7.44 21.68 -16 8.59 18.91 -16 12.49 21.51
4 16 -39 7.44 21.68 -39 4 21 -16 4 18 -16 8.59 18.91
4 16 -39 4 21 -39 0.56 21.68 -16 -0.59 18.91 -16 4 18
4 16 -39 0.56 21.68 -39 -2.36 23.64 -16 -4.49 21.51 -16 -0.59 18.91
4 16 -39 -2.36 23.64 -39 -4.32 26.56 -16 -7.09 25.41 -16 -4.49 21.51
4 16 -39 -4.32 26.56 -39 -5 30 -16 -8 30 -16 -7.09 25.41
4 16 -39 -5 30 -39 -4.32 33.44 -16 -7.09 34.59 -16 -8 30
4 16 -39 -4.32 33.44 -39 -2.36 36.36 -16 -4.49 38.49 -16 -7.09 34.59
4 16 -39 -2.36 36.36 -39 0.56 38.32 -16 -0.59 41.09 -16 -4.49 38.49
4 16 -39 0.56 38.32 -39 4 39 -16 4 42 -16 -0.59 41.09
4 16 -39 4 39 -39 7.44 38.32 -16 8.59 41.09 -16 4 42
4 16 -39 7.44 38.32 -39 10.36 36.36 -16 12.49 38.49 -16 8.59 41.09
4 16 -39 10.36 36.36 -39 12.32 33.44 -16 15.09 34.59 -16 12.49 38.49
4 16 -39 12.32 33.44 -39 13 30 -16 16 30 -16 15.09 34.59

4 16 39 13 30 39 12.32 26.56 16 15.09 25.41 16 16 30
4 16 39 12.32 26.56 39 10.36 23.64 16 12.49 21.51 16 15.09 25.41
4 16 39 10.36 23.64 39 7.44 21.68 16 8.59 18.91 16 12.49 21.51
4 16 39 7.44 21.68 39 4 21 16 4 18 16 8.59 18.91
4 16 39 4 21 39 0.56 21.68 16 -0.59 18.91 16 4 18
4 16 39 0.56 21.68 39 -2.36 23.64 16 -4.49 21.51 16 -0.59 18.91
4 16 39 -2.36 23.64 39 -4.32 26.56 16 -7.09 25.41 16 -4.49 21.51
4 16 39 -4.32 26.56 39 -5 30 16 -8 30 16 -7.09 25.41
4 16 39 -5 30 39 -4.32 33.44 16 -7.09 34.59 16 -8 30
4 16 39 -4.32 33.44 39 -2.36 36.36 16 -4.49 38.49 16 -7.09 34.59
4 16 39 -2.36 36.36 39 0.56 38.32 16 -0.59 41.09 16 -4.49 38.49
4 16 39 0.56 38.32 39 4 39 16 4 42 16 -0.59 41.09
4 16 39 4 39 39 7.44 38.32 16 8.59 41.09 16 4 42
4 16 39 7.44 38.32 39 10.36 36.36 16 12.49 38.49 16 8.59 41.09
4 16 39 10.36 36.36 39 12.32 33.44 16 15.09 34.59 16 12.49 38.49
4 16 39 12.32 33.44 39 13 30 16 16 30 16 15.09 34.59
0 END



Message has 5 Replies:
  Re: A discovery? and part 3475
 
Perhaps that'll teach me to take a better look at the numbers... Regards John (25 years ago, 28-Mar-00, to lugnet.cad.dev)
  Re: A discovery? and part 3475
 
(...) I've done a similar thing myself a few times to generate a cone (and similar things), and I've been thinking about making a function in LDraw-mode to make the process easier. But I failed to see how to formalize the procedure, so I suspended (...) (25 years ago, 28-Mar-00, to lugnet.cad.dat.parts, lugnet.cad.dev)
  Re: A discovery? and part 3475
 
(...) [snipped description and part-file] Yep, this is how I usually build curved stuff - use primitives to get the correct points, inline them and move the points around as necessary. In this particular case (a full circular ring), a way to avoid (...) (25 years ago, 28-Mar-00, to lugnet.cad.dev)
  Re: A discovery? and part 3475
 
John Jensen <skurt@vip.cybercity.dk> wrote in message news:18a2esk6si8dbum...4ax.com... (...) Why not just use the ring and cone primitives? Used in combinations, you can create just about any size ring or cone from these primitives, and they show (...) (25 years ago, 28-Mar-00, to lugnet.cad.dat.parts, lugnet.cad.dev)
  Re: A discovery? and part 3475
 
(...) I have made a function in LDraw-mode which does this. In your example, you would put the cursor on the first type-2 line in the first edge, set the mark (C-SPC) move down to the first type-2 line in the second curve and hit C-c C-f. Voila. The (...) (25 years ago, 2-Apr-00, to lugnet.cad.dat.parts, lugnet.cad.dev)

11 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