DXF import does not start when there is a scene georeferencing #62493
Labels
No Label
Interest
Animation & Rigging
Interest
Blender Cloud
Interest
Collada
Interest
Core
Interest
Documentation
Interest
Eevee & Viewport
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
Import and Export
Interest
Modeling
Interest
Modifiers
Interest
Nodes & Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds, Tests & Devices
Interest
Python API
Interest
Rendering & Cycles
Interest
Sculpt, Paint & Texture
Interest
Translations
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Meta
Good First Issue
Meta
Papercut
Module
Add-ons (BF-Blender)
Module
Add-ons (Community)
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
10 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender-addons#62493
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
System Information
Operating system: Ubuntu 18.04
Graphics card: GeForce GTX TITAN X (GM200)
Blender Version
Broken: 2.80, e6eb7b9ccee1, 2019-03-11 23:54
DXF importer fails to start when I have a georeferencing in the scene.
Exact steps for others to reproduce the error
I have there a georeferencing created by BlenderGIS addon. My exact steps were:
When I try to run it in a fresh scene without any georeferencing, it works.
Added subscriber: @VaclavCermak
#94666 was marked as duplicate of this issue
#86451 was marked as duplicate of this issue
Added subscriber: @lichtwerk
Not sure about the exact workflow, I assume we are talking about https://github.com/domlysz/BlenderGIS?
(This addon is not maintained by blender...)
However, if you could provide a .blend file with georeferencing included, we might have a look...
(exact steps in regards to "try to start DXF importer" would help here)
Otherwise report the error over here https://github.com/domlysz/BlenderGIS/issues?
Yes, that BlenderGIS.
As for reproducibility of the problem, simply open provided file and try to run DXF import (File / Import / AutoCAD DXF). Assuming you have that addon enabled, of course.
dxf_import_problem.blend
Added subscriber: @mont29
My bet would be that your blender setup does not have access to pyproj, DXF code is probably wrong in that case? At least it seems to have a very limited set of projections defined when it cannot find that python module…
I have just tried to install python3-pyproj (wasn't in my system before - you are right), but no luck. Perhaps Blender is unable to reach it? I have a version downloaded as tarball from blender.org, simply extracted.
yes, blender archives from our download site are 'self contained', they (nearly) use no system library, so installing python pyproj on your system won't help. What you can try is copying the module files installed by that package into your blender app directory (path should be something like
/path/to/blenderdir/2.80/python/lib/python3.7/
), if they are pure python (with no compiled.lib
binaries).you could also try getting it through pip
with pyproj installed (through pip) I can open
dxf_import_problem.blend
and start the DXF import, however - workflowwise - I am unsure what to do next? I need to select a SRID, which one?So one step further but not perfect. Bastien was right, with pyproj installed (by pip, but it doesn't matter) I can start dxf import.
But it immediatelly complains that "proj_create: crs not found". I have tried to select "Czech republic & Slovakia", it still complains everytime I put my mouse over dxf import panel. And when I try to start import, I get this:
It would be nice, if it was able to get CRS and geoloc defined by BlenderGIS, they are stored as custom scene properties.
Added subscriber: @rjg
Changed status from 'Needs Triage' to: 'Needs User Info'
@VaclavCermak Is this still an issue in the Blender 2.91 or 2.92 and the current version of BlenderGIS? Correct if I'm wrong but this currently sounds like a problem with a third-party add-on and its dependencies, not like a bug in Blender.
Yes it is. But you are right, it is not a bug in Blender. It is about incompatibility between DXF importer and BlenderGIS. Each one stores georeferencing information in a different way.
Changed status from 'Needs User Info' to: 'Needs Triage'
I can reproduce the issue from the original report and the error in the most recent comment when
pyproj
is installed and"Czech republic & Slovakia"
is selected. However, I'm not sure if this is an issue with the DXF add-on, the pyproj dependency or the input data?@VaclavCermak Didn't refresh the page fast enough to see your comment.
@lichtwerk @mont29 Can this be closed then or should the DXF importer get additional save guards that handle this case gracefully and therefore the ticket should be confirmed?
In my opinion either DXF importer or BlenderGIS should be made compatible to the other one.
Added subscribers: @jcmind, @JaumeBellet
Hello.
I´ve been using this two add-ons in previous versions of Blender (prior to 2.92.0) and they worked fine, without interference on both.
My workflow starts in AutoCad > export dxf files >Import in Blender > Model the project > Import BlenderGIS info to make 3d surroundings of the project > Export as .fbs file to Twinmotion
Unfortunately i think i have to install a later version of Blender for this to work again, so i think this is an issue of Blender 2.92.0
I´m just ignorant in coding so i cannot help to solve this problem, so if you can help that would be really great because i can use the new features in Blender which are so awesome.
Thanks!!
Uploaded diff, i imported correctly a DXF, once loaded DXF_import_problem.blend (without need to install pyproj)
#86451 was complaining aobut "EPSG:3857" not found, the diff uploaded only adds "USER", because was the one found on blend file supplied.
Anyone knows where can be found a complete list, and how this affects to import ¿?
Added subscriber: @EAW
https://epsg.io/about might be helpful.
EDIT:
@JaumeBellet There is a issue on BlenderGIS's github about this issue.
Google Translated @domlysz's relevant comment.
Added subscriber: @domlysz
Added subscribers: @rocstar293, @PratikPB2123
Changed status from 'Needs Triage' to: 'Confirmed'