BlenderGIS icon indicating copy to clipboard operation
BlenderGIS copied to clipboard

bgis_utils.py for blender4

Open airtraxx opened this issue 6 months ago β€’ 8 comments

airtraxx avatar Dec 08 '23 08:12 airtraxx

Manually patching the release on my machine with those changes worked for me πŸ‘

dstuessy avatar Dec 17 '23 15:12 dstuessy

This fixed the issue.

HexaPulsar avatar Dec 26 '23 16:12 HexaPulsar

Editing this line in the code resolved the error I was getting. Nice!

janbuijs91 avatar Dec 30 '23 20:12 janbuijs91

@domlysz This fix is crucial to fix BlenderGIS not working on 4.0. Do you plan to merge this PR soon?

temeddix avatar Jan 05 '24 14:01 temeddix

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.

temeddix avatar Jan 05 '24 14:01 temeddix

@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.

cmorierroy avatar Jan 07 '24 19:01 cmorierroy

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.

cmorierroy avatar Jan 07 '24 20:01 cmorierroy

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 code left ........ 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?

Lisadgold avatar Jan 08 '24 06:01 Lisadgold

Yeah, I believe @domlysz should at least assign co-maintainers...

temeddix avatar Mar 02 '24 12:03 temeddix

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πŸ‘€

statulr avatar Mar 02 '24 17:03 statulr

I'll be happy to do so :)

temeddix avatar Mar 03 '24 01:03 temeddix

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

statulr avatar Mar 03 '24 13:03 statulr

I think this issue has been resolved with #850, which has been merged into master already

janbuijs91 avatar Mar 03 '24 14:03 janbuijs91

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.

temeddix avatar Mar 03 '24 14:03 temeddix

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

tzioup avatar Apr 28 '24 11:04 tzioup