Jump to content
3DCoat Forums
haikalle

Blender Applink

Recommended Posts

Oh I see. I will fix this soon. If you want to fix manually right now please delete \Documents\3DC2Blender\Exchange_folder.txt. Then open blender and before pressing send button, please set your custom exchange folder into applink settings. But I think I can provide quick fix for this.

Share this post


Link to post
Share on other sites

OK, so I edited my previous post because I tried what you just kindly answered before having a chance to read it.

If you still need the Blender's System Console output that I deleted from the original post I can post it back.

Thanks again, haikalle.

Share this post


Link to post
Share on other sites

Question @Allabulle Did you used old applink (Where is only send button) I fould out that if you used old applink then switch to updated applink. This error occurs. If you didn't used older applink then I'm not quite sure yet what's the root of this issue.

Share this post


Link to post
Share on other sites

Nope, @haikalle I just use the one that comes with Blender, with the GetBack button.

It states in Preferences>Add-ons that the version number of the Applink is 4.9.34. I seem to remember, though, that the version number wasn't changed so it may not be that useful. I post it here just in case.

I may have used some older applink before, also with older builds of Blender and 3D Coat. It could have left some settings saved in the exchange directory. Could that be the issue? Once cleaned the folder, as stated in a post before, it works fine.

I still think that documenting this potential issue and the super easy fix could be quite handy going forward. It may not be that uncommon to go back and forth with different builds of either software. More so being all Beta. Just a thought.

Edited by Allabulle
  • Thanks 1

Share this post


Link to post
Share on other sites

@Allabulle

One more question. Did this issue occured when you changed blender version. Or did you use all the time only one version and this just started to happen with no warning? 

Share this post


Link to post
Share on other sites

@haikalle

I did use the applink in previous versions of Blender and 3D Coat.

There might have been leftovers from previous usage in the exchange folder that caused the issue. Once cleared, it all went swell.

Share this post


Link to post
Share on other sites

Thanks for your feedback. I will users let know that this could happen and easy fix for it too.

Share this post


Link to post
Share on other sites

Just few seonds ago commited these changes:

  • Mac version works now
  • It dosen’t give error message if you have selected other type than MESH anymore. It just ignores them.
  • Like 1

Share this post


Link to post
Share on other sites

Hello, displacement behaves strangely after exporting to Blender 2.82 or 2.83. in visualization mode, objects all swell up, why do objects inflate, why do the displacement parameters work incorrectly after exporting from 3D Coat to Blender?

Share this post


Link to post
Share on other sites

I would suggest to use .exr (16 or 32 bit) files with displacement maps. In my tests those works the best.

Share this post


Link to post
Share on other sites

Hi @haikalle

Thanks for all your work maintaining the Blender Applink.  I've been having some trouble with it since Blender 2.83.  Is that version supported?  I can send to 3DCoat no problem, but I'm having problems when I try to bring textured assets back.

Below is the error I'm getting.  I'm using the version of the applink you posted here most recently.

Hopefully you can point me in the right direction.  Thanks!

 

Traceback (most recent call last):
  File "C:\Users\gavin\AppData\Roaming\Blender Foundation\Blender\2.83\scripts\addons\io_coat3D\__init__.py", line 339, in invoke
    workflow1(ExportFolder)
  File "C:\Users\gavin\AppData\Roaming\Blender Foundation\Blender\2.83\scripts\addons\io_coat3D\__init__.py", line 1356, in workflow1
    blender_3DC_blender(texturelist)
  File "C:\Users\gavin\AppData\Roaming\Blender Foundation\Blender\2.83\scripts\addons\io_coat3D\__init__.py", line 1130, in blender_3DC_blender
    tex.matlab(objekti,mat_list,texturelist, is_new)
  File "C:\Users\gavin\AppData\Roaming\Blender Foundation\Blender\2.83\scripts\addons\io_coat3D\tex.py", line 697, in matlab
    readtexturefolder(objekti,mat_list,texturelist,is_new, udim_textures)
  File "C:\Users\gavin\AppData\Roaming\Blender Foundation\Blender\2.83\scripts\addons\io_coat3D\tex.py", line 300, in readtexturefolder
    createnodes(index_mat, texcoat, create_group_node, objekti, ind, is_new, udim_textures)
  File "C:\Users\gavin\AppData\Roaming\Blender Foundation\Blender\2.83\scripts\addons\io_coat3D\tex.py", line 441, in createnodes
    with open(json_address, encoding='utf-8') as data_file:
FileNotFoundError: [Errno 2] No such file or directory: 'C:\\Program Files\\Blender Foundation\\Blender 2.83\\2.83\\scripts\\addons\\io_coat3D\\data.json'

location: <unknown location>:-1

Share this post


Link to post
Share on other sites

Hi can you check if this file exists:

'C:\Program Files\Blender Foundation\Blender 2.83\2.83\scripts\addons\io_coat3D\data.json'

if you do have that file then please tell blender version u r using, 2.83.x?

EDIT: I tried with latest blender/3d-coat version and all seams to work ok in my tests. Is there a way to follow steps to see this bug?

Edited by haikalle

Share this post


Link to post
Share on other sites

I'm using Blender 2.83 and the data.json file does exist.  

Could it have anything to do with the location of my exchange folders?  If I leave those fields blank what will happen?

Share this post


Link to post
Share on other sites

I got it working.  I ended up deleting the applink and installing the new version of Blender.  2.83.5 hoping that it would just work.  

Unfortunately, when I did that, there was no 'getback' button, so I deleted the applink included in that version and installed the version you posted here and now it works.

I wonder if the problem I had previously was related to the fact that I installed the applink in my AppData folder instead of in the Blender installation folder?  I didn't check so I'm not sure if that was the issue or if it was the version of Blender that I was using.

I hope that helps.  Thanks again for your work on the Applink!  It makes things go way smoother.

Share this post


Link to post
Share on other sites

I am getting the same error as gbball but see now it works for him. I use the portable version not the installed version.

Blender version 2.83.5

Applink version 4.9.34

I completely removed  the version of the applink in 2.83.5 as only the send button was showing up. Same as gbball

Installed the applink version 4.9.24.

Deleted the 3DC2Blender folder. Blender will make a new one when first exporting an object from Blender

Make sure there was no extra information in the Exchange folder or the Blender sub folder. 

Once the above steps were completed I opened Blender:

Used the send button to export the default cube to 3DC, This works correctly and exports to 3DC.

Did a little color work on the cube in 3DC. 

Exported the cube using "export to blender using the Blender applink version" in the export option. FBX file format. Had Created my own folder for the cube earlier, exported the cube there.

Clicked on the Get Back button in Blender.

Same error as ggball though his is working now. 

By the way, "Shift Q" shows only Transfer to 3DCoat and the delete selections, there is no Get Back or update.

See anything I did wrong?

 

 

Share this post


Link to post
Share on other sites

FYI:

When I remove the applink in preferences, I have no such folder as shown in the picture. That folder is created I believe when you install Blender  and I use the Portable version.

EDIT: Strange...  To test I remove the applink again. Checked the addon folder and  the applink folder was not there.  Go to go for a re-install.

Now here is the funny part. The applink after installing using the preferences menu does not show up in the Blender Portable version of Blender's addon folder though it still appears in Blender.

 

 

problem.jpg

Share this post


Link to post
Share on other sites

@digman

Please add that io_coat3D folder into that location. See if that fixes the problem.

io_coat3D.zip

EDIT: I can understand that if you save blender in your AppData folder this could cause problems.

Edited by haikalle

Share this post


Link to post
Share on other sites

 I have nothing under my AppData folder concerning blender as I do not have Blender installed. Only using the portable version. 

The applink is pointing to a location that does not exist...

strange that the applink works at all.

I even tried to manually add Blender Foundation and all the correct subfolders to my appdata folder. adding the applinks folder" io_3dcoat folder" as it is written in the picture I posted. 

That did not work.

Can I edit where the applink installs to, Direct the install to my portable version.

Share this post


Link to post
Share on other sites

so you are using install option in preferences panel in blender. That might be the root of this issue cause I never do that when I update the addon. 

I just delete old folder from 2.83/scripts/addons and then move new folder inside of it.

Share this post


Link to post
Share on other sites

I did that first before trying the install method.  Extracted the applink folder. Dropped it in the addons folder.

Blender in preferences did not see it to enable it. I refreshed the list, a no go.

I am kinda rusty though having not use the computer or blender for awhile due to family medical reasons.

Do not worry about it now, I will look later again.

 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×