Mirror PolygonObjects
Hi all,
maybe you can profit from this script that mirrors the polygon childs attached to it.
Maybe I missed some feature of standard C3D but to my knowledge, there is no tool to mirror objects at a freely chosen plane. As I found this to be useful, I wrote a polygon script to perform the task.
-Three things to add:
1. I did not manage to transfer the materials to the mirrored objects. Maybe somebody knows how to do it.
2. It looks like the function Vec3D.dot does not work as described (costed me a lot of time): The function - as I experienced it - does not return a number as described in the help but a vector with all components equal?:evil:
3. A question that came up: Is there or why isn't there a possiblitity to fill a Math4D matrix in a "for loop"? As far as I understood you have to address all the elements (m00 ... ) explicitly in your code or write a special function - it is not an array but an object with 16 numbers declared as properties?:?:
Herbert
Hi all,
maybe you can profit from this script that mirrors the polygon childs attached to it.
Maybe I missed some feature of standard C3D but to my knowledge, there is no tool to mirror objects at a freely chosen plane. As I found this to be useful, I wrote a polygon script to perform the task.
-Three things to add:
1. I did not manage to transfer the materials to the mirrored objects. Maybe somebody knows how to do it.
2. It looks like the function Vec3D.dot does not work as described (costed me a lot of time): The function - as I experienced it - does not return a number as described in the help but a vector with all components equal?:evil:
3. A question that came up: Is there or why isn't there a possiblitity to fill a Math4D matrix in a "for loop"? As far as I understood you have to address all the elements (m00 ... ) explicitly in your code or write a special function - it is not an array but an object with 16 numbers declared as properties?:?:
Herbert