Dear all,
I'm hoping someone will be able to advise me on how to resolve this error. I have tried numerous times to open files exported from Blender 2.74 in .obj, .stl or .ply formats, but get the same error message each time: 'The document "testCube.obj" could not be opened. Unknown or missing file'.
Below is a description of how I generate the error, starting with the default cube object in Blender 2.74 and ending with Xcode7 beta:
- Open Blender. The 3D viewport contains the default cube object.
- In the Properties Window, click on the Materials button
- In the Diffuse panel, set the colors to Red: 0.5, Green: 1.0, Blue: 1.0
- Save the file as 'testCube' to a folder on my desktop
- Select File > Export > Wavefront(.obj)
- In the resulting Export window, click 'Export OBJ' without making any adjustments to the default settings in the 'Export OBJ' panel on the left hand side.
- Two files are saved to my folder: testCube.obj and testCube.mtl
- First approach to opening the file in Xcode7: Two-finger-click on testCube.obj, select 'Open With', then select 'Xcode-beta (default)'. Outcome: Xcode spends a few moments opening then displays this message: 'The document "testCube.obj" could not be opened. Unknown or missing file'.
- Second approach: Open Xcode7 and create a new SceneKit project. Drag testCube.obj into 'art.scnassets' folder. Double-click on testCube.obj within Xcode7. Outcome: The same error message.
- Repeating steps 5 - 9 for .ply and .stl formats results in the same error.
As an aside, I am able to open a .dae file exported in the same manner as steps 5 - 9 in Xcode7 beta without any error.
Please help if you can.