Adverti horiz upsell

spPaint3d for Maya 1.1.1 (maya script)

Object placement tool (raycast geometry instancer)

Button download
17,876 Downloads

Compatibility

  • 2011, 2010, 2009, 2008

Operating Systems

  • Linux
  • Mac
  • Windows

History

Created:07/10/2009
Last Modified:05/29/2010
File Size: 188 KB

License

MIT License

Keywords

3d, object

Overview:
spPaint3d is a raycast based object placement tool.
Unlike geometryPaint, it doesn't use any UVs or a spacial grid to control the position of the placement of newly created objects.

Note: if you were able to work around geometryPaint workflow/limitations, you probably won't have any benefit from using this script.

This script is based on a python function to access the API, thus you'll need Maya 2008 and up.
Make sure your PYTHONPATH environment variable is configured properly, or the python module may not initialize correctly.

I only tested it on a windows based Maya 2009 (both 32 and 64bits), but there's no reason it shouldn't work with 2008.
Also, this script is platform agnostic and it should run properly on Windows, Mac and Linux alike. However I am unable to test anything on both Mac and Linux, let me know if something is not working properly.

Maya 2011 Note: Qt changed a lot of stuff, and without too much surprise a lot of things are currently broken (vanilla 2011 pre-service pack). A few features are sort of broken because of this, place mode is the most affected, but things should work, kind of.



Installation:
  • Close Maya.
  • If applicable, delete the files from an earlier spPaint3d version (both .py and .pyc files of this script may need to be removed).
  • Unzip the script in the appropriate user Maya folder.
  • Make sure the script files go to the script folder, the icons should go to the prefs/icons folder.
    The help folder is not used at runtime and can be anywhere, if there at all.
  • Make sure the PYTHONPATH environment variable is set properly in the maya.env file or the script may not run properly. Maya 2008 has been reported to have a faulty default path for python.
  • Restart Maya.
  • Execute the script by typing "spPaint3d" in the MEL script editor command line.
  • For future use, the same command can be put into a shelf as is.


How To:

sppaint3d_source
Add sample objects to this list. The script only accept polygon objects and locators added to this list.
If the script doesn't allow your object to be added, chance is the script can't compute some data about it (ie: complex hierarchy, or multiple out-connections messing with finding the proper shape to the object).




sppaint3d_distribution
Add target surfaces to this list (the objects onto which you want to duplicate objects). The script only accept polygon objects in this list.



sppaint3d_transform
Use these option fields to setup the various boundaries for the random ranges used for the transforms while creating new objects. These can be modified and toggled on/off at any time during the script execution.



sppaint3d_paint
Here are some toggles and options used to configure the behavior of the script:
  • duplicate / instance toggle
  • random / sequential object distribution (Note: in the sequence mode, the objects are sorted internally and they may not be distributed in the same order as they appear in the list box)
  • align on surface toggle
  • paint button
  • place button (will create only one object)



sppaint3d_paintoptions
Here are some toggles and options used to configure the behavior of the script:
  • distance threshold / timer
  • up offset objects will be moved from the surface
  • RampFX option menu (see readme)
  • Jitter toggle and distance options; objects will be randomly spread on the tangent grid at the intersection point


See spPaint3d_ReadMe.html for some more informations.


Please use the Bug System to report any bugs.
Please use the Feature Requests to give me ideas.
Please use the Support Forum to give me ideas.
Please rate my product in the Review section.

People who favorited this item:

  • Vojtech Lacina
    Vojtech Lacina
  • laser wilson
    laser wilson
  • tony williams
    tony williams
  • rygoody
    rygoody
  • zexell
    zexell
  • sepu
    sepu
  • lionel i
    lionel i
  • Yutaro Shirai
    Yutaro Shirai
  • Janz.man
    Janz.man
  • Alex Livingstone
    Alex Livingstone
  • Goran Backman
    Goran Backman
  • Richard Potts
    Richard Potts
  • rushcg
    rushcg
  • Storm
    Storm
  • Andy Guttormsson
    Andy Guttormsson
  • MNeMiC
    MNeMiC
  • trashcan trashcan
    trashcan trashcan
  • ghosthun
    ghosthun
  • Hak Aghbalian
    Hak Aghbalian
  • Billbo Bagins
    Billbo Bagins
  • T-blan
    T-blan
  • Jostein Finnekaasa
    Jostein Finnekaasa
  • amphiblien Salisbury
    amphiblien Salisbury
  • aaron magee
    aaron magee
  • zhi li
    zhi li
  • Atshushi Takagi
    Atshushi Takagi
  • rockavinash
    rockavinash
  • luo zhi
    luo zhi
  • jordi martinez
    jordi martinez
  • Sunil Ingle
    Sunil Ingle
  • Reeks
    Reeks
  • Dušan Marjanović
    Dušan Marjanović
  • guru.thecreator
    guru.thecreator
  • fingus teatime
    fingus teatime
  • Alexey Bazhenov
    Alexey Bazhenov
  • jose garcia
    jose garcia
  • alejandro rodriguez
    alejandro rodriguez
  • Ali Wallick
    Ali Wallick
  • 675
    675
  • jom133
    jom133
  • Mason Doran
    Mason Doran
  • ale jandro
    ale jandro
  • rahoul
    rahoul
  • Dennis Persson
    Dennis Persson
  • Nick_xu
    Nick_xu
  • RedForty
    RedForty
  • Teemu Eramaa
    Teemu Eramaa
  • Salvador Simo
    Salvador Simo
  • josh b
    josh b
  • eric dima-ala
    eric dima-ala
  • Telazorn
    Telazorn
  • -Shadow-
    -Shadow-
  • Bogdan Skrynnik
    Bogdan Skrynnik
  • mwgriffin
    mwgriffin
  • mindFreeArtist
    mindFreeArtist
  • Lamontg
    Lamontg
  • darkito
    darkito
  • Giorgio Lafratta
    Giorgio Lafratta
  • elviocb
    elviocb
  • eof
    eof
  • tt tt
    tt tt
  • kaiHaz
    kaiHaz
  • gramulho
    gramulho
  • Devon Fay
    Devon Fay
  • Robert Dollase
    Robert Dollase
  • Alex Veresov
    Alex Veresov
  • Dave Girard
    Dave Girard
  • kjaft
    kjaft
  • nuntavit
    nuntavit
  • cursedboy
    cursedboy
  • CGus
    CGus
  • lv-88
    lv-88
  • jonmaday
    jonmaday
  • chrisbyk
    chrisbyk
  • Jesugonthorn
    Jesugonthorn
  • David Cohen
    David Cohen
  • Pumbaa
    Pumbaa
  • jorge roa
    jorge roa
  • Tibbar
    Tibbar
  • RobPhobos
    RobPhobos
  • LarryW
    LarryW
  • david dirsa
    david dirsa
  • Timmy
    Timmy
  • malo malome
    malo malome
  • Eugene Nikolaev
    Eugene Nikolaev
  • hua zi
    hua zi
  • Djordje Jovanovic
    Djordje Jovanovic
  • truling
    truling
  • RickToxik
    RickToxik
  • mmarri
    mmarri
  • cgranjon
    cgranjon
  • illbrat
    illbrat
  • Aaron Bristow
    Aaron Bristow
  • PPPetr888
    PPPetr888
  • dz86
    dz86
  • Jorge Bouza
    Jorge Bouza
  • mumble
    mumble
  • joeniemeloenie
    joeniemeloenie
  • xtvjxk
    xtvjxk
  • liudger
    liudger
  • thelebaron
    thelebaron
  • a a
    a a
  • wwjdrapper
    wwjdrapper
  • Saro
    Saro
  • sai ita
    sai ita
  • republicavfx
    republicavfx
  • Ptaku
    Ptaku
  • gurus
    gurus
  • sil_musashi
    sil_musashi
  • jasonhuang1115
    jasonhuang1115
  • trabi0
    trabi0
  • koloss
    koloss
  • joie
    joie
  • phainey
    phainey
  • synaire
    synaire
  • kursat turkay
    kursat turkay
  • Fomen
    Fomen
  • leon cenedy
    leon cenedy
  • JOhn lozano
    JOhn lozano
  • Mohammad Farjamfard
    Mohammad Farjamfard
  • John Germann
    John Germann
  • Michael Wilde
    Michael Wilde
  • Scorpion_laz
    Scorpion_laz
  • sebazone
    sebazone
  • cgsquirrel2
    cgsquirrel2
  • subdja
    subdja
  • blackpepperjam
    blackpepperjam
  • RobC
    RobC
  • NuengcoM3D
    NuengcoM3D
  • pavith raj
    pavith raj
  • kenoshi
    kenoshi
  • neekk
    neekk
  • tomsfx
    tomsfx
  • tolofrost
    tolofrost
  • Yaleh Paxton -Harding
    Yaleh Paxton -Harding
  • ::bn8::
    ::bn8::
  • superstarmix
    superstarmix
  • robertPLUS
    robertPLUS
  • excalith
    excalith
  • Soulofjazzman
    Soulofjazzman
  • denizeee
    denizeee
  • RexM
    RexM
  • sneath
    sneath
  • Toastage
    Toastage
  • FranciscoCrash
    FranciscoCrash
  • Guillaume FERRACHAT
    Guillaume FERRACHAT
  • wkesner
    wkesner
  • TOM GREAD
    TOM GREAD
  • ael w
    ael w
  • starbucks
    starbucks
  • incarnatrix
    incarnatrix
  • keyi
    keyi
  • koppar
    koppar
  • Richard Stevenson
    Richard Stevenson
  • Max Steven
    Max Steven
  • Juanjo Bernabeu
    Juanjo Bernabeu
  • swevenzre
    swevenzre
  • 鹏
  • Kevin Hu
    Kevin Hu
  • piipegarcia
    piipegarcia
  • g2mXagent
    g2mXagent
  • mourad rifai
    mourad rifai
  • stephen hibberd
    stephen hibberd
  • moizr
    moizr
  • djordjexyz
    djordjexyz
  • michel.oliveira
    michel.oliveira
  • D F
    D F
  • sam555
    sam555
  • atsushi osako
    atsushi osako
  • ShaTT
    ShaTT
  • Anuroop Mogilisetti
    Anuroop Mogilisetti
  • HustonPetty3D
    HustonPetty3D
  • LordJager
    LordJager
  • Chirkez
    Chirkez
  • Naoki Terai
    Naoki Terai
  • crazy_creater
    crazy_creater
  • Đorđe Jovanović
    Đorđe Jovanović
  • Santi Gutierrez
    Santi Gutierrez
  • martiz
    martiz
  • AJLORUSSO
    AJLORUSSO
  • wang zhen
    wang zhen
  • henrikhdk
    henrikhdk
  • Dan2044
    Dan2044
  • KaSxP
    KaSxP
  • Eyad Orabi
    Eyad Orabi
  • Neelabh Lohani
    Neelabh Lohani
  • TLynnD
    TLynnD
  • xxxxx
    xxxxx
  • wan helsing
    wan helsing
  • irwen
    irwen
  • GlennimusPrime
    GlennimusPrime
  • Jack Revin
    Jack Revin
  • comtoo
    comtoo
  • tap ten
    tap ten
  • kevin castaneda
    kevin castaneda
  • Dragon Lai
    Dragon Lai
  • chaosbanane
    chaosbanane
  • lemonice
    lemonice
  • toharanotami
    toharanotami
  • Sakataki
    Sakataki
  • davidgonzalez3d
    davidgonzalez3d
  • inco9
    inco9
  • ukimenutah
    ukimenutah
  • patolara
    patolara
  • Arno Leung
    Arno Leung
  • deuspotato
    deuspotato
  • trizzah
    trizzah
  • Mangal Prasad
    Mangal Prasad
  • apecornelius
    apecornelius
  • roger kang
    roger kang
  • karel votruba
    karel votruba
  • baogezwj
    baogezwj
  • zhang fei
    zhang fei
  • rogerio britto
    rogerio britto
  • tony yang
    tony yang
  • FourSigns
    FourSigns
  • lacio drom
    lacio drom
  • Arthur Bullock
    Arthur Bullock
  • xu chao
    xu chao
  • io ivn
    io ivn
  • cody len
    cody len
  • iozi
    iozi
  • lokanpho
    lokanpho
  • ca Mel
    ca Mel
  • jomaro110
    jomaro110
  • Vlad Burmaka
    Vlad Burmaka
  • runswithfork
    runswithfork
  • matsui yuuwa
    matsui yuuwa
  • ckrauss
    ckrauss
  • guguai
    guguai
  • eben
    eben
  • keeny
    keeny
  • babysun
    babysun
  • Michael Matskevich
    Michael Matskevich
  • TenjiTenno
    TenjiTenno
  • chris0919
    chris0919
  • zcl cl
    zcl cl
  • animetria
    animetria
  • uncalquera
    uncalquera
  • Matt
    Matt
  • PolygonBird
    PolygonBird
  • fscnightmare
    fscnightmare
  • Artpcce
    Artpcce
  • Emir Cehaic
    Emir Cehaic
  • pompomrain
    pompomrain
  • rogierschalken@gmail.com
    rogierschalken@gmail.com
  • zhu yong
    zhu yong
  • miloman
    miloman
  • brokenpencil
    brokenpencil
  • grave450
    grave450