convertSTL icon indicating copy to clipboard operation
convertSTL copied to clipboard

How to run the code?

Open aytekno opened this issue 7 years ago • 3 comments

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.

aytekno avatar Aug 24 '17 09:08 aytekno

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.

aytekno avatar Aug 24 '17 11:08 aytekno

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 😄

muhummadPatel avatar Aug 27 '17 15:08 muhummadPatel

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?

aytekno avatar Oct 25 '17 12:10 aytekno