Sculpty exporter for Wings 3D
|
CJ Cooke
Registered User
Join date: 31 Mar 2007
Posts: 4
|
07-02-2007 09:05
I'm having the same issue with 2 totally different PC so something is way wrong. I install the latest Wings and then open the zip files and add all the contents into the import_export folder and no matter that I do I get errors when I try to export. I get the following error:
Exporter crashed: badarith [{wpc_sculpty,makeBMP,4}, {wpc_sculpty,sculpty_export,3}, {wings_export,export,4}, {wings_file,'-export_filename/2-fun-0-',3}, {wp8_file,file_dialog_event,1}, {wings_wm,handle_event,3}, {wings_wm,send_event,2}, {wings_wm,do_dispatch,2}]
Any help would be appreciated.. again its the same on the 2 pcs I've installed it on.
|
Omei Turnbull
Registered User
Join date: 19 Jun 2005
Posts: 577
|
07-02-2007 10:08
CJ, your problem is undoubtedly the same as Poledra's, just above. If you want to use the exporter, you have to do your modeling within the constraints explained in the first post of this thread.
(The message you _should_ get if you forget the restrictions is "Unsupported mesh size". But in the current exporter version, I introduced a bug by moving that check too late in the processing.)
|
CJ Cooke
Registered User
Join date: 31 Mar 2007
Posts: 4
|
My Error
07-02-2007 10:46
I'm only using the magnet tool on an object I'm importing. I'm trying to make a candle that looks like its melted on one side. I import the shape created with another program and used the magnet on it... then try to export it.... and get that error.
|
Omei Turnbull
Registered User
Join date: 19 Jun 2005
Posts: 577
|
07-02-2007 10:56
Ah. For my own testing purposes, I allowed the importer to import "non-standard" bitmap sizes. I'll bet the bitmap you are importing is something other than 64x64, 32x32, 16x16 or 8x8. Is that so?
|
CJ Cooke
Registered User
Join date: 31 Mar 2007
Posts: 4
|
Genius!!!!
07-02-2007 11:32
That was it! The bmp was 128x128! I took it down to 64x64 and Wings exported it perfectly! Thank you for your time!
|
Omei Turnbull
Registered User
Join date: 19 Jun 2005
Posts: 577
|
07-02-2007 11:49
Thank you for reporting it. I'll do something with the importer for the next release so the limitation isn't so obscure. I think the strategy of making an initial geometrical shape in something like Rokuro or Sculptypaint, and then importing it into Wings for finer detail, is a good approach.
|
Poledra Behemoth
Prim'n'Pixel Punisher
Join date: 27 Jan 2005
Posts: 55
|
07-02-2007 18:15
Well, I did the sphere test, I opened the 64x63 template you supplied, and it saved with no problem. I have started my shape again, hoping I can create it again using the whole sphere, and will let you know how it turns out  Folks, it does work, just make sure you use shapes within the right size restraints....and don't cut away any of the shape  It should save fine then. Thanks again Omei, you have made my day. Wings3D is the best program I have found without spending a ton of money, and you have made it that much easier. Well done 
|
Justin Slade
Registered User
Join date: 6 Feb 2007
Posts: 132
|
Need help open sculpt
07-03-2007 10:16
Omei, I used a 32/31 tri-sphere and created a boat hull. I'm still working on it and may not finish it , depending on your answer.
The problem is I can't get in it or anywhere near it. Is this possible to do or not?
I used Wings and exported it using your exporter.
Justin
|
Lee Ponzu
What Would Steve Do?
Join date: 28 Jun 2006
Posts: 1,770
|
07-03-2007 11:04
Can I have a copy of the boat hull  I'll put a sit script in it for you... Your problem is that SL treats every sculpty as a big blob. The SL collision algorithms don't know the shape. the usual solution is to use a sit script in the object. This sets the position and rotation of the first person to sit on the object, relative to the center. It takes a bit of experimentation, but you can get it to sit where you want. for multiple sitters, you might find multiple seat cushions easiest. I can imagine a Sailboat object that changes the sit animation from relaxed to hiking out when the boat heels over.
|
Lee Ponzu
What Would Steve Do?
Join date: 28 Jun 2006
Posts: 1,770
|
oh yeah
07-03-2007 11:06
another thing you can try is to make the hull phantom, and then lay one or more non-phantom prims on the surfaces you want to walk on. (floor boards? dead fish? water sloshing around?)
|
Justin Slade
Registered User
Join date: 6 Feb 2007
Posts: 132
|
Sit Script
07-03-2007 11:31
Wow, never thought of that. I've made several, so let me experiment with it. I thought it would be nice to have a 1 prim haul o people can do what they want with. That's actually 10m. I have to do some touch ups.
let me see what I can do and if I can't I'll get one to you.
Justin
Okay since this post I tried the sit script as seen in the pic. Now I either have to go back and spend many more hours to get the rough out, or ask someone for help, if they know a different process that will take me there quicker.
One more thing about the dug out in the Haul. This will not go over very well if people are building yachts. The ones I see your able to walk in and around. Their only option with this one is to make it a base and build up from it. It would save prims by not have to use several for the haul and it would allow the Avatar to walk on the base.
I'm open to suggestions. Lee, if you want to meet me in world, we might be able to make this a project. I also have a one prim doorway. Would save on two prims and quickly install a wall with a doorway. Problem there, it's not allowing me to walk through the doorway. see picture
Justin
|
Pedro Pendragon
Registered User
Join date: 15 Jan 2004
Posts: 77
|
07-05-2007 20:53
Omei, thanks for all your work on this exporter. I'd never used Wings before, but I'm having lots of fun learning it, and trying out new shapes in-world. I love it! A feature request: from looking at the .erl file out of an earlier version (I don't see one in the current release? Is this deliberate?) it looks like you're using one variable to scale all 3 dimensions. While this does preserve the original shape for the export, I think it would be nice to have the option to scale X, Y, and Z independently -- this would give greater resolution for sculptures that are long but narrow, for instance. The proportions in-world would initially be wrong of course, but I could then re-scale the object with the in-world sliders. Just an idea 
|
Omei Turnbull
Registered User
Join date: 19 Jun 2005
Posts: 577
|
07-06-2007 07:50
I'm not sure, Pedro, what releases you are comparing. I added the ability to rescale each dimension independently in the release dated 6/21/07, which is what is currently available in the first post of the thread. If you have a version that deosn't have export options, then it is an older release. At least, that is the way it should be. As to the source .erl files, it seemed to be confusing some people who couldn't figure out what to do with it, so I purposely left it out of the main zip files. I'm still looking for the best way to make it available to the few people who care about it while avoiding confusing the majority that doesn't.
|
Sapphire Divine
Registered User
Join date: 26 Dec 2004
Posts: 1
|
Can't export
07-06-2007 13:15
I recently made a playhouse in wings3D and would like to put it in secondlife i get an error when i try to export the file as a .bmp file i get this error
Exporter crashed: badarith
[ {wpc_sculpty,makeBMP,4} {wpc_sculpty,sculpty_export,3} {wings_export,export,4} {wings_file,' -export_filename/2-fun-0-' ,3} {wp8_file,file_dialog_event,1} {wings_wm,handle_event,3} {wings_wm,send_event,2} {wings_wm,do_dispatch,2}
Help please? thanks in advance
|
Omei Turnbull
Registered User
Join date: 19 Jun 2005
Posts: 577
|
07-07-2007 08:18
Sapphire, if you want to use the exporter, you have to do your modeling within the constraints explained in the first post of this thread. (The message you _should_ get if you forget the restrictions is "Unsupported mesh size". But in the current exporter version, I introduced a bug by moving that check too late in the processing.)
|
RShara Eilde
Registered User
Join date: 29 Jun 2007
Posts: 19
|
07-08-2007 14:48
Hmm, odd. Now, when I try to export a cylinder, I get the following error:
[{wpc_sculpty,export,2}, {wings_export,export,4}, {wings_file,'-export_filename/2-fun-0-",3}, {wp8_file,file_dialog_even,1}, {wings_wm,handle_event,3}, {wings_wm,send_event,2}, {wings_wm,do_dispatch,2}, {lists,foreach,2}
This is with the default cylinder from page 26, loaded, then immediately exported with no changes.
I tried with the version of the exporter on 26, and on the first page.
|
Strife Onizuka
Moonchild
Join date: 3 Mar 2004
Posts: 5,887
|
07-08-2007 15:05
From: RShara Eilde Hmm, odd. Now, when I try to export a cylinder, I get the following error:
[{wpc_sculpty,export,2}, {wings_export,export,4}, {wings_file,'-export_filename/2-fun-0-",3}, {wp8_file,file_dialog_even,1}, {wings_wm,handle_event,3}, {wings_wm,send_event,2}, {wings_wm,do_dispatch,2}, {lists,foreach,2}
This is with the default cylinder from page 26, loaded, then immediately exported with no changes.
I tried with the version of the exporter on 26, and on the first page. The exporter doesn't support cylinders, only spheres.
_____________________
Truth is a river that is always splitting up into arms that reunite. Islanded between the arms, the inhabitants argue for a lifetime as to which is the main river. - Cyril Connolly
Without the political will to find common ground, the continual friction of tactic and counter tactic, only creates suspicion and hatred and vengeance, and perpetuates the cycle of violence. - James Nachtwey
|
RShara Eilde
Registered User
Join date: 29 Jun 2007
Posts: 19
|
07-08-2007 15:21
It should, according to the posts on page 26 
|
Omei Turnbull
Registered User
Join date: 19 Jun 2005
Posts: 577
|
07-08-2007 16:20
From: RShara Eilde Hmm, odd. Now, when I try to export a cylinder, I get the following error: [{wpc_sculpty,export,2}, {wings_export,export,4}, {wings_file,'-export_filename/2-fun-0-",3}, {wp8_file,file_dialog_even,1}, {wings_wm,handle_event,3}, {wings_wm,send_event,2}, {wings_wm,do_dispatch,2}, {lists,foreach,2} This is with the default cylinder from page 26, loaded, then immediately exported with no changes. I tried with the version of the exporter on 26, and on the first page. RShara, this message does not look like it comes from the exporter posted on page 26. Also, it doesn't seem to be complete. So I'm not sure what to make of it. Why don't you make sure you have the alpha version of the exporter installed, and try it again. Assuming it fails again, post all the text in the error window. (I expect it to start with "Exporter crashed ..."  . Alternatively, I see from your earlier post that this version of the ecporter was working for you before. Do you know what is different?
|
RShara Eilde
Registered User
Join date: 29 Jun 2007
Posts: 19
|
07-08-2007 16:43
Sorry, yes, the error starts with Exporter crashed: [badmatch,"Unsupported mesh shape"}
I don't know what happened--it was working, then it didn't. I've tried re-downloading and installing the exporter files, and keep getting the same error.
Spheres export fine, it's the Cylinder, Torus and plane from 26 that don't.
Update: okay, I just uninstalled Wings, reinstalled it, and copied over the exporter files and it *seems* to be working again....
|
Omei Turnbull
Registered User
Join date: 19 Jun 2005
Posts: 577
|
07-08-2007 17:02
From: RShara Eilde Update: okay, I just uninstalled Wings, reinstalled it, and copied over the exporter files and it *seems* to be working again.... Glad to hear it. The [badmatch,"Unsupported mesh shape"] message confirms that somehow you were using a very early version of the exporter.
|
Igraine McMillan
Registered User
Join date: 30 Jun 2007
Posts: 3
|
Also having the bad arith error problem
07-09-2007 19:21
I tried just creating a sphere with no other modifications and saving it just to see if the exporter would work. It didn't ... it crashed with the bad arith error described by Saphire Devine.
Any suggestions?? I would like to try working with sculpies .... but I'm not getting very far as yet.
|
Omei Turnbull
Registered User
Join date: 19 Jun 2005
Posts: 577
|
07-09-2007 19:30
Igraine, you can't start with just any sphere. Use one of the .wings file templates included in the exporter zip file. (In earlier versions, I gave instructions for how to create spheres with parameters the exporter could deal with. But that didn't create a UV map, which you probably don't care about yet, but you will when you've built a beautiful model and want to texture it. If you start with one of the provided templates, it will have the UV map when the time comes that you want it.)
|
Monkey Edge
Registered User
Join date: 23 Apr 2005
Posts: 69
|
07-11-2007 21:38
i dont have the choice to export for SL, i installed the plugin but i dont know what else to do
_____________________
What do today what you can put off till tommorrow But....... What is today but yesterday's tommorrow
|
Omei Turnbull
Registered User
Join date: 19 Jun 2005
Posts: 577
|
07-11-2007 21:50
From: Monkey Edge i dont have the choice to export for SL, i installed the plugin but i dont know what else to do Try Help/About and double check that the version number is 0.98.36. The most common reason for not seeing Sculpties in the File/Export list is using version 0.98.32a by mistake. If that's not the problem, there are two other possibilities. 1) If you installed/copied the plugin while Wings was running, you need to exit and restart Wings. 2) If you copied the exporter file by hand, you might have gotten the wrong directory. Try using the File/Import plugin command, and then restarting Wings.
|