summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore3
-rw-r--r--README.org4
-rw-r--r--doc/diagram.txt17
-rw-r--r--doc/diagram2.pngbin0 -> 6107 bytes
-rw-r--r--doc/diagram2.pum5
-rw-r--r--example_airfoil.py4
-rw-r--r--example_airfoil.pycbin1581 -> 0 bytes
7 files changed, 30 insertions, 3 deletions
diff --git a/.gitignore b/.gitignore
index 225020c..713d0d7 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,8 +1,9 @@
# .gitignore
**/__pycache__/
+**/*.pyc
**/log.txt
**/*.html
**/*.pdf
**/*.tex
save/
-TAGS \ No newline at end of file
+TAGS
diff --git a/README.org b/README.org
index eaed041..9ce7891 100644
--- a/README.org
+++ b/README.org
@@ -13,6 +13,10 @@ I adapted it from my own code for the UCLA MAE 154B final project (Spring 2019).
#+NAME: fig:Test-Image
[[./doc/diagram.png]]
+#+CAPTION: Second test image for the README
+#+NAME: fig:Test-Image2
+[[./doc/diagram2.png]]
+
* Program Structure
** =creator.py=
diff --git a/doc/diagram.txt b/doc/diagram.txt
new file mode 100644
index 0000000..668ec61
--- /dev/null
+++ b/doc/diagram.txt
@@ -0,0 +1,17 @@
+ ┌─────┐ ┌───┐ ┌────┐
+ │Alice│ │Bob│ │John│
+ └──┬──┘ └─┬─┘ └─┬──┘
+ │Authentication Request │ │
+ │───────────────────────>│ │
+ │ │ │
+ │Authentication Response │ │
+ │<─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─│ │
+ │ │ │
+ │ another Authentication Request │
+ │<─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ │
+ │ │ │
+ │ another Authentication Response │
+ │ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─>│
+ ┌──┴──┐ ┌─┴─┐ ┌─┴──┐
+ │Alice│ │Bob│ │John│
+ └─────┘ └───┘ └────┘
diff --git a/doc/diagram2.png b/doc/diagram2.png
new file mode 100644
index 0000000..f15fa91
--- /dev/null
+++ b/doc/diagram2.png
Binary files differ
diff --git a/doc/diagram2.pum b/doc/diagram2.pum
new file mode 100644
index 0000000..4eb26a6
--- /dev/null
+++ b/doc/diagram2.pum
@@ -0,0 +1,5 @@
+' this is a comment
+Alice -> Bob: Authentication Request
+Bob --> Alice: Authentication Response
+John --> Alice: another Authentication Request
+Alice --> John: another Authentication Response
diff --git a/example_airfoil.py b/example_airfoil.py
index 3488eb9..e975483 100644
--- a/example_airfoil.py
+++ b/example_airfoil.py
@@ -55,8 +55,8 @@ af.spar1 = creator.wing.Spar(af, 0.23, mt.aluminium)
af.spar2 = creator.wing.Spar(af, 0.57, mt.aluminium)
# af.spar1.info_print(2)
# af.spar2.info_print(2)
-# af.spar1.info_save(SAVE_PATH, 'spar1')
-# af.spar2.info_save(SAVE_PATH, 'spar2')
+af.spar1.info_save(SAVE_PATH, 'spar1')
+af.spar2.info_save(SAVE_PATH, 'spar2')
# # Create stringer instance
# af.stringer = wing.Stringer()
diff --git a/example_airfoil.pyc b/example_airfoil.pyc
deleted file mode 100644
index 54505a3..0000000
--- a/example_airfoil.pyc
+++ /dev/null
Binary files differ
Copyright 2019--2024 Marius PETER