NAS Engineering Project (Semester 1 Final)
This program can analyze the prints made by 3D shoeprint models across different flex angles. It can help determine the model of a shoe in a deformed print at an angle.
-
install pychrono.
-
clone this repository onto your computer
- Store cleaned prints in
data/objs
-
Change information in
flexer.py
to your desire -
Run
python flexer.py
for each of your desired files and angles- It generates a .obj file named after the degrees in
/data/objs
- It generates a .obj file named after the degrees in
-
Change the information in
test.py
to your desire -
Run
python test.py
to run the simulation- The generated .csv file will appear in
/data/csvs/
- The generated .csv file will appear in
-
Install and open ParaView
-
Open the .csv file with file > open
-
Press "apply"
-
Right-click the csv file on the left and select
add filter > alphabetical > Table To Points
-
Select the TableToPoints1 node, change the x, y, and z columns to the proper ones, and press apply
- if it didn't show up, you have to press the little eye icon next to the node
-
if you want to make a pretty elevation view, continue.
-
add a filter to TableToPoints called delaunay 2d
-
change projection plane mode to "best fit" and press apply
-
add a filter to delaunay2D1 called "elevation" and select "y axis", then press apply.
-
use the top bar to select the icon that says "-Y"