patmo141 / odc_public

Addon for Blender meant to streamline dental CAD and design workflows
96 stars 44 forks source link

ODC broken on Linux (and probably on Mac) due to Folder symbol (/ instead of \) #52

Open MgItap opened 5 years ago

MgItap commented 5 years ago

Hi. Fisrt of all, thank you for all.

There are missing lots of functionalities of ODC on my Linux Blender 2.79b.

Then running Blender from terminal, with ODC installed, it outputs:


Read prefs: /home/marcos/.config/blender/2.79/config/userpref.blend found bundled python: /home/marcos/z_Progr/blender-2.79b-linux-glibc219-x86_64/2.79/python /home/marcos/.config/blender/2.79/scripts/addons/odc_public-master SETTINGS FOLDERPATH /home/marcos/.config/blender/2.79/scripts/addons/odc_public-master /home/marcos/z_Progr/blender-2.79b-linux-glibc219-x86_64/2.79/scripts/addons/odc\data\ The Crypto module was not found! CDT not supported REGISERESTED THE ADDON PREFERENCES? loaded bridges verified scene in -0.000005 seconds loaded splints

Saved session recovery to '/tmp/quit.blend' Blender quit

It catches my attention this line

/home/marcos/z_Progr/blender-2.79b-linux-glibc219-x86_64/2.79/scripts/addons/odc\data\

since it is using the windows default folder symbol \, but unix like systems use the / symbol for folders...

MgItap commented 5 years ago

Hi again.

Found a good and fast explanation at:

https://stackoverflow.com/questions/16010992/how-to-use-directory-separator-in-both-linux-and-windows-in-python

Hope it helps.