Extensions:2.6/Py/Scripts/Objects/ScapeGoat

提供: wiki
移動先: 案内検索
ScapeGoat
Places linked duplicates of models at the locations of polygons which are chosen by the user
UI location Properties>Object
Usage Create a mesh object to be a "street map." Define regions to populate by applying materials to faces. Select a group of linked objects; one of these linked objects will appear at the center of each face in the "street map" object.
Version 0.7 Author(s) Rhett Jackson
Blender 2.6.6 License
Category Object Distribution External
Note(s) Note(s)


Executable information
File name ScapeGoat.py
Current version download https://dl.dropboxusercontent.com/u/731399/ScapeGoat/ScapeGoat.py
Python modules Uses standard Python modules


Known Issues Limited features related to object scaling. Script error when invoked from Edit Mode. Script error when no faces are assigned to a material which has settings applied in ScapeGoat.


Set-up : Object Library

  • Models which will be duplicated (the buildings) must be linked from an external blend file.
  • If a model to be duplicated is made of more than one object, the objects should be grouped together so they can be linked more easily.

Set-up: Map File

  • Create a blend file with links to the building objects library(s).
  • Put the linked objects into groups based on how they are to be used ("tall buildings," "round buildings," etc...)
  • Create a mesh object upon which building objects will be placed. Create and apply materials to the faces of the "map object" as desired.
  • In the map object's ScapeGoat properties, each material applied to the map object will have a section in the script's interface panel. Each material can be linked to a group in the map blend file. Other settings for each material are adjusted in the object's interface panel.

Video Demo

http://www.youtube.com/watch?v=6NqhHaPXY0M