New model utilities
Moderators: winston, another_commander
-
- Dangerous
- Posts: 84
- Joined: Sun Apr 26, 2009 10:24 pm
- Cmdr Radan
- Competent
- Posts: 63
- Joined: Sat Feb 19, 2011 6:06 pm
- Location: UK
Re: New model utilities
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?
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?
Ship:- Custom Cobra DTX ' The Narcissi '
Status:- Clean
Rating:- Competent
Occupation:- Trader/freelance private transporter
Location:- G1
'Would it help if I got out and pushed?'
Status:- Clean
Rating:- Competent
Occupation:- Trader/freelance private transporter
Location:- G1
'Would it help if I got out and pushed?'
Re: New model utilities
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.
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.
My OXPs via Boxspace or from my Wiki pages .
Thargoid TV
Dropbox Referral Link
Thargoid TV
Dropbox Referral Link
- Cmdr Radan
- Competent
- Posts: 63
- Joined: Sat Feb 19, 2011 6:06 pm
- Location: UK
Re: New model utilities
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
I'm assuming, I can put it into a file (any) along side my ship.obj
then follow the instructions
Ship:- Custom Cobra DTX ' The Narcissi '
Status:- Clean
Rating:- Competent
Occupation:- Trader/freelance private transporter
Location:- G1
'Would it help if I got out and pushed?'
Status:- Clean
Rating:- Competent
Occupation:- Trader/freelance private transporter
Location:- G1
'Would it help if I got out and pushed?'
Re: New model utilities
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...
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...
My OXPs via Boxspace or from my Wiki pages .
Thargoid TV
Dropbox Referral Link
Thargoid TV
Dropbox Referral Link
- Cmdr Radan
- Competent
- Posts: 63
- Joined: Sat Feb 19, 2011 6:06 pm
- Location: UK
Re: New model utilities
searched for it, google sent me back here
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.
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.
Ship:- Custom Cobra DTX ' The Narcissi '
Status:- Clean
Rating:- Competent
Occupation:- Trader/freelance private transporter
Location:- G1
'Would it help if I got out and pushed?'
Status:- Clean
Rating:- Competent
Occupation:- Trader/freelance private transporter
Location:- G1
'Would it help if I got out and pushed?'
Re: New model utilities
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.
My OXPs via Boxspace or from my Wiki pages .
Thargoid TV
Dropbox Referral Link
Thargoid TV
Dropbox Referral Link
Re: New model utilities
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.Cmdr Radan wrote:searched for it, google sent me back here
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.
"A brilliant game of blasting and trading... Truly a mega-game... The game of a lifetime."
(Gold Medal Award, Zzap!64 May 1985).
(Gold Medal Award, Zzap!64 May 1985).
Re: New model utilities
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.
Cmdr Radan - try those and see how you get on. Personally I use obj2dat.py rather than any of the other variants available there.
My OXPs via Boxspace or from my Wiki pages .
Thargoid TV
Dropbox Referral Link
Thargoid TV
Dropbox Referral Link
- Commander McLane
- ---- E L I T E ----
- Posts: 9520
- Joined: Thu Dec 14, 2006 9:08 am
- Location: a Hacker Outpost in a moderately remote area
- Contact:
Re: New model utilities
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).
You could also search for links here on the boards (there is a search function at the top right of the page).
- Cody
- Sharp Shooter Spam Assassin
- Posts: 16081
- Joined: Sat Jul 04, 2009 9:31 pm
- Location: The Lizard's Claw
- Contact:
Re: New model utilities
Worth mentioning Dizzy's search tool. I think it's still available and still works.Commander McLane wrote:(there is a search function at the top right of the page).
I would advise stilts for the quagmires, and camels for the snowy hills
And any survivors, their debts I will certainly pay. There's always a way!
And any survivors, their debts I will certainly pay. There's always a way!
- Cmdr Radan
- Competent
- Posts: 63
- Joined: Sat Feb 19, 2011 6:06 pm
- Location: UK
Re: New model utilities
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?
* 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?
Ship:- Custom Cobra DTX ' The Narcissi '
Status:- Clean
Rating:- Competent
Occupation:- Trader/freelance private transporter
Location:- G1
'Would it help if I got out and pushed?'
Status:- Clean
Rating:- Competent
Occupation:- Trader/freelance private transporter
Location:- G1
'Would it help if I got out and pushed?'
- Cmdr Radan
- Competent
- Posts: 63
- Joined: Sat Feb 19, 2011 6:06 pm
- Location: UK
Re: New model utilities
*edit* sorry to be a nusance, this is driving me crazyCmdr 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?
Ship:- Custom Cobra DTX ' The Narcissi '
Status:- Clean
Rating:- Competent
Occupation:- Trader/freelance private transporter
Location:- G1
'Would it help if I got out and pushed?'
Status:- Clean
Rating:- Competent
Occupation:- Trader/freelance private transporter
Location:- G1
'Would it help if I got out and pushed?'
Re: New model utilities
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
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
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.
The Grey Haired Commander has spoken!
OK so I'm a PC user - "you know whats scary? Out of billions of sperm I was the fastest"
OK so I'm a PC user - "you know whats scary? Out of billions of sperm I was the fastest"