Skip to content

Latest commit

 

History

History
47 lines (41 loc) · 2 KB

usage.md

File metadata and controls

47 lines (41 loc) · 2 KB

Quick Start

Installation

Windows: Provided Binaries

  1. Download the MSI installer for your Maya version (2018 or 2019) from the desired release
  2. Run the MSI installer
  3. Start Maya
  4. You should now see the new menu item "Serlio".

Windows: Compiled from Source

  1. Locate the install directory where you built the plugin, let's call it PLUGINDIR
  2. Locate the Maya.env file in your home, usually its in <home directory>\Documents\maya\2019
  3. Edit Maya.env as follows:
    :: replace <PLUGINDIR> with the actual path
    PATH=<PLUGINDIR>\plug-ins;%PATH%
    MAYA_PLUG_IN_PATH=<PLUGINDIR>\plug-ins
    MAYA_SCRIPT_PATH=<PLUGINDIR>\scripts
    
  4. Start maya
  5. Open the plugin manager: Windows -> Settings/Preferences -> Plug-in Manager
  6. Enable serlio.mll
  7. The plugin should load and a new menu item Serlio should appear in Maya.

Linux

  1. Acquire the Serlio binaries, either:
    • ... download the desired release
    • ... or build them yourself, which will result in an install directory
  2. Either way, let's call the directory with the Serlio binaries PLUGINDIR
  3. Locate the Maya.env file in your home, e.g.: ~/maya/2019/Maya.env
  4. Edit Maya.env as follows:
    PLUGINDIR=<PLUGINDIR> # replace <PLUGINDIR> with the actual path
    MAYA_PLUG_IN_PATH=$PLUGINDIR/plug-ins
    MAYA_SCRIPT_PATH=$PLUGINDIR/scripts
    
  5. Start Maya (Note: you may want to start maya from a shell to see the serlio log output).
  6. Open the plugin manager: Windows -> Settings/Preferences -> Plug-in Manager
  7. Enable libserlio.so
  8. The plugin should load and a new menu item Serlio should appear in Maya.

Usage Instructions

  1. Use CityEngine to export a Rule Package (RPK).
  2. In Maya, select a mesh and use the Serlio menu to assign the RPK. This will run the rules for each face in the mesh.
  3. Use the Hypergraph to navigate to the "serlio" node where you can edit the rule parameters.