3D Coat AppLink for Cheetah 3D

3D Coat AppLink for Cheetah 3D

Hi all,

I've been doing some scripting this weekend and came up with the implementation of a 3D Coat AppLink.

It has all the basic functionality like export to Paint-Room, UV Mapping, Voxel Sculping with the following limitations:

- (has been resolved with update v1.1) Automatic texture import is not working due to Cheetah 3D API bug (I think this is due to the new node system - once this is resolved from Martin, I will add it). This means you will have to manually assign diffuse, specular, bump maps. However, I think it is not too much of a constraint.
- (has been resolved with update v1.1) Dropping objects directly from 3D Coat to Cheetah is not implemented as of now, although the code for the creation of the necessary files / directory structure is mostly done but commented out. 3D Coat export file menu option would not appear on my system - I think I will have to further look into this later on.
- On reimport to Cheetah, only merge operation will be performed as there is no API for deleting meshes / materials from a scene.

Let me know if you find any bugs so that I can sort it out - at the end it was done this weekend only, so don't expect too much of testing from my end ;-)

You can find a demonstration video on YouTube

The installation is performed by dropping the script into Cheetah's scripts/tool folder and launch it as shown in the video.
You will have to specifiy the 3D Coat exchange folder location during the initial execution of the plugin.

Best regards,
Ron.

P.S. Special thanks to Hiroto for his permission to use most parts of his OBJ importer. Without his work this plugin would not be possible.


-------------------

Update v1.1

- Improved material import/export
- Automatic import of textures / materials through workaround solution using native Cheetah3D materials (.c3dmat)
- Direct export from 3D-Coat to Cheetah3D (if you don't want Cheetah3D to be automatically launched on export from 3D-Coat, just set the C3D application path to something invalid during configuration)
- Configuration walkthrough added (automatically run during initial execution of the plugin and manually through toolbar button)
- Import scale parameter added (export scale can be modified through export options within Cheetah, OBJ import is done via script and has therefore be set via this parameter option).

Demonstration videos:

Configuration
Material/Texture Import/Export
3DC Direct Export

- 3D-Coat AppLink v1.1 - Installation Notes

1. Delete the old 3DCAppLink.js file from the Cheetah3D script folder
2. Unzip 3D-Coat-AppLink.zip to directory
/Users/YourUser/Library/Application Support/Cheetah3D/scripts/3D-Coat
3. Create and alias to 3D-Coat.js and copy it to
/Users/YourUser/Library/Application Support/Cheetah3D/scripts/Tool
4. Launch Cheetah3D and select menu option Tools > Script > Tool Script > 3D-Coat.js
5. Follow the configuration dialog.

Best regards,
Ron.
 

Attachments

  • 3D-Coat-AppLink-v1.1.zip
    45.8 KB · Views: 1,029
Last edited:
Hi Ron
i test your Uplink Script for the first shot it works but has some limitations like every time i reimport from 3dc. i get a new model in tree .
I hope you get Textures working and Voxel export isn't working i get a empty Scene in 3dc at this small test time i get only working to transfer a model to paint and one time back if i export again i get a new model in 3dc and reimport a new one in c3d.

If your Script is full working it will be a very helpful tool for all 3dc and c3d Users thanks a lot for your work at tis time and i hope you dont stop developing on that.

Andre


Hi all,

I've been doing some scripting this weekend and came up with the implementation of a 3D Coat AppLink.

It has all the basic functionality like export to Paint-Room, UV Mapping, Voxel Sculping with the following limitations:

- Automatic texture import is not working due to Cheetah 3D API bug (I think this is due to the new node system - once this is resolved from Martin, I will add it). This means you will have to manually assign diffuse, specular, bump maps. However, I think it is not too much of a constraint.
- Dropping objects directly from 3D Coat to Cheetah is not implemented as of now, although the code for the creation of the necessary files / directory structure is mostly done but commented out. 3D Coat export file menu option would not appear on my system - I think I will have to further look into this later on.
- On reimport to Cheetah, only merge operation will be performed as there is no API for deleting meshes / materials from a scene.

Let me know if you find any bugs so that I can sort it out - at the end it was done this weekend only, so don't expect too much of testing from my end ;-)

You can find a demonstration video on YouTube

The installation is performed by dropping the script into Cheetah's scripts/tool folder and launch it as shown in the video.
You will have to specifiy the 3D Coat exchange folder location during the initial execution of the plugin.

Best regards,
Ron.

P.S. Special thanks to Hiroto for his permission to use most parts of his OBJ importer. Without his work this plugin would not be possible.
 
Hi Ron
i test your Uplink Script for the first shot it works but has some limitations like every time i reimport from 3dc. i get a new model in tree .
I hope you get Textures working and Voxel export isn't working i get a empty Scene in 3dc at this small test time i get only working to transfer a model to paint and one time back if i export again i get a new model in 3dc and reimport a new one in c3d.

If your Script is full working it will be a very helpful tool for all 3dc and c3d Users thanks a lot for your work at tis time and i hope you dont stop developing on that.

Andre

Hi Andre, thanks a lot for your valuable input. It helps a lot. Regarding the limitations you mention:

- Every reimport from 3DC to C3D creates a new model: This is correct is a current limitation as Cheetah3D does not provide a API for deleting/removing objects. So only a merge operation can be performed. I already talked to Martin regarding this if it was possible to include such a API call. He is currently very busy with 3.6 so it's unsure to what extent he can cover such wishes. Once this is available I will immediately include the option to either merge or replace an object on import to C3D.
- Automatic texture import: the current API call of Cheetah3D has a bug, so it is not possible right now in C3D to automatically assign the texture via API. The same applies as to the previous point, I have highlighted this to Martin and hopefully this will get fixed/integrated in the Cheetah3D API.
- Voxel export: I will have a look at it today in the evening and probably we can talk via pm in case this issue cannot be reproduced on my system. The video that I have posted does use the export to voxel room - so I might need to get some more information from you.

Thanks again for your test-run of it. It provides me with some real important feedback.

Kind regards,
Ron.
 
Hi Ron
the voxel import woks the size is so small of the imported mesh so that i must first scale it bigger i think it is a problem about the two world systems they are not in the same measurement .
At the moment aim very frustrated about 3dc i have hassle with it like memory leaks or cashes and some other things i use now the 4th beta but i have needed 5 minutes to stop my hole mac with it some things dont work or brings 3dc to crash.

Your Script works very well at this time i hope Martin will remove the Texture Bug than your script is a very good uplink to 3dc (if 3dc works)

Andre


- Voxel export: I will have a look at it today in the evening and probably we can talk via pm in case this issue cannot be reproduced on my system. The video that I have posted does use the export to voxel room - so I might need to get some more information from you.

Thanks again for your test-run of it. It provides me with some real important feedback.

Kind regards,
Ron.[/QUOTE]
 
Hi Ron
the voxel import woks the size is so small of the imported mesh so that i must first scale it bigger i think it is a problem about the two world systems they are not in the same measurement .

Yes of course, you are right. I didn't even notice really - I was already so used to scale it up. I will adjust this and upload an update when done :)

Regarding 3D Coat stability you are right with the OSX version. I also have troubles from time to time that it hangs or I experience memory leaks. I assume Andrew is working on this. I read that he would post a new version these days.
 
Hi Ron
cool, i think it was very perfect if the imported mesh has same scale as in c3d.
the back import is every time ok and has the same size than the original.

I am sure if your script is ready and Martin fixes the api Bugs it is a very useful tool to work with both programs.

greetings from rainy germany

Andre


Yes of course, you are right. I didn't even notice really - I was already so used to scale it up. I will adjust this and upload an update when done :)

Regarding 3D Coat stability you are right with the OSX version. I also have troubles from time to time that it hangs or I experience memory leaks. I assume Andrew is working on this. I read that he would post a new version these days.
 
Hi Ron
did you work on that script or is your project closed ;-) can you giv us some information about new versions if some coms up.

Hi all,

I've been doing some scripting this weekend and came up with the implementation of a 3D Coat AppLink.

It has all the basic functionality like export to Paint-Room, UV Mapping, Voxel Sculping with the following limitations:


Best regards,
Ron.

P.S. Special thanks to Hiroto for his permission to use most parts of his OBJ importer. Without his work this plugin would not be possible.
 
Update is almost done. It will include a workaround for material / texture import due to the missing Cheetah API. Also texture/material export has been updated. Moreover, configuration dialogs and direct export from within 3D Coat towards Cheetah3D. Import/Export scale parameters still need to be added if necessary. So it took a little longer than expected. Busy days. Expect me to post the update within the upcoming days.

Best regards,
Ron.
 
Last edited:
Hi, Ron

nice and promissing :) .

we have to wait next Cheetah3D's update for improving some ( material system, animation keying, joint wait, etc. ), though. :cool:

thank you for sharing.

regards.

tg_jp, Hiroto.
 
3D-Coat-AppLink v1.1

3D-Coat-AppLink v1.1 has been uploaded. Please find the update in the initial post. Installation notes and brief overview has been updated in the initial post as well.

Best regards,
Ron.
 
3D-Coat AppLink specification 1.2

Development on 3D-Coat AppLink specification 1.2 has been started. Updates will include the following:

  • Drop mesh in 3D-Coat as a curve profile
  • Skip 3D-Coat import dialog
  • Skip 3D-Coat export dialog
  • Options to selectively export color / specular / normalmap from 3D-Coat
  • Texture files extension (TGA / BMP / PNG / JPG)
  • Export resolution (low-poly / mid-poly)

Best regards,
Ron.
 
how are things working out on the v1.2 ?

Its really great that you have taken the time to make this app link !
and I hope it will continue to grow as the combination of cheetah3d and 3d-coat with your applink really is awesome.
 
Hi there,

I'm having trouble getting this script to work on the latest C3D and v4 3D Coat on Mavericks? Not sure what is meant by "making an alias" to the script in the "tool" folder... either way as an alias it simply crashes Cheetah when selecting the script in the tool panel.

Thanks.
 
Happy New Year everyone, is this script still working and what are the steps for installation?

do I need to create a folder somewhere?

tried a few times no results

what goes where?

3D-Coat AppLink v1.1 - Installation Notes





1. Unzip 3D-Coat-AppLink.zip to directory


/Users/YourUser/Library/Application Support/Cheetah3D/scripts





2. Create and alias to 3D-Coat.js and copy it to (what does this section mean) ?


/Users/YourUser/Library/Application Support/Cheetah3D/scripts/Tool





3. Launch Cheetah3D and select menu option Tools > Script > Tool Script > 3D-Coat.js





4. Follow the configuration dialog.
 
Last edited:
I can´t tell if it´s still working. The procedure is very precise and easy to follow - although I recaive an error message most likely because I don´t have 3D-Coat in my portfolio or it´s because of macOS security checks:
3dcoatAppLinkInstall.png
 
Back
Top