Commit 83e4686
committed
WIP creating MoorPy objects for Moorings with bridle/parallel parts
- Copied some of example_sharedmoorings.py into project.py for quick testing.
- Moved the Subsystem addition to a MoorPy System's lineList into the
Mooring.createSubystem method to consolidate.
- Section class: added mpLine attribute and makeMoorPyLine method.
- Mooring class
- - createSubsystem: adapted to also create the MoorPy objects for
bridle/parallel situations, with no subsystem. Method can be
renamed at some point.
- - Mooring.parallels flags whether there are parallel subcomponents
in which case there is no subsystem.
- Project.createMoorPyArray: worked on adapting this to work with
bridle/parallel cases. Also streamlined a few for loops to not
index things as often. This part is very much in progress!1 parent 3b0e1f0 commit 83e4686
File tree
5 files changed
+392
-106
lines changed- examples
- famodel
- mooring
- platform
5 files changed
+392
-106
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
8 | 7 | | |
9 | 8 | | |
10 | 9 | | |
11 | 10 | | |
12 | 11 | | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
| 12 | + | |
19 | 13 | | |
20 | 14 | | |
21 | 15 | | |
22 | 16 | | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
23 | 20 | | |
24 | | - | |
| 21 | + | |
25 | 22 | | |
26 | 23 | | |
27 | | - | |
| 24 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
48 | | - | |
| 48 | + | |
| 49 | + | |
49 | 50 | | |
50 | 51 | | |
51 | 52 | | |
| |||
57 | 58 | | |
58 | 59 | | |
59 | 60 | | |
60 | | - | |
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
| |||
71 | 71 | | |
72 | 72 | | |
73 | 73 | | |
74 | | - | |
75 | 74 | | |
76 | | - | |
77 | 75 | | |
78 | 76 | | |
| 77 | + | |
79 | 78 | | |
80 | 79 | | |
81 | 80 | | |
| |||
104 | 103 | | |
105 | 104 | | |
106 | 105 | | |
| 106 | + | |
107 | 107 | | |
108 | 108 | | |
109 | 109 | | |
| |||
139 | 139 | | |
140 | 140 | | |
141 | 141 | | |
142 | | - | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
0 commit comments