General Category > ASL Scripts

Converting a mesh to script - is this possible?

(1/3) > >>

NickD:
Hello,
The problem I encounter is following: I have some meshes drawn, that i want to have on script.
It will be difficult and time consuming to write each script on hand. Can it be made automatically?

BOB_I_Ts:
yes with in reason ,you need to be more specific on what the script has to do !

example of yes trinity export script
what it does is convert any mesh into a parametric shape plugin and allow you to merge 2 morph altered versions of same model

NickD:
Ok, i will be more specific.
I'm working on a software, which can create a 3D model of the ship, according only of few parameters you enter.
The software automatically generates a script, which can be started at the anim8or.
I've already started with a ship hull script, you can see at this thread: http://www.anim8or.com/smf/index.php?topic=1704.0
For now I've gone further, and now develop a C++ software with a graphical interface.
The concepts of the hull and superstructure creation are ok, and they works. But i want to have some predefined 3D models (like guns, projectors, wintches, anchors etc.) which can be added to the model. These models must be added as a part of the script. So i want them as a script. But it is easier to draw the models and somehow convert them to a subscript, which can be imported in the main generated script.

I've looked of the topics here and found that import scripts are not supported.
But I run to another idea - to make an EXPORT script which generated a SHAPE CREATION SCRIPT, i will use then :)
I think the idea will work and i will try now.

About my software - it is still on "concept proving" stage, but it works. I can publish a current build if someone interested, but it will need much more work to be a finished product.

NickD:
I've done it!
See the attached plugin.
It is first variant and imports only shape, not the materials and textures, but solves the problem.

BOB_I_Ts:
good that you found solution you needed ,dont forget to let us know about your new software in general when ready to realease it

Navigation

[0] Message Index

[#] Next page

Go to full version