You can clone with
No one assigned
Referral to my problem is below. The issue is fairly old now but there's a response to Ricola3D's answer that I need help to solve.
I don't understand the issue?
Can you try to run python -m SimpleHTTPServer in the folder of your index.html and then access the demo through http://localhost:8000/ ? This should rule out any access denied issues.
I'm not in a location to run that right now, I'm running Apache remotely through WinSCP but you can check this out real quick http://linuxp.idcast.com/nathan/structure/NewFile1.html , this is what I'm trying to run, these are all of the models I've tried http://linuxp.idcast.com/nathan/models .
this looks all good to me (the code) but it doesn't render for me either. Could you try to put the models as a subdir in structure/ and the change the code like this:
ktoolcav.file = 'http://linuxp.idcast.com/nathan/models/porsche.stl';
ktoolcav.file = 'models/porsche.stl';
Okay, I did that but same results.
can you upload it so I can check it? for me it's still the old version
Can you not access http://linuxp.idcast.com/nathan/structure/models/ ?
And the JS file seems updated.
ha! I just tried to open the porsche.stl file
104-9.stl tol 0.01 ac 0.02 solid layer 209 3DV*ê4....some binary stuff
It is not an ascii stl file anymore. I think you probably transfered these files in binary mode via ftp or something. try to transfer them as test.
it should look like http://x.babymri.org/data/porsche.stl
Is that what the file looked like?? Ohh, I forgot I accidentally downloaded a binary file yesterday, that must be it haha, let me change that real quick.
Alright, a bottle should render now, still the same results, made sure it wasn't binary too haha
It is text now, that's good but if you look at the file:
vertex -0.675880E+01 0.442610E+01 -0.118893E+02
^ there are 2 spaces and the parserSTL doesn't read that properly..
so you can
a) fix the X.parserSTL class
b) change the way to write the stl file by just using 1 space there
c) maybe convert the file with slicer.org which writes proper stl files
so it should work now with the porsche.stl from our selection
Okay, I've actually taken your porsche.stl before , I'll test that again to see if it works properly and then follow your ideas
Well, I've taken your porsche.stl to test but still doesn't seem to work. http://linuxp.idcast.com/nathan/structure/models/car.stl
I can use the link for it, but not download it and use it.
My bad, I got the data from http://x.babymri.org/?porsche.stl , not http://x.babymri.org/data/porsche.stl .
so it all works now?
Yea, and to sum it up for anyone else who has this problem, make sure your file has one space between each x, y, and z coordinate and make sure your indentation is correct, use http://x.babymri.org/data/porsche.stl as a reference.