Hey!
I select all the locators remaining inside my shatterable object, i run the script, and it just creates the same cube without shattering it. Log says: Cutting pCube2 in 1 pieces took 0.02 s to complete.
nevermind i dint scroll all the way down figured dat it was supposed to be pasted in a python tab not mel tab....thx frm makin this script man!!! hats off!!
hey im new to scripts and im geting this error when i click the shelf button ive pasted the script in documents/maya/2011/scripts/ , autodesk/maya 2011/scripts/ and autodesk/maya 2011/bin/scripts/ all the places possible. my os is windows 7 ultimate 64 bit. can you please help me out?
// Error: reload(pf) //
// Error: Invalid use of Maya object "pf". //
Hi,
bit of a newbie questions for you, but here goes.
Followed instructions as above, however when I click the button I get the following error message :
import as_polyFracture as pf
reload(pf)
pf.pub_polyVoronoi()# Error: ImportError: No module named as_polyFracture #
I'm running Maya 2010, on Mac OSX 10.5.8
Thanks for any help.
can you quote for me the error message, i can`t read the text on that screenshot.
to do the "clean" step you have to select the locators in the viewport and then the object
ignore the video ... it`s just for presentation and it`s made using a earlier version of the script which didn`t have a UI.
instead follow the steps outlined in script interface.
That did it! very interesting. I can't seem to get the video to come in very clear or with audio to follow the instructions on how to use it. I have made a box...then I hit place and the pink circle appears which I assume is the particle. Then I hit play and the small pink dots appear...then I select the particle and hit spawn and nothing happens. Then when I hit clean I get an error message.
Thanks for the help!
any recommendations on books to start learning architecturally minded scripting?
Installation:
---------------
- copy script file (.py) from the .rar file in your ..\maya\scripts
- open Maya
- open Script Editor
- paste the following lines of code in a Python tab
import as_polyFracture as pf
reload(pf)
pf.pub_polyVoronoi()
- select those lines of code and using middle-button click and drag the text to shelf
- click that newly created button ... tada ... :)
Can I change this a bit and share the result with a third party. See what they need is a way to make a boundary surface for a point cloud where some points are included in the datacloud and some are not part of the data sort of like the shatter but with missing pieces and missing the walls between points that have same value.
If not its not a biggie the Voronoi is easy enough to implement but id just like to pass the idea off to others and this would suit my purposes as a platform with most of the rough work done.
No hurry tough not even sure it will go as far as test. Thing is tough i would gladly branch the changes back since it could be sueful for some purpose. I know atleast some architects whant this kind of stuff.
yes, you can, but i have 2 requests: 1st credit me if you use my code and 2nd release the modified sources, maybe somebody else will find it useful.
have fun,
alin
Thanks
>> 1st credit me
yes off course what kind of inconsiderate bastard do you take me for. Oh, wait no I take that back :)
>> 2nd release the modified sources
Will do.
im running maya 2011 and i have same probeme and when i press second buton courser turns to hourglass and doesnt go away an if i countinue to step 3 when i hit button maya totaly shuts down any idea what to do when i use
hi
can you help me,
i'm use maya 2009 on winxp 32bit
i copy as_polyFracture.py > C:\My Documents\maya\scripts
and type
import as_polyFracture as pf
reload(pf)
pf.pub_polyVoronoi()
in script editor
then i execute
// Error: reload(pf)
//
// Error: Invalid use of Maya object "pf". //
please help.
Thank you.
Sorry i'm bad english.
Thanks for the excellent work; just wish I could use it.
I am having this issue/crash with 2011 (x64). However, when restarting maya, the problem simply repeats itself...
Any ideas???
I would really love to get this working, as it seems to me to be the best free script that does voronoi!
Hope you can help...
the script fails at step 3 under Maya 2011 (x86 and x64) resulting in Maya crash. This is happening ONLY the first time it is run (per windows session) ... just open Maya again and should work as expected. I get the same behavior on all my machines and until now i didn`t manage to find out why this is happending or how to prevent it!
hey there , sanctuary!
been following up on your work and they look splendid...plus theres a UI for the voronoi instead of all that script writing :)
but bro, i'm having issues with this script...i keep getting an error message
" # Error: RuntimeError: Maximum value must be greater than minimum value. "
where am i going wrong?
I'm new to maya
heres my PC setup:
Asus Rampage extreme
Q9550
OCZ 4GB DDR3 1333
Windows 7 x64
Maya 2011 x64
i'm trying to use your script for an idea i had for a highrise :)
please help bro !
i've managed to get past the error..now i get an error :
# Error: RuntimeError: Error occurred during execution of MEL script
line 1: Error while parsing arguments.
I made the python tab in the shelf and i drew up a cube like your video illustrated.
and the UI comes up. in the 3rd process where i have to clean after selecting the locater's and the object i get an error message displayed - (above)
please help me out :S
hi. that is great work there.
my problem is that i get this error
# Error: IndentationError: unexpected indent #
when trying to use the script in Maya 2011 on MacOS X
Can you help me make it work again?
Thanks.
Cheers, Flo
check the script you copied into the shelf editor
it probably looks like:
###########
$$$$$$$$$$$$$
&&&&&&&&&&&
it should look like:
#################
$$$$$$$$$$$$$$$
&&&&&&&&&&
im getting an appcrash and maya is crashing wen i hit clean and if theres no appcrash there a fatal error.
Problem Event Name: APPCRASH
Application Name: maya.exe
Application Version: 2010.9.6.330
Application Timestamp: 4c84b286
Fault Module Name: ntdll.dll
Fault Module Version: 6.1.7600.16385
Fault Module Timestamp: 4a5be02b
Exception Code: c0000005
Exception Offset: 0000000000029328
OS Version: 6.1.7600.2.0.0.256.1
Locale ID: 16393
Additional Information 1: 3e2a
Additional Information 2: 3e2a2d426216b5720ec41b776a06b147
Additional Information 3: da01
Additional Information 4: da016954c1c0fce2bb5b4201e062dd30
guys ... the script fails at step 3 under Maya 2011 (x86 and x64) resulting in Maya crash.
I get the same behavior on all my machines and until now i didn`t manage to find out why this is happending or how to prevent it!
hi
this script looks awesome man. I really want to try it, but honestly i've been trying to install it for a while now and I can't seem to figure out how to. I'm on a mac OS X running maya 2012 x64. it might just be me since i've never installed a python script but I really don't see how to resolve this issue.
I've tried putting the .py file in every possible folder but it always gives me this error:
# Error: ImportError: No module named as_polyFracture #
Is anybody using this script on a mac?
thanks for your help.
Arthur
i don`t have experience with MacOS so i can`t help you with that information. There is nothing special about the script so it should work if placed in the same folder as all your other scripts.
Hi Alin,
Thank you for sharing this amazing script. I was wondering if this script could be modified to work for an organic form or forms like a sphere or torus? It would be amazing if that is possible.
...
when i redo my operation one mysecond rock, with a rename of the shape before making the plug...
but a new error:
select -add parenthese_Gauche_03_p_Shape151 ;
# Error: TypeError: file C:/Users/ordi/Documents/maya/scripts\as_polyFracture.py line 522: 'NoneType' object is not iterable #
yes,!!
history was uncheked xD..
after there are some prob but you'r all right because all of my solid was depliqued whit the same shape...
SO Thank you very well
hi Alin,
I had a quick look through the questions before, but haven't found one with the same error
message. when I want to do Step 2 I always get the error:
/OpenMaya.py line 3314: in method 'new_MFloatVector', argument 1 of type 'float' #
and afterwards there is only one locator in the coordinate origin.
do you know what I m doing wrong?
Thanks for response! and thanks for script!
cheers
Daniel
hi thare
i'm using maya 2013 and having this issue: # Error: NotImplementedError: Wrong number or type of arguments for overloaded function 'new_MFloatVector'.
Possible C/C++ prototypes are:
MFloatVector()
MFloatVector(MFloatPoint const &)
MFloatVector(MFloatVector const &)
MFloatVector(MVector const &)
MFloatVector(MPoint const &)
MFloatVector(float,float,float)
MFloatVector(float const [3]) #
happend every time i select the particle and hit the buttom
need help
Replies to this question:
Alin Sfetcu said about 13 years ago:
brummer said about 13 years ago:
manish MAKHIJA said almost 16 years ago:
manish MAKHIJA said almost 16 years ago:
Alin Sfetcu said over 16 years ago:
glsls said over 16 years ago:
Alin Sfetcu said over 16 years ago:
neelytc said over 16 years ago:
Alin Sfetcu said over 16 years ago:
neelytc said over 16 years ago:
Alin Sfetcu said over 16 years ago:
neelytc said over 16 years ago:
Joojaa said over 16 years ago:
Alin Sfetcu said over 16 years ago:
Joojaa said over 16 years ago:
Alin Sfetcu said over 16 years ago:
nelson da costa said over 16 years ago:
Alin Sfetcu said over 16 years ago:
abdullah alshalan said over 16 years ago:
Alin Sfetcu said over 16 years ago:
task0918 said over 16 years ago:
s2onload said over 16 years ago:
Alin Sfetcu said over 16 years ago:
s2onload said over 16 years ago:
evaldas cesnavicius said about 16 years ago:
berilac said about 16 years ago:
Alin Sfetcu said about 16 years ago:
Lutfij said about 16 years ago:
Lutfij said about 16 years ago:
florian.einfalt said almost 16 years ago:
Jacob Rocereto said about 13 years ago:
manish MAKHIJA said almost 16 years ago:
Alin Sfetcu said almost 16 years ago:
aila said almost 15 years ago:
Alin Sfetcu said almost 15 years ago:
accesskb said about 14 years ago:
Alin Sfetcu said about 14 years ago:
dumora philippe said over 13 years ago:
dumora philippe said over 13 years ago:
dumora philippe said over 13 years ago:
Alin Sfetcu said over 13 years ago:
Alin Sfetcu said over 13 years ago:
dumora philippe said over 13 years ago:
jumperado said over 13 years ago:
yuval gofer said over 12 years ago:
Jacob Rocereto said about 13 years ago:
Alin Sfetcu said over 13 years ago: