Share your Macros and Layouts

Become a member of the CGSociety

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

REPLY TO THREAD
 
Thread Tools Search this Thread Display Modes
Old 10 October 2004   #61
Originally Posted by Xacto: Where do you input the arguments?
In the command line.
__________________
http://render.cz/visualization/
 
Old 10 October 2004   #62
I think there should be a very useful script to toggle layout. I wrice in C, but don't know perl. I tried to write it, but I what would be the request for Modo to check what's the current layout?

I just want to create a layout with only 1 3d viewport, like clicking tab in photoshop.
Or maybe there's a better way to do it?
__________________
Michal (h4sh) Kriukow | bananapunk.com
 
Old 10 October 2004   #63
h4sh: Well, just like in LW just place your mouse cursor over a viewport and press 0 in the numpad.
__________________
Space for rent.
 
Old 10 October 2004   #64
h4sh:

You can try this:

Simply just create your custom layouts, and save them. Then after you switch to another layout, open the Command History, and assign a key to "restore layout blabla ...". You can map every layout to a hotkey. I think its useful this way.
 
Old 10 October 2004   #65
Originally Posted by Xacto: Where do you input the arguments?


On the command line. Generally what you'll do is die X, Y and Z alignment to seperate keys of buttons.
__________________
-Eric
 
Old 10 October 2004   #66
Originally Posted by Griffon: On the command line. Generally what you'll do is die X, Y and Z alignment to seperate keys of buttons.


I mapped this scipt to a button. I then select 4 points and hit the button, nothinig happens (me thinks) So when I look at the command history and select the script that was just produced and look at the "Fired names and Aruguments" I get "@"/Users/home/documents/modoScripts/alignToPoint.pl" Is this where you are suppose to edit?

My command line under all of this is blank untill I select something from the history.

Sorry, but I am lost. (slap me please)
 
Old 10 October 2004   #67
Super simple script, but oddly useful...

This is part of a larger script that I've been working on, it selects all of the active layers that you have.

#perl
#Select all active layers script
#Dion Burgoyne, Luxology LLC
#
@activelayer = lxq("query layerservice layers ? all");

foreach $layer (@activelayer)
{
lx("select.layer [$layer+1] add");
}
__________________
QA Manager
Luxology, LLC
 
Old 10 October 2004   #68
If you'd like to remove the join vertices pop-up requester for faster joining, adding "set" (" included) to the vert.join command does just that....
 
Old 10 October 2004   #69
anyone figure out a way to do an incrimental save like in lightwave? im not a programmer so i dont have any idea how to do it...
__________________
www.tombremer.com
 
Old 11 November 2004   #70
Originally Posted by Rigley: h4sh:

You can try this:

Simply just create your custom layouts, and save them. Then after you switch to another layout, open the Command History, and assign a key to "restore layout blabla ...". You can map every layout to a hotkey. I think its useful this way.

thanks, but i was thinking of toggle. you know just 1 key to switch layouts. very useful.

pressing 0 is not gonna work on 3d viewport. I wonder why. I want the FULL screen to be covered with the viewport, no menus at all.
__________________
Michal (h4sh) Kriukow | bananapunk.com
 
Old 11 November 2004   #71
Just build your layout with the "fullscreen" 3D Viewport & whatever other customizations you want, save it as a uniquely named layout ie: 3dFull - and then map the following command to a key *layout.restore "3dFull"* no asterisks and use the name you gave the layout. Unless I'm not quite grasping the whole of your issue - I read the whole thread a while ago, but don't remember the exact issue you were wanting to resolve, but hopefully that'll help.
 
Old 11 November 2004   #72
Thats' exactly what i want, but I need the toggle for it. So just like there is a script in Modod to toggle between wiref and no wire. I want to press a button once and the viewport would maximise. I want to press the same button again and it would come back to normal. It would work if I could map something like 'restore previous layout". I "previous" is not implemented in modo, then I need a script that:

-checks current layout,
-saves it to variable,
-if current layout=modo restore viewport fullscreen; else restore viewport modo

so, all the scripting people, how do I check the current layout in perl?
__________________
Michal (h4sh) Kriukow | bananapunk.com
 
Old 11 November 2004   #73
Is there a way to pass a filename with the scene.save or scene.saveAs to create an automatic save of a new file created by a script?

Bert
 
Old 11 November 2004   #74
pl. and poly by poly

Well i am very interested in the ways to modeling in modo and the workflow.

Is there any macro to do this?
I want to create a polygon and create other with the same vertices only pointer over one of the vertices

ihope the images show this better than my words

thanks to everybody and excuse my bad english

http://www.brilliant-creations.com/Timmy_avi.htm

pd its a great tutoby poly by poly modelling
 
Old 11 November 2004   #75
Vertex Extender

Originally Posted by deltare: I want to create a polygon and create other with the same vertices only pointer over one of the vertices

Hi, I may not understand your question well, this is a simple macro of extend the vertices, ideal for point by point modeling. Btw, why not just select the edges then press z?

With the desire vertices selected, apply the macro below:

#LXMacro#
select.convert "edge"
tool.set "edge.extend" "on"
tool.reset
tool.doApply
select.convert "vertex"
select.type "edge"
select.drop "edge"
select.type "vertex"
tool.set "xfrm.move" "on"
tool.reset
tool.doApply

Cheers
 
reply 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 12:04 AM.


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