Need help regarding adding planar projection options to custom shelf

Become a member of the CGSociety

Connect, Share, and Learn with our Large Growing CG Art Community. It's Free!

THREAD CLOSED
 
Thread Tools Search this Thread Display Modes
Old 03 March 2013   #1
(solved) Need help regarding adding planar projection options to custom shelf

Hi guys-

I have a slight problem (and am curious in general) when trying to add a custom shelf button for planar projections.

I thought it would be a good idea to utilise the 'popup menu items' feature of the shelf editor, and add the x, y, z, and camera projections to the list. That way I could right click on the planar projection button, and select the appropriate projection from the drop down list.

The problem is- when I get the command for planar projection (in y axis for instance),

Quote: polyProjection -ch 1 -type Planar -ibd on -kir -md y ;


...it only works when I have the objects faces selected- it doesn't work when I just have the object selected. Which is weird as it works fine on objects through the current menus.

Anyway- if anyone knows how I can get the code working to planar project via object selection, without having to select faces, that would be great.

Cheers and looking forward to a reply,


edit: Solved. The working code is something like this...

Quote: ConvertSelectionToFaces; polyProjection -ch 1 -type Planar -ibd on -icx 0.5 -icy 0.5 -ra 0 -isu 1 -isv 1 -md x ;setToolTo ShowManips;

Last edited by Ekar : 03 March 2013 at 04:55 PM.
 
Old 03 March 2013   #2
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



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
CGSociety
Society of Digital Artists
www.cgsociety.org

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

All times are GMT. The time now is 02:58 PM.


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