Open nathaneltitane opened 1 year ago
I'm bumping this issue since I had the same problem.
At first the problem was with downloading the zip archive, so I manually placed it in the download folder. I moved one step forward, but there' some output from addon installation so LeoCAD complains.
I even tried to install the addon manually inside Blender, but I can't find it in the list of Add-ons.
I suspect something might have been changed in Blender and the addon is no longer compatible (maybe?).
Some extra info: I'm using Blender 4.2.3 LTS, downloaded as AppImage and started it from terminal, nothing fancy.
Hello Davide - Some questions if you don't mind...
At first the problem was with downloading the zip archive, so I manually placed it in the download folder.
but there' some output from addon installation so LeoCAD complains.
I even tried to install the addon manually inside Blender, but I can't find it in the list of Add-ons.
Version 1.5.5 and later was tested on Blender 4.2.1 (zip distro) on Windows 11.
Cheers,
Hello,
below you can find the requested answers:
At first the problem was with downloading the zip archive, so I manually placed it in the download folder. I moved one step forward, but there' some output from addon installation so LeoCAD complains.
The download behaviour is most likely because the AppImage build is not able to resolve required SSL paths - which produces this output on LeoCAD appimage startup:
qt.network.ssl: QSslSocket: cannot resolve EVP_PKEY_base_id
qt.network.ssl: QSslSocket: cannot resolve SSL_get_peer_certificate
qt.network.ssl: QSslSocket: cannot call unresolved function SSL_get_peer_certificate
I even tried to install the addon manually inside Blender, but I can't find it in the list of Add-ons.
You must use the addon install script to perform the installation otherwise the addon will not be properly configured. This is most likely why you do not see the addon inside Blender after attempting to install the modules directly from the Blender UI.
I'm trying to replicate your environment (using WSL2) without success. LeoCAD is ok but Blender 4.2.3 immediately segfaults on launch with an EGL Error (0x3009): EGL_BAD_MATCH: Arguments are inconsistent (for example, a valid context requires buffers not supplied by a valid surface).
error. I also tried with a Docker Ubuntu image using Xsrv and could not get Blender to start there either.
The net-net is I wasn't able to actually test the following guidance on manually installing the addon using the addon script.
The following assumes Blender and LDraw are installed at /home/tampe125/software
, change accordingly.
export LDRAW_DIRECTORY=/home/tampe125/software/ldraw
export ADDONS_TO_LOAD=[{"load_dir":"/home/tampe125/.local/share/LeoCAD Software/LeoCAD/Blender/addons/io_scene_import_ldraw","module_name":"io_scene_import_ldraw"},{"load_dir":"/home/tampe125/.local/share/LeoCAD Software/LeoCAD/Blender/addons/io_scene_import_ldraw_mm","module_name":"io_scene_import_ldraw_mm"},{"load_dir":"/home/tampe125/.local/share/LeoCAD Software/LeoCAD/Blender/addons/io_scene_render_ldraw","module_name":"io_scene_render_ldraw"}]
cd "/home/tampe125/.local/share/LeoCAD Software/LeoCAD/Blender/"
wget . "https://github.com/trevorsandy/blenderldrawrender/releases/download/v1.5.6/LDrawBlenderRenderAddons.zip"
unzip LDrawBlenderRenderAddons.zip
--disable_ldraw_import_mm
to Enable LDraw Import TN)/home/tampe125/software/blender-4.2.3/blender-launcher --background --python install_blender_ldraw_addons.py -- --leocad --disable_ldraw_import
If there are any problems, you can check the stderr and stdout logs which will be deposited at your present location.
Additionally, before launching the addon dialog in LeoCAD, review the LDrawRendererPreferences.ini file in ./setup/addon_setup/config
to ensure
keys ldrawdirectory, ParameterFile, ldrawpath have valid values.
Open the addon dialog in LeoCAD and confirm no errors in configuration.
Cheers,