Open michaelnicol opened 1 year ago
The importer does not have a web client built into it. You'll have to use something like the requests
module in Python or wrap your CadQuery script in a shell script that uses wget, curl, etc to download the file first.
Could CadQuery in an AWS lambda convert the file on the AWS cloud without downloading it to a separate server?
I'm only somewhat familiar with AWS lambdas. I think it's possible, but I can't provide provide any guidance on how to do it. If the lambda will let you import the requests module, you might be able to do this:
I am using cadquery to convert files from STEP to STL.
For this, the files are stored on an AWS server with public-read.
To import, I use the following statement:
The file does exist in the real link, as going to it downloads the file. However, when attempting to import via cadquery, I get: