Error importing .obj from Photoshop (filename with space) #72148
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
4 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender-addons#72148
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: Windows-10-10.0.17763 64 Bits
Graphics card: GeForce GTX 1080/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 419.67
Blender Version
Broken: version: 2.81 (sub 16), branch: master, commit date: 2019-11-20 14:27, hash:
blender/blender@26bd5ebd42
Short description of error
![image.png](https://archive.blender.org/developer/F8187803/image.png)
Blender throws up an error when trying to import an .obj from Photoshop.
However, the same .obj seems to open up fine in https://3dviewer.net/, so it doesn't look like the .obj is the problem.
Exact steps for others to reproduce the error
Import the attached .obj to Blender.
PhotoshopOBJTest.obj
The .mtl if needed:
PhotoshopOBJTest.mtl
Added subscriber: @0o00o0oo
Added subscriber: @Harley
One thing that jumps out is that there are filenames with spaces in there, like the following:
map_Kd -s 0.148957 0.184257 1.0 -o 0.435157 0.426390 1.0 Layer 1.psd
From the spec this line is map_Kd -options args filename. So the issue here is that the filename param contains a space in it. The specification is not clear about how to deal with spaces in file names. But the line looks otherwise okay. The -o option takes just three arguments
I have no idea how to deal with this issue, just adding information here.
This issue was breifly mentioned in a comment on this ticket:
https://developer.blender.org/T67266#728432
Added subscribers: @mont29, @lichtwerk
@Harley: thx for checking!
Well, will confirm for now... [while annoying, think this could be supported]
CC @mont29
Error importing .obj from Photoshopto Error importing .obj from Photoshop (filename with space)This issue was referenced by
bf89c1eb28
Changed status from 'Open' to: 'Resolved'