Hi,
I have a littlie future request / suggestion.
Problem :
If I want to i.e. center object I have to do soemthing like :
#declare obj = union { ..... }
object { obj translate (max_extent(obj)-min_extent(obj))/2 }
So it would be useful to declare keyword 'this' :
object { obj translate (max_extent(this)-min_extent(this))/2 }
so 'this' is currently declared object, like :
union {
// 'this' is now an empty object
sphere { 0 1 } // 'this' is now an sphere
sphere { 0 5 } // 'this' is now an union of two spheres
box { 0, 1
// 'this' placed here - is only a box
}
// 'this' placed here - is union of 2 spheres an a box
}
--
Post a reply to this message
|