Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Using python language in maya API: Create a function which a.Verifies that only two objects have been selected i. Assume whichever object is selected first

Using python language in maya API:

Create a function which

a.Verifies that only two objects have been selected

i. Assume whichever object is selected first is the reference object

ii. Hint: The command ls(selection=True) will return the objects as they were selected so the last one selected is the last one in the list

b. Using the outer object as the reference, create lines using the outer objects pivot and each of the outer objects vertices

c. Determine the intersection point of each line with the inner object

d. Place a new cube at centre of the intersection point

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

More Books

Students also viewed these Databases questions

Question

outline some of the current issues facing HR managers

Answered: 1 week ago