Skip to content

wzhang1998/Maya-Python-Scripts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Maya-Python-Scripts

Python plugins for Maya

L-SystemGarden

How to use?

  1. Windows / Linux:
    Move the scripts to: Documents\maya\YEAR\scripts Move the images to: Documents\maya\YEAR\prefs\icons

  2. OSX:
    Move the scripts to: /Users/YOUR_USERNAME/Library/Preferences/Autodesk/Maya/YEAR/scripts
    Move the images to: /Users/YOUR_USERNAME/Library/Preferences/Autodesk/Maya/YEAR/prefs/icons

  3. Copy and Paste this section of code to launch the UI. Make sure you set it to Python.

import importlib
import maya.cmds as cmds
import gui_LGarden
importlib.reload(gui_LGarden)

More

  • This script is based on Zeno Pelgrims - www.graffik.be - NCCA 2014 - fractalGenerator. I modified the original scripts from 2D L-system to 3D, added 4 more rotation operations: <, >, ^, &.
  • The iteration time can influence the running time significantly, be careful if when iterations > 4.
  • If the L-system start to be drawn incorrectly, please restart Maya, clear inputs and try again. There still is a small bug hiding itself...
  • try F ==> F[+F][-F[-F]F[+F][-F]
  • ref1:http://algorithmicbotany.org/papers/#abop
  • ref2:http://paulbourke.net/fractals/lsys/

RandomGen

\

  • This script generates a random colorful animated scene using three hided meshes in the Maya scene: 'cartoon_controller', 'soda_can', 'lollipop'
  • Don't forget to play the animation ;)

How to use?

  1. open 10_8_script_RandomGen.ma in Maya
  2. copy and paste RandomGenerator.py into script editor

StoneCirclePlugin


This is a plug-in to make rings of standing stones.

How to use?

  1. move all the files in this folder into your Maya plug-in folder
  2. open Plug-in Manager Window, search stoneGui.py, and check 'Loaded'
  3. then you can start creating customize stone circles!

More

  • still have some issue with deleting overlapping, I've tried to use the bounding box command.

About

Python plugin for Maya

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published