ME6104_Homework2

pdf

School

Georgia Institute Of Technology *

*We aren’t endorsed by this school

Course

6104

Subject

Mechanical Engineering

Date

Feb 20, 2024

Type

pdf

Pages

1

Uploaded by ChefRoseWombat20

Report
ME6104 HW2-1 ME 6104 Computer-Aided Design Homework Assignment 2 (Due 2/18/2024, Sunday, 11:55pm) (This is an individual assignment) Electronic Submission Guideline: your submission to Canvas needs to include a Microsoft Word file named as ME6104_Homework2_YourLastName_FirstName.docx (or a single Adobe PDF file ME6104_Homework2_YourLastName_FirstName.pdf converted from other word processing software packages) which reports the results with screen capturing of pictures, as well as the python script file ME6104_Homework2_YourLastName_FirstName.py that contains the source code. Based on the given visSTL.py , develop a python program which can 1) Read and visualize STL files of the given tessa_vase_filled.stl and Twisted_Vase_Basic_Voronoi_Style.stl ; 2) Rotate about x-axis for π/4 clock-wise and then about y-axis for π/3 counter-clock-wise. In the first method, create your own rotation matrices and apply them to each one of the vertices. In the second method, directly use the function “mesh.rotate()” in numpy-stl. In the written report, visually show the original and the rotated models and compare the results from the two methods. Note that “mesh.rotate()” implementation in numpy-stl package uses row vectors instead of column vectors, and therefore the rotation matrix is multiplied from the right of row vectors. 3) Calculate the total surface area for each of the two models. In the first method, calculate the area for each triangular surface using cross-product as discussed in class and add all of them together. In the second method, directly use “mesh.areas” in numpy-stl and sum them up. In the written report, compare the results from the two methods.
Discover more documents: Sign up today!
Unlock a world of knowledge! Explore tailored content for a richer learning experience. Here's what you'll get:
  • Access to all documents
  • Unlimited textbook solutions
  • 24/7 expert homework help