Risbinroch
Prince
aaglo: you help is really appreciated here. Why didn't the clipped_by statement work well? Can't understand why the shape looks like that?
Originally posted by vbraun
Im getting the hang of this:
![]()
![]()
#declare insidet = difference{ box {
<0, 0, 0> // one corner position <X1 Y1 Z1>
< 10, 2, 2> // other corner position <X2 Y2 Z2>
}
// Capped Cylinder, closed [or open ended]
// cylinder { <END1>, <END2>, RADIUS [open] }
// END1 = coord of one end of cylinder
// END2 = coord of other end
// RADIUS = size of cylinder
// open = if present, cylinder is hollow, else capped
cylinder {
<1,1,-0.1>, <1,1,2.1>, .9
// open
}cylinder {
<9,1,-0.1>, <9,1,2.1>, .9
// open
}box {<1,.05,-1> <9,1.95, 3>} }
#declare outsidet = union{cylinder {
<1,1,-0.1>, <1,1,2.1>, 1
// open
}cylinder {
<9,1,-0.1>, <9,1,2.1>, 1
// open
}box {<1,0,-1> <9,2, 3>} }
#declare tread =
intersection{
object {outsidet}
object{insidet}
}
Originally posted by Random Observer
I like this program thanks to whoever posted the link earlier in the topic. BTW what do you think of my first non-tutorial work: