Open aytekno opened 7 years ago
I wrote my stl file name inside the code after begin as anrgument and now it works. But I could not pass as a parameter.
Hi @aytekno
Note, that you don't need to wrap the filename in square brackets.
Can you try running ./convertSTL.rb 1502182742.stl
instead and see if that works?
Hope that helps 😄
Thank you @muhummadPatel , Running code from terminal works but I want to call this code inside my Qt Application. I wrote "path/convertSTL.rb path/file_name" into QString and called from the start method of QProcess. Does not give error but also does not convert the file. Do ypu know how can I call this code from Qt?
Hello, I have an stl file that I have scanned from 3d scanner. Your code is under Download and I copied my scanned stl file which is in binary format in the same folder. I call your code like ./convertSTL.rb [1502182742.stl] but gives error: Error: No such file or directory @ rb_sysopen - [1502182742.stl] So where should be the stl file? Thank you in advance.