85 |
86 | Read the Docs
87 | v: ${config.versions.current.slug}
88 |
89 |
90 |
91 |
92 | ${renderLanguages(config)}
93 | ${renderVersions(config)}
94 | ${renderDownloads(config)}
95 |
96 | On Read the Docs
97 |
98 | Project Home
99 |
100 |
101 | Builds
102 |
103 |
104 | Downloads
105 |
106 |
107 |
108 | Search
109 |
110 |
119 |
120 |
121 |
122 |
123 | Hosted by Read the Docs
124 |
125 |
126 |
127 | `;
128 |
129 | // Inject the generated flyout into the body HTML element.
130 | document.body.insertAdjacentHTML("beforeend", flyout);
131 |
132 | // Trigger the Read the Docs Addons Search modal when clicking on the "Search docs" input from inside the flyout.
133 | document
134 | .querySelector("#flyout-search-form")
135 | .addEventListener("focusin", () => {
136 | const event = new CustomEvent("readthedocs-search-show");
137 | document.dispatchEvent(event);
138 | });
139 | })
140 | }
141 |
142 | if (themeLanguageSelector || themeVersionSelector) {
143 | function onSelectorSwitch(event) {
144 | const option = event.target.selectedIndex;
145 | const item = event.target.options[option];
146 | window.location.href = item.dataset.url;
147 | }
148 |
149 | document.addEventListener("readthedocs-addons-data-ready", function (event) {
150 | const config = event.detail.data();
151 |
152 | const versionSwitch = document.querySelector(
153 | "div.switch-menus > div.version-switch",
154 | );
155 | if (themeVersionSelector) {
156 | let versions = config.versions.active;
157 | if (config.versions.current.hidden || config.versions.current.type === "external") {
158 | versions.unshift(config.versions.current);
159 | }
160 | const versionSelect = `
161 |
162 | ${versions
163 | .map(
164 | (version) => `
165 |
169 | ${version.slug}
170 | `,
171 | )
172 | .join("\n")}
173 |
174 | `;
175 |
176 | versionSwitch.innerHTML = versionSelect;
177 | versionSwitch.firstElementChild.addEventListener("change", onSelectorSwitch);
178 | }
179 |
180 | const languageSwitch = document.querySelector(
181 | "div.switch-menus > div.language-switch",
182 | );
183 |
184 | if (themeLanguageSelector) {
185 | if (config.projects.translations.length) {
186 | // Add the current language to the options on the selector
187 | let languages = config.projects.translations.concat(
188 | config.projects.current,
189 | );
190 | languages = languages.sort((a, b) =>
191 | a.language.name.localeCompare(b.language.name),
192 | );
193 |
194 | const languageSelect = `
195 |
196 | ${languages
197 | .map(
198 | (language) => `
199 |
203 | ${language.language.name}
204 | `,
205 | )
206 | .join("\n")}
207 |
208 | `;
209 |
210 | languageSwitch.innerHTML = languageSelect;
211 | languageSwitch.firstElementChild.addEventListener("change", onSelectorSwitch);
212 | }
213 | else {
214 | languageSwitch.remove();
215 | }
216 | }
217 | });
218 | }
219 |
220 | document.addEventListener("readthedocs-addons-data-ready", function (event) {
221 | // Trigger the Read the Docs Addons Search modal when clicking on "Search docs" input from the topnav.
222 | document
223 | .querySelector("[role='search'] input")
224 | .addEventListener("focusin", () => {
225 | const event = new CustomEvent("readthedocs-search-show");
226 | document.dispatchEvent(event);
227 | });
228 | });
--------------------------------------------------------------------------------
/doc/build/html/examples.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
Examples — opsvis 1.3.3 documentation
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
76 |
77 |
78 |
79 |
80 | opsvis
81 |
82 |
83 |
84 |
85 |
95 |
96 |
97 |
98 |
111 |
112 |
113 |
114 |
115 |
132 |
133 |
134 |
135 |
136 |
141 |
142 |
143 |
--------------------------------------------------------------------------------
/doc/build/html/plot_loads_2d.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
plot_loads_2d — opsvis 0.99.1 documentation
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
57 |
58 |
59 |
60 |
61 | opsvis
62 |
63 |
64 |
65 |
66 |
76 |
77 |
78 |
79 |
80 | plot_loads_2d
81 |
82 |
83 | opsvis. plot_loads_2d ( nep = 17 , sfac = False , fig_wi_he = False , fig_lbrt = False , fmt_model_loads = {'color': 'black', 'linestyle': 'solid', 'linewidth': 1.2, 'marker': '', 'markersize': 1} , node_supports = True , ax = False ) [source]
84 | Display the nodal and element loads applied to the 2d models.
85 |
86 | Parameters
87 |
93 |
94 |
95 |
96 |
97 |
98 |
99 |
100 |
101 |
102 |
119 |
120 |
121 |
122 |
123 |
128 |
129 |
130 |
--------------------------------------------------------------------------------
/doc/build/html/fib_sec_list_to_cmds.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
fib_sec_list_to_cmds — opsvis 1.3.3 documentation
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
68 |
69 |
70 |
71 |
72 | opsvis
73 |
74 |
75 |
76 |
77 |
87 |
88 |
89 |
90 |
91 | fib_sec_list_to_cmds
92 |
93 |
94 | opsvis. fib_sec_list_to_cmds ( fib_sec_list ) [source]
95 | Reuses fib_sec_list to define fiber section in OpenSees.
96 | At present it is not possible to extract fiber section data from
97 | the OpenSees domain, this function is a workaround. The idea is to
98 | prepare data similar to the one the regular OpenSees commands
99 | (section('Fiber', ...) , fiber() , patch() and/or
100 | layer() ) require.
101 |
102 | Parameters:
103 |
107 |
108 |
109 | Warning:
110 | If you use this function, do not issue the regular OpenSees:
111 | section, Fiber, Patch or Layer commands.
112 | See also:
113 | opsvis.plot_fiber_section()
114 |
115 |
116 | See example Plot steel and reinforced concrete fiber sections
117 |
118 |
119 |
120 |
121 |
122 |
139 |
140 |
141 |
142 |
143 |
148 |
149 |
150 |
--------------------------------------------------------------------------------
/doc/build/html/plot_reactions.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
plot_reactions — opsvis 1.3.3 documentation
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
68 |
69 |
70 |
71 |
72 | opsvis
73 |
74 |
75 |
76 |
77 |
87 |
88 |
89 |
90 |
91 | plot_reactions
92 |
93 |
94 | opsvis. plot_reactions ( sfac = False , fig_wi_he = False , fig_lbrt = False , fmt_model_loads = {'color': 'black', 'linestyle': 'solid', 'linewidth': 1.2, 'marker': '', 'markersize': 1} , truss_node_offset = 0 , local_axes = False , ax = False ) [source]
95 | Display support reactions of 2d and 3d models.
96 |
97 |
98 |
99 |
100 |
101 |
102 |
103 |
120 |
121 |
122 |
123 |
124 |
129 |
130 |
131 |
--------------------------------------------------------------------------------