ابدأ بالتواصل مع الأشخاص وتبادل معارفك المهنية

أنشئ حسابًا أو سجّل الدخول للانضمام إلى مجتمعك المهني.

متابعة

I'm creating an object and rotating it, but I need to know the location of the other side of this cone object after rotation. Can anyone help?

user-image
تم إضافة السؤال من قبل Muhammad Shakeel , CAD Design Manager , M/S zeeruk Intl.
تاريخ النشر: 2015/04/12
Armanadi Ermanadi
من قبل Armanadi Ermanadi , Quality Assurance/Quality Control (Mechanical and Electrical) , PT Jaya Obayashi

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.

Faizan Zakir Malik
من قبل Faizan Zakir Malik , CAD Designer , Royal Commission Yanbu

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

Syed Shan Haider
من قبل Syed Shan Haider , Senior Draftsman , Al Marwan General Contracting Company

I am agree with Faizan Zakir.