Page 4 of 9

Posted: Thu May 07, 2009 8:51 pm
by Capt. Slog
radcapricorn, I must have misread your post. Thanks.

Re: New model utilities

Posted: Sat Feb 26, 2011 9:10 am
by Cmdr Radan
Hi, I'm tring to make a ship...

I've made a basic model in wings3d and got it saved as a .obj

but, as I'm a total noob to this, I can't seem to get any further.
I DLed Python and I get what looks like a Dos box.
typed "obj2dat.py newship.obj" and got an error.

anyone got the time/inclanation to help?

Re: New model utilities

Posted: Sat Feb 26, 2011 9:18 am
by Thargoid
Sounds like you're using the Python command-line box. Don't do that, just open a normal windows command prompt (go to "run" on the start menu and type "command" or "cmd" for example, or find it under accessories or somewhere like that).

Then navigate to the folder where your .obj file is and type obj2dat.py <yourfilenamehere>.obj . Have the obj2dat.py file also in the same directory (I think it can also be done using the search path, but I normally don't do that myself) and it should then belch out a corresponding .dat file.

Re: New model utilities

Posted: Sat Feb 26, 2011 9:33 am
by Cmdr Radan
thanks, where do i find/get this? (obj2dat.py file)
I'm assuming, I can put it into a file (any) along side my ship.obj
then follow the instructions

Re: New model utilities

Posted: Sat Feb 26, 2011 9:46 am
by Thargoid
They (obj2dat.py and dat2obj.py - guess what the latter does...) should be available for download I think from Berlios, That said I'm not sure offhand from exactly where.

If all else fails I can put the copies I have onto my box.net account, but they may not be the latest, most up to date or official versions (although they work for me).

I'm sure someone with a better memory than me can point you at the proper copies online somewhere...

Re: New model utilities

Posted: Sat Feb 26, 2011 9:59 am
by Cmdr Radan
searched for it, google sent me back here :lol:

went to the Berlios site and searched.....nothing.

never mind, I'm not good at this stuff anyhow (I fix broken stuff for a living) nothing technical, I'll leave ship making to the experts.

Thanks anyhow.

Re: New model utilities

Posted: Sat Feb 26, 2011 10:00 am
by Thargoid
As I said, give it a little while. If no-one can point you to the correct place by the end of the day I'll upload my personal copies and send you links.

Re: New model utilities

Posted: Sat Feb 26, 2011 10:33 am
by Gimi
Cmdr Radan wrote:
searched for it, google sent me back here :lol:
went to the Berlios site and searched.....nothing.
never mind, I'm not good at this stuff anyhow (I fix broken stuff for a living) nothing technical, I'll leave ship making to the experts.
Thanks anyhow.
There is a link in the first post in this thread, but it is very old and I don't know if those are still valid.

Re: New model utilities

Posted: Sat Feb 26, 2011 10:57 am
by Thargoid
Seems as good as any to me.

Cmdr Radan - try those and see how you get on. Personally I use obj2dat.py rather than any of the other variants available there.

Re: New model utilities

Posted: Sat Feb 26, 2011 11:40 am
by Commander McLane
Aren't obj2dat.py etc linked from somewhere in the ship-modeling manuals on the Wiki?

You could also search for links here on the boards (there is a search function at the top right of the page).

Re: New model utilities

Posted: Sat Feb 26, 2011 11:49 am
by Cody
Commander McLane wrote:
(there is a search function at the top right of the page).
Worth mentioning Dizzy's search tool. I think it's still available and still works.

Re: New model utilities

Posted: Sat Feb 26, 2011 2:04 pm
by Cmdr Radan
Ok, clicked on the link on page 1...got a list

* Dat2Mesh.py
* Dat2Obj.py
* Dat2ObjTex.py
* DatScale.py
* DropDat2Mesh.app/
* DropMesh2Dat.app/
* DropMesh2DatTex.app/
* DropObj2DatTex.app/
* Mesh2Dat.py
* Mesh2DatTex.py
* Mesh2Obj.app/
* Mesh2Obj.py
* Obj2DatTex.app/
* Obj2DatTex.py/
* Obj2DatTexNorm.py

Clicked on Obj2DatTex.py and went to a page of text. What next?

Re: New model utilities

Posted: Sat Feb 26, 2011 2:05 pm
by Cmdr Radan
Cmdr Radan wrote:
Ok, clicked on the link on page 1...got a list

* Dat2Mesh.py
* Dat2Obj.py
* Dat2ObjTex.py
* DatScale.py
* DropDat2Mesh.app/
* DropMesh2Dat.app/
* DropMesh2DatTex.app/
* DropObj2DatTex.app/
* Mesh2Dat.py
* Mesh2DatTex.py
* Mesh2Obj.app/
* Mesh2Obj.py
* Obj2DatTex.app/
* Obj2DatTex.py/
* Obj2DatTexNorm.py

Clicked on Obj2DatTex.py and went to a page of text. What next?
*edit* sorry to be a nusance, this is driving me crazy

Re: New model utilities

Posted: Sat Feb 26, 2011 2:24 pm
by Svengali
Create a new file and copy the content into it or look at Ahrumans post https://bb.oolite.space/viewtopic.php?f= ... y&start=27. Use right click, save as.

Copy it in the same folder as your obj file, then follow the instructions https://bb.oolite.space/viewtopic.php?f=6&t=5669&start=3

Re: New model utilities

Posted: Sat Feb 26, 2011 3:36 pm
by TGHC
Keep at it Cmdr Radan, there's a huge amount of goodwill and help offered in this community they will get you there in the end, if you get stressed have a jellybaby and all will be well.