christopherpoole / CADMesh

A CAD file interface for GEANT4
MIT License
146 stars 66 forks source link

STL files start with 'solid' #40

Open yamarak opened 3 years ago

yamarak commented 3 years ago

I use a STL file start with solid, but get this error message.

yamarak commented 3 years ago

My file start like this, there is no character before 'solid': solid ASCII facet normal 9.932384e-01 1.160929e-01 0.000000e+00 outer loop vertex -5.838269e+00 -1.383695e+00 2.450000e+01 vertex -5.838269e+00 -1.383695e+00 2.250000e+01 vertex -6.000000e+00 0.000000e+00 2.450000e+01 endloop endfacet

yamarak commented 3 years ago

Is the way I cited the file wrong? I put the stl file in the root directory of the project, and DetectorConstruction in /src. How can I cite the stl file in this case?

jmill6 commented 2 years ago

Hi, I am having a similar issue and was wondering if you had found a solution for this.