14 threads found!
Thread | Author | Replies | Views | Last Reply |
---|---|---|---|---|
scourge | 33 | 175 | ||
scourge | 6 | 21 | ||
scourge | 6 | 192 | ||
scourge | 9 | 169 | ||
|
scourge | 90 | 1081 | |
scourge | 0 | 128 |
(none)
|
|
scourge | 10 | 266 | ||
|
scourge | 61 | 1144 | |
scourge | 14 | 278 | ||
scourge | 36 | 971 | ||
scourge | 30 | 876 |
2002 Jul 21 1:03 PM
|
|
scourge | 0 | 99 |
(none)
|
|
scourge | 16 | 480 | ||
scourge | 9 | 258 |
192 comments found!
Kamilche, Okay, haven't been able to test your modification in Poser yet, but here are a couple of things I noticed by reading the code: - Line #467: convert_obj(node, 5) I don't think you need this line at all, pyMPE should be able to convert directly into P4 format without converting into P5 first. Actually the conversion into P5 format will probably do nothing at all because currently pyMPE thinks P5 and P6 have the same file format. But I may be wrong, let me do some tests to be sure. - You should add the line "make_mat(node)" somewhere in the MakeMat function, perhaps right after line #465: node = read_file(tempfile). That will make sure that only the material part is saved (as MarianneR noticed, the script currently saves the whole figure). Of course a script for converting complete cr2 files would be useful too so it may be best to have that option in the pyMPE menu as well. - The script apparently cannot save in compressed gzip format. This is pretty easy to do in a quick & dirty way: if the last (3rd) character of the filename extenstion is "z" the file should be compressed (f = gzip.open(self.full_path, 'wb'). That's at least how I did it (line #195).
Thread: Try my new app/script | Forum: Poser - OFFICIAL
This is great! Good to see that someone could read my code. I'm going to try Kamilche's version as soon as I get home.
Thread: Try my new app/script | Forum: Poser - OFFICIAL
Yeah, that's right. But as you can see this is version 0.0.1, right now it's just a base for an application. I'll be adding new features to it later and it will have a real user-interface.
Thread: Try my new app/script | Forum: Poser - OFFICIAL
Hmm. I'll have to bug my Steve Jobs-worshipping, Mac-using uber-nerd friend about this. While waiting for that fix you can use the latest version which I just uploaded. It has the Save As menu enabled all the time.
Thread: Try my new app/script | Forum: Poser - OFFICIAL
Oh, the site just describes some portability problems. WxPython is still under development and the Mac version is a little behind the Windows and Linux versions so some things just don't work in all OSes as expected. I just learned that Mac OSes have very strict rules concerning the menus: every app has to have a Help menu, only one frame can have a menubar, etc. It was also recommended to use the "official" id tags for menu items like "Open", "Save" and "About". So I just did that and uploaded a yet another new version. Dunno if it helps though...
Thread: Try my new app/script | Forum: Poser - OFFICIAL
It's probably not your fault. But seems that it's not my fault either. I did some research and found this page: http://tinyurl.com/7s33s Apparently I can't trust these ID numbers that I'm supposed to trust. I just updated the package again. This time the script tries to find the Save As menu by the name string. It's a dirty fix but it should work. The script now also tells you the Save As ID number when you open a file. Could you tell me what it outputs on your Mac?
Thread: Try my new app/script | Forum: Poser - OFFICIAL
Here's another thing you could try. Replace line 170 (according to your text editor) with: self.file_menu.FindItemById(ID_SAVE).Enable(True) If that doesn't work you can try this line instead: self.GetMenuBar().FindItemById(ID_SAVE).Enable(True) They both work on my system.
Thread: Try my new app/script | Forum: Poser - OFFICIAL
Yeah, you do have the latest version. I'll do my best to find out what's wrong. Damn, I need a Mac.
Thread: Try my new app/script | Forum: Poser - OFFICIAL
This is totally bumming me out. This may sound desperate but could it be that your browser didn't really download the latest version and simply retrieved the previous version from cache? The latest version disables the Save As menu at line 97: "self.file_menu.Enable(ID_SAVE, False)" Then it enables it in the OnOpen function at line 169: "self.file_menu.Enable(ID_SAVE, True)" If the first line works the second one should work as well. But then again, nothing that should work ever does.
Thread: Try my new app/script | Forum: Poser - OFFICIAL
I updated the package again, so you can forget about editing the script Marianne. I found out that my use of absolute panel item positioning is bad and results in unportable code. But that should be fixed now. Hey, it's called "development version" for a reason. ;-)
Thread: Try my new app/script | Forum: Poser - OFFICIAL
Ok, I'll try to find out what's wrong. In the mean time you can enable the Save As menu by commenting out this line (line 97) in the pyMPE.py file: filemenu.Enable(ID_SAVE, False) It should do the trick, but it lets you use the Save As menu even when there's nothing to save so this is only a temporary solution.
Thread: Try my new app/script | Forum: Poser - OFFICIAL
Thanks for your report Marianne. It seems that the reversed() function is only in Python 2.4 and the latest version of MacPython is 2.3. But I think I got this problem fixed by writing a new reversed() function. I have now updated the package so please try downloading it again. I also fixed a couple of other issues I found: - when converting materials into P4 format the bump strength could sometimes go over the maximum value - converting a highlight size value of 0 would result in a "divided by zero" error
Thread: Try my new app/script | Forum: Poser - OFFICIAL
Ernyoka1, No, Poser doesn't run in Linux. But my script does. It's easier to make sure that it works in OSX if I also test it in Linux. Little Dragon, No, it doesn't convert mc6 files yet... but it's pretty easy to write a script for that. Just paste this line in a new *.py file (i.e. 'convert_mc6.py'): self.node.get_child('mtlCollection').rename('figure') Then open a mc6 file in pyMPE and use File->Run Script to run your new script. Then press the "Convert to P4" button if you want a P4 MAT file, and finally save the file. I tried to make extending the featureset of pyMPE as easy as possible. You can do a lot with just a few lines of code.
Thread: I'm back! | Forum: Poser - OFFICIAL
Thanks for letting me back in, everyone. "Hi Ilari, good to see you. Sounds like you've got some exciting plans up your sleeve, I'll look forward to seeing what you come out with" Good, good, because I may need your feedback and criticism again. And good to see you too Karen. "yes big boobs are still in (unless your me lol)" What?! Lady, you'd better start spinning those breast morph dials right now or else you can consider yourself banned! "off topic posts....seem sugesstive as in it depends on what the post is about ;)" Don't worry, I'm not really trying to stir shit up, even though that would make my comeback a lot more impressive. "I won't even pretend to understand alot of what you said...other than new updated version of MPE and some code troubles?" It wouldn't call it an updated version, it's more like a complete remake. And the code troubles are pretty much gone, now there's just work that needs to be done. " Lock your children away! Hide the young fairies! Ilari is back! ;) Welcome home!" Actually, better hide the old people as well, Mizrael. " Welcome back! Thanks for what you've done till now, I'm sure anything new will bw great too!" I can guarantee that my new projects will make my old work look like crap.
Thread: Status of the DAZ site?? | Forum: Poser - OFFICIAL
Oh come on Mateo... if Steve Jobs decides that Microsoft Internet Explorer is the best browser in the universe, then it has to be.
This site uses cookies to deliver the best experience. Our own cookies make user accounts and other features possible. Third-party cookies are used to display relevant ads and to analyze how Renderosity is used. By using our site, you acknowledge that you have read and understood our Terms of Service, including our Cookie Policy and our Privacy Policy.
Thread: Try my new app/script | Forum: Poser - OFFICIAL