Subject:
|
Re: Circular Primitives
|
Newsgroups:
|
lugnet.cad
|
Date:
|
Mon, 9 Apr 2001 15:09:38 GMT
|
Viewed:
|
439 times
|
| |
| |
In lugnet.cad, John Kennedy wrote:
> hi,
>
> I have been using mlcad for just over two months, so i'm not fully clued up
> yet. I need to make a part which is a wide diameter cylinder. I have managed
> to do so by creating a 24 sided polygon and extruding it. However due to its
> size, the straight sides are plainly visible. Is there any way to produce a
> 'pure' circle and then extrude it, or to create a cylinder in one go?
You can try using the 48-segment primitives in the ldraw/p/48 directory.
The cylinder primitive is 1-4cyli.dat. The easiest way to code this up is
in a text editor, but you should be able to do it through MLCAD as well.
The code to make a complete cylinder is:
1 16 0 0 0 R 0 0 0 H 0 0 0 R 48\1-4cyli.dat
1 16 0 0 0 0 0 R 0 H 0 -R 0 0 48\1-4cyli.dat
1 16 0 0 0 -R 0 0 0 H 0 0 0 -R 48\1-4cyli.dat
1 16 0 0 0 0 0 -R 0 H 0 R 0 0 48\1-4cyli.dat
Where R is the radius of the cylinder, and H is the height.
Steve
|
|
Message has 1 Reply: | | Re: Circular Primitives
|
| (...) Thanks for that, i managed to do that and it looks a lot better. Just one more thing for now, I take it that to make ends for the 'tube' I use '1-4disc.dat' but how do i manipulate it, whenever I change any values it goes haywire. I'd be (...) (24 years ago, 9-Apr-01, to lugnet.cad)
|
Message is in Reply To:
| | Circular Primitives
|
| hi, I have been using mlcad for just over two months, so i'm not fully clued up yet. I need to make a part which is a wide diameter cylinder. I have managed to do so by creating a 24 sided polygon and extruding it. However due to its size, the (...) (24 years ago, 7-Apr-01, to lugnet.cad)
|
4 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
|
|
|
|