3D Markup Language for Web - Open Source platform for creating 3D and 2D interactive web content
Post new topic Reply to topic  [ 7 posts ] 
Author Message
 Post subject: Here is Python script for exporting 3DMLW from Blender
PostPosted: Fri Aug 22, 2008 2:29 pm 
User avatar

Joined: Mon Sep 10, 2007 4:20 pm
Posts: 8
See the file attached.
Have fun with testing and please send some feedback!

For exporting 3ds files go into Blender directory and copy/symlink file .blender/scripts/3ds_export.py to .blender/scripts/export_3ds.py


Attachments:
3dmlw_exporter.py [7.83 KB]
Downloaded 354 times

_________________
3D Technologies R&D
http://www.3dtech.ee
Top
 Profile  
 
 Post subject: Re: Here is Python script for exporting 3DMLW from Blender
PostPosted: Fri Aug 29, 2008 1:54 am 

Joined: Thu Aug 14, 2008 3:23 am
Posts: 2
I have an issue with this python file.
windows 2000
Most recent python verion.

It say missing export_3ds file does not exist.
I would this is the file: export_3ds.py and it does exist?

Help Anyone?


Top
 Profile  
 
 Post subject: Re: Here is Python script for exporting 3DMLW from Blender
PostPosted: Fri Aug 29, 2008 3:49 pm 

Joined: Fri Jun 20, 2008 11:47 am
Posts: 2
jamesghansen wrote:
I have an issue with this python file.
windows 2000
Most recent python verion.

It say missing export_3ds file does not exist.
I would this is the file: export_3ds.py and it does exist?

Help Anyone?


Did you copy file <BLENDER DIRECTORY>/.blender/scripts/3ds_export.py to <BLENDER DIRECTORY>/.blender/scripts/export_3ds.py? That's necessary because Python can't import files, if file name begins with number.


Top
 Profile  
 
 Post subject: Re: Here is Python script for exporting 3DMLW from Blender
PostPosted: Thu Oct 23, 2008 8:24 am 

Joined: Sun Oct 19, 2008 3:14 am
Posts: 3
Tres Cool 8-)

Makes breaking (crash) 3DMLW too easy, but, makes a great outline for a project.

The texture images have to be put in the target directory manually, but that's fine, keeping those organized are up to the blenderer (artist/developer).

On export it prompts to overwrite each file so the user should (and will learn to) delete all files they intend to replace and make copies of any they have modified manually they want to keep.

Regardless, very useful, glad to see blender in this arena.


Top
 Profile  
 
 Post subject: Re: Here is Python script for exporting 3DMLW from Blender
PostPosted: Fri Oct 31, 2008 4:23 pm 

Joined: Fri Oct 31, 2008 4:20 pm
Posts: 2
I am not sure why textures has vanished when I open the exported file in browser.

Thanks


Top
 Profile  
 
 Post subject: Re: Here is Python script for exporting 3DMLW from Blender
PostPosted: Fri Oct 31, 2008 4:52 pm 

Joined: Fri Jun 20, 2008 11:47 am
Posts: 2
abab wrote:
I am not sure why textures has vanished when I open the exported file in browser.

Thanks

Did you copy texture images to folder containing the 3dmlw file? Currently, exporter script doesn't automatically copy texture files.


Top
 Profile  
 
 Post subject: Re: Here is Python script for exporting 3DMLW from Blender
PostPosted: Fri Oct 31, 2008 5:02 pm 

Joined: Fri Oct 31, 2008 4:20 pm
Posts: 2
trepan wrote:
abab wrote:
I am not sure why textures has vanished when I open the exported file in browser.

Thanks

Did you copy texture images to folder containing the 3dmlw file? Currently, exporter script doesn't automatically copy texture files.


They are all there. I created a cube. Added UV texture and exported as 3ds as well as 3dmlw. The texture pic is in the same folder 3ds and 3dmlw files are. It still would not recognise. I am trying to figure out now why?

Aigars

SOrted. It seems like it did not like the format - even though it was jpeg. Strange.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 7 posts ] 

All times are UTC + 2 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron