Forum Coordinators: RedPhantom
Poser - OFFICIAL F.A.Q (Last Updated: 2025 Jan 11 12:18 am)
First, congrats for the site. As for the Mac problem: In general, the Python APIs for Mac and Windows are identical, the major problem there is are path seperators. Make sure you never hard-code for : or as path separator but use os.path.split(). IIRC there's also a slight inconcistency in the TextureMapFileName() function: When called on a material with no texture, the Mac version returns a directory and the Windows version returns null. This also applies for the corresponding transparency/bump/reflection map functions.
Thanks for the comments! I'll announce it when the bushi3d stuff is back online. stewer - Yes, I understand where your coming from there. The problem though isn't with distributing the scripts as .py files. I can fix that using os.path methods as you suggested. The problem I'm having is with the embedded paths that Python puts into the .pyc files. I've tried, as have several others on the Python forum, to figure out a way around them with no success. The only way that works so far is to compile the .py files on both platforms. If you have a way that works, I'd be very pleased to hear it. Please drop me a note at: bushi@velocitus.net if you'd like to discuss this further.
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.
Attached Link: http://poserpython.com
It doesn't have the bushi3d stuff on it but everything from home.velocitus.net/bushi is there. I'll be bring the bushi3d items online over the next week. If you hit the new site and find links that don't match up, please let me know. I've been through the whole thing twice but there's always the possibility that I missed something. Oh, and the domain name just went active this morning so it's still being propagated to the nameservers. It might not be available in all areas yet.