BlenderGIS
BlenderGIS copied to clipboard
bgis_utils.py for blender4
Manually patching the release on my machine with those changes worked for me π
This fixed the issue.
Editing this line in the code resolved the error I was getting. Nice!
@domlysz This fix is crucial to fix BlenderGIS not working on 4.0. Do you plan to merge this PR soon?
The bad news here is that this repository has not been maintained for more than a year and a half. @domlysz has not been active on GitHub since mid 2022. Should somebody make a fork and make this project go forward? If so, I will be happy to take that opportunity.
@dstuessy > Manually patching the release on my machine with those changes worked for me π
What were your steps for patching it? I'm downloading the ZIP, extracting, modifying the line, re-zipping, then trying to install in Blender, but it won't install. No error messages, just no new add-on after install.
In the meantime, my workaround was to install Blender 3.6. You can have both 4 and 3.6 at the same time, just shows up as a different app. The export works fine in 3.6.
BINGO - Found the issue giving all the errors!!! And it has nothing to do with using an older or brand new version of Blender. When I copied and pasted the Opentopography API code into the SRTM area to get the elevation, I did not notice it had an empty space all the way to the left. After I deleted the non visible space in the code it worked fine in all new and old versions of Blender.
Making sure the API code was all the way to the left was the fix on mac and pc
........ but for others with issues - it would be SUPER nice if someone would share the info on (Manually patching the release) in a step by step for the fix since everyone is having similar issues?
Yeah, I believe @domlysz should at least assign co-maintainers...
LGTM! It works for me. I want the producer to merge this PR, or I want someone to fork this neglected project.
if I forked would y'all support it? caus I canπ
I'll be happy to do so :)
I'll be happy to do so :)
alright, i'd have to figure out the copyright situation first and then I can fork it bc I don't wanna get in legal trouble
I think this issue has been resolved with #850, which has been merged into master already
I've seen #850, but the new release has not been made since.. Blender 4 came out months ago and this time delay does matter, in my opinion.
Just downloaded BlenderGIS and experienced the same issue with exporting
I opened the relevant Python file and found that the relevant lines had been updated with an IF version >3 THEN use same code lines as listed in this thread (OR use previous code)
But it doesn't work.
I tried removing the IF and OR, saved the file, rezipped, but when I try to install in Blender the addon doesn't appear.
Quid?
Blender 4.1