I'm creating a POC for visualizing STP files in a Java application.
I try to import the step file using the Importer().readFile() method and this gives a
Exception in thread "main" kotlin.KotlinNullPointerException
at uno.kotlin.UtilKt.getUrl(util.kt:22)
at uno.kotlin.UtilKt.getUri(util.kt:21)
at assimp.Importer.readFile(Importer.kt:308)
This by only set this line of code:
AiScene scene = new Importer().readFile(fileName, 0);
fileName variable is the full path to the stp file.