You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried to use your assimpkit framework to import a dxf file into an AR app written in swift and I am running into a few issues here. Firstly, I am not sure when to use which assimpScene method.
What did I do:
I simply created a simple swift AR application and integrated the assimpkit framework with a bridging header. Then I commented the default view controller scene which would show an aircraft and simply wrote a few lines of code to import the dxf file by an assimpScene and initialized sceneView.scene by using the modelScene attribute.
1. If I try to use the "assimpScene" method I run into a fatal error after the compilation
The issue I am facing seems to be that during that an error occurs during the unwrapping of the file causing a fatal error "Scene importing failed with error Unable to open file "DXF.dxf".
". Xcode also issues this statement: "Thread 1: Fatal error: Unexpectedly found nil while unwrapping an Optional value". I have attached a screenshot of the error and the file.
2. If I try to use the "assimpSceneNamed" method the application starts but nothing is displayed
Could you try to import the dxf file in a sample project and check whether you run into the same issue?
@Dopplereffekt94 can you please try importing the file with this app I have developed using AssimpKit: https://www.isonapps.com. If the app can import the file, then you we can categorize this as a bug. Thanks.
Dear dmsurti,
I tried to use your assimpkit framework to import a dxf file into an AR app written in swift and I am running into a few issues here. Firstly, I am not sure when to use which assimpScene method.
What did I do:
I simply created a simple swift AR application and integrated the assimpkit framework with a bridging header. Then I commented the default view controller scene which would show an aircraft and simply wrote a few lines of code to import the dxf file by an assimpScene and initialized sceneView.scene by using the modelScene attribute.
1. If I try to use the "assimpScene" method I run into a fatal error after the compilation
The issue I am facing seems to be that during that an error occurs during the unwrapping of the file causing a fatal error "Scene importing failed with error Unable to open file "DXF.dxf".
". Xcode also issues this statement: "Thread 1: Fatal error: Unexpectedly found nil while unwrapping an Optional value". I have attached a screenshot of the error and the file.
2. If I try to use the "assimpSceneNamed" method the application starts but nothing is displayed
Could you try to import the dxf file in a sample project and check whether you run into the same issue?
Thanks!
DXF Data.zip
The text was updated successfully, but these errors were encountered: