Go Back   AC3D Forums > Technical > AC3D Developers
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Display Modes
Old 5th June 2006, 05:54 AM   #1
Mossie
Senior Member
Professional user
 
Mossie's Avatar
 
Join Date: Dec 2003
Location: UK
Posts: 369
Default Batch Importer

Is there a facility to run a batch import, I've some 5000 object files that I'd like to run as batches into AC3D, say 10-50 at a time. So I can rationalise them and save out as AC3D parts for a future merge.

The original model has some vast number of polys (est 9.6 million), so much to big to handle as single item.

Requirements:

Ability to select directory.
Select number of files, to allow for different sizes of file, range 2 to 50.
Import using standard import code, so OBJ, 3DS, etc available.
Make material setting on each imported file unique, to make selection easier.
Make object name as per imported file name.

Can anyone build such a tool ?
__________________
Regards, Gerry "Mossie" Mos
--------------------------------------------------------------------------
WW1 Aircraft Library
http://ww1-aircraft.info/

Mossie 3D CAD, "Prompt and Precise"
http://mossie3dcad.com/
Mossie is offline   Reply With Quote
Old 5th June 2006, 01:13 PM   #2
Andy
Administrator
Professional user
 
Andy's Avatar
 
Join Date: Jun 2003
Posts: 4,563
Default

I think this could be done with a script, but I'm afraid I don't have time to write it at the moment.

For each file, you'd do something like:

Code:
ac3d load_file $filename
ac3d set_col $your_new_col
ac3d set_current_object_name $filename
You'll need to know some tcl for this. You could add a simple UI with directory selector etc.

Andy
Andy is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



All times are GMT -4. The time now is 05:52 AM.


AC3D Forum
(C) Inivis Limited 2020