CGTalk > Software > Autodesk Maya > Maya Programming
Login register
Thread Closed share thread « Previous Thread | Next Thread »  
Thread Tools Search this Thread Display Modes
Old 06-12-2007, 09:44 PM   #1
New Member
Matthew Radcliff
Washington, USA
Join Date: Feb 2007
Posts: 10
making polygons

It appears to me that when one creates a NURB object in MEL one can specify its location (via the pivot point flag, "-p"), yet one cannot do that with a polygon object. Does anybody know of a way to create a poly at a particular position?

Also, is there a flag to add endcaps to a polyCylinder?

Matt R
Old 06-13-2007, 12:41 AM   #2
grantimus's Avatar
Grant Heath
technical artist
iWorlds Simulations
Sandy, USA
Join Date: Apr 2002
Posts: 138
Send a message via AIM to grantimus Send a message via MSN to grantimus
If there is a way to position a polygonal object from the command you're using to create it, then it is undocumented. As far as I can tell, there is no way to position a polyCylinder using the polyCylinder command. But you could always do something like this:

string $cylinder[] = `polyCylinder`;
xform -ws -t xpos ypos zpos $cylinder[0];

or the one line version:

xform -ws -t xpos ypos zpos `polyCylinder`;

As for your question about cylinder end caps. Again if there is a way to do it, it's not documented.
Old 06-13-2007, 12:41 AM   #3
CGTalk Moderation
CGTalk Forum Leader
Join Date: Sep 2003
Posts: 1,066,478
Thread automatically closed

This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.
CGTalk Policy/Legalities
Note that as CGTalk Members, you agree to the terms and conditions of using this website.
Thread Closed share thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Society of Digital Artists

Powered by vBulletin
Copyright 2000 - 2006,
Jelsoft Enterprises Ltd.
Minimize Ads
Forum Jump

All times are GMT. The time now is 11:35 PM.

Powered by vBulletin
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.