title: How to get .stl file from Amazon S3 by using boto3?
body: <p>I have a Django Web application and i deployed it to Elastic Beanstalk environment. I also have the numpy-stl package. I'm trying to get a .stl file from Amazon S3 bucket and use this file with a stl package's function but i'm getting an error such as <code>'bytes' object has no attribute 'get_mass_properties'</code>.</p>
  
  <p>My code is;</p>
  
  <pre><code>s3 = boto3.client('s3')
  obj = s3.get_object(Bucket=bucket_name, Key=key)
  body = obj['Body'].read()
  volume, cog, inertia = body.get_mass_properties()
  </code></pre>
  
  <p>How can i get the .stl file and use it?</p>