Register now or log in to join your professional community.
Honestly, I don't have enough clear information about the object and what do you want to do with it. But perhaps we can try an option in rotate command. We can use a relative rotation with some geometric calculator parameters like "PER" for perpendicular and "TAN" for tangential. I have tried using this option in rotate command to rotate a cone so its outer side is tangential to a particular plane. For information, I need to define a customized user coordinate system (ucs) first.
the Answer is.
Unless the cone will be scaled at some point, it's enough to add the height in the direction the cone is pointing to its position:
point pos:(newCone.pos + newCone.dir * newCone.height)Note that [0,0,0] will be normalized, it's actually the same as angleAxis60 -x_axis (which gives you more information without stopping to think what might that evaluate to
I am agree with Faizan Zakir.