Love this game.
I found a link to all the different rule pdf’s on “Rio Grande“‘ website here:
List of set i have:
Carcassonne
Carcassonne: River I – (There arn’t really any different rules to this)
Carcassonne: River II
Carcassonne Inns & Cathedrals
Carcassonne Traders & Builders - (I still don’t quite understand the rules for this)
Carcassonne The Princess & The Dragon
I found this really useful, to get the answers from that i want.
10 Simple Google Search Tricks
I love the examples on these pages, but i keep losing the links:
pleac_python
I have been using the commands module for quite some time, purely because it is simple to use.
Now that i have to go to writing code to work on windows, its time to start using the suproccess module. Also to make it easier for the other hard core programmers i will be working with to read my code.
Using the commands module to get the output of a command:
import commands
output = commands.getoutput('ls -lah /home/')
outputList = output.split('\n')
print outputList
["kym.watts","guest"]
The command that is run by Popen, needs to be supplied to the command as a list, no spaces.
Using subproccess command:
import subproces
output = subprocess.Popen(["ls","-lah","/home/"], stdout=subprocess.PIPE).communicate()[0]
outputList = output.split('\n')
print outputList
["kym.watts","guest"]
Im pretty sure that in a few months time i will have forgotten about this way of working.
MentalImages
Awesome, Mental images have released a spec on there new metasl shading language. Its already integrated into mr 3.7 but will not be supported in maya till the 2010 version released a siggraph this year.
My hope is that we will not have to wait for the first maya service pack to roll out to be able to use it properly.
So for the last few weeks my blog has been plagued with an Iframe-inf infection.
Avast, wouldnt let me load any part of my site, so at least i know it works.
i ended out finding this post a few days ago, which helped me a treat, but also returns more files that are ok than the ones infected:
here
The shell scripts this guy has created, did help me track the bits i needed to remove which was a link to:
newnetnameshop(dot)cn:8080/index.php
Thanks Fields Marshall, help save my blog.
I have wondered for a while about what scripts maya loads when it starts up.
Its always intrigued me and i had some spare time today so i wrote a quite python script to help.
Ta-da!
Here are the scripts maya sources on start up:
/scripts/startup/initialLayout.mel
/scripts/others/setDefaultTemplates.mel
/scripts/startup/initCommandWindow.mel
/scripts/startup/initMainWindow.mel
/scripts/startup/UIComponents.mel
/scripts/startup/initContexts.mel
/scripts/others/flyThroughContextSetup.mel
/scripts/startup/animationStartup.mel
/scripts/startup/initAttributeEditor.mel
/scripts/others/showEditor.mel
/scripts/startup/initToolSettings.mel
/scripts/startup/initChannelsLayers.mel
/scripts/startup/initChannelBox.mel
/scripts/startup/layerEditor.mel
/scripts/startup/initMainPane.mel
/scripts/startup/initPanels.mel
/scripts/startup/initScriptedPanels.mel
/scripts/others/dopeSheetPanel.mel
/scripts/others/clipEditorPanel.mel
/scripts/others/graphEditorPanel.mel
/scripts/others/setEditorPanel.mel
/scripts/others/setEdBookmarkEditor.mel
/scripts/others/rendRelPanel.mel
/scripts/others/componentEditorPanel.mel
/scripts/others/hyperGraphPanel.mel
/scripts/others/hyperShadePanel.mel
/scripts/others/hyperViewer.mel
/scripts/others/visorPanel.mel
/scripts/others/polySelConstraintPanel.mel
/scripts/others/texturePanel.mel
/scripts/others/multiListerPanel.mel
/scripts/others/renderWindowPanel.mel
/scripts/others/ShadingGroupEditorPanel.mel
/scripts/others/dynRelEditorPane.mel
/scripts/others/relationshipEditor.mel
/scripts/others/referenceEditorPanel.mel
/scripts/others/blindDataEditor.mel
/scripts/startup/webBrowserPanel.mel
/scripts/startup/scriptEditorPanel.mel
/scripts/startup/initStatusLine.mel
/scripts/startup/statusLine.mel
/scripts/startup/initTimeSlider.mel
/scripts/others/timeSlider.mel
/scripts/others/initPlaybackRange.mel
/scripts/others/playbackRange.mel
/scripts/startup/initCommandLine.mel
/scripts/startup/initShelf.mel
/scripts/startup/shelf.mel
/scripts/startup/initHelpLine.mel
/scripts/startup/toolbox.mel
/scripts/startup/initAuxiliary.mel
/scripts/startup/initPolygonsUI.mel
/scripts/startup/initNurbsUI.mel
/scripts/startup/initSubdivUI.mel
/scripts/startup/initMinorNodeTypes.mel
/scripts/startup/initMainMenuBar.mel
/scripts/startup/FileMenu.mel
/scripts/startup/EditMenu.mel
/scripts/startup/DisplayMenu.mel
/scripts/startup/ViewMenu.mel
/scripts/startup/HotboxMenus.mel
/scripts/startup/ModEditCurvesMenu.mel
/scripts/paintEffects/CreatorMenu.mel
/scripts/paintEffects/creatorGlobalVars.mel
/scripts/startup/AuxiliaryMenus.mel
/scripts/startup/AuxiliaryGraphicsMenus.mel
/scripts/startup/HelpMenu.mel
/scripts/startup/initManipulators.mel
/scripts/startup/selectionMaskStackInit.mel
/scripts/startup/hotkeySetup.mel
/scripts/startup/namedCommandSetup.mel
// file -f -n;
/scripts/startup/initAfter.mel
/scripts/startup/initHUDScripts.mel
I seem to answer the same few messages ever week on the autodesk forums.
So my plan for the next few weeks is to go through all my note books and try and put up answers for all the fun render errors that mentalray produces.
So i wrote this quickly for my girlfriend who is an Xsi Modeler.Its one of the many tools she misses.
/***********************************************************************
Title: faceLoopSelection.mel
Description:
quick script to mimic xsi''s face loop selection tool.
select 2 edges in the same loop to get the face loop
Author: Kym Watts (watts(Dot)kym(At)gmail(Dot)[Com])
***********************************************************************/
proc faceLoopSelection()
{
polySelectEdges edgeRing;
getFaces;
}
faceLoopSelection();