Skip to content

Commit

Permalink
update for unique elements and nodes color and size
Browse files Browse the repository at this point in the history
update for unique elements and nodes color and size suggested by dr Mazzoni
  • Loading branch information
BijanSeif committed Dec 6, 2023
1 parent c8d2d58 commit fda362f
Show file tree
Hide file tree
Showing 14 changed files with 157 additions and 10 deletions.
2 changes: 1 addition & 1 deletion docs/Hist&News/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -439,7 +439,7 @@
<div class="sd-card-body docutils">
<div class="sd-card-title sd-font-weight-bold docutils">
Updates History</div>
<p class="sd-card-text">BraineryWiz <strong>Version 0.93</strong> for Python users Released.</p>
<p class="sd-card-text">BraineryWiz <strong>Version 0.93</strong> for Python users Released. Date: 11/29/2023</p>
<p class="sd-card-text"><a class="reference internal" href="../Python_Version/plotmodel/elesize.html#plotmodelelesizepy"><span class="std std-ref">Elements Width</span></a> option added for all commands of Python version. Date: 11/28/2023</p>
<p class="sd-card-text"><a class="reference internal" href="../Python_Version/plotmodel/elecolor.html#plotmodelelecolorpy"><span class="std std-ref">Elements Color</span></a> option added for all commands of Python version. Date: 11/28/2023</p>
<p class="sd-card-text"><a class="reference internal" href="../Python_Version/plotmodel/nodessize.html#plotmodelnodesizepy"><span class="std std-ref">Nodes Size</span></a> option added for all commands of Python version. Date: 11/28/2023</p>
Expand Down
19 changes: 18 additions & 1 deletion docs/Python_Version/plotmodel/elecolor.html

Large diffs are not rendered by default.

19 changes: 18 additions & 1 deletion docs/Python_Version/plotmodel/nodescolor.html

Large diffs are not rendered by default.

19 changes: 18 additions & 1 deletion docs/Python_Version/plotmodel/nodessize.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/_sources/Hist&News/index.rst.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Updates History and News
.. grid-item-card:: Updates History
:columns: 12

BraineryWiz **Version 0.93** for Python users Released.
BraineryWiz **Version 0.93** for Python users Released. Date: 11/29/2023

:ref:`Elements Width <plotmodelelesizepy>` option added for all commands of Python version. Date: 11/28/2023

Expand Down
16 changes: 16 additions & 0 deletions docs/_sources/Python_Version/plotmodel/elecolor.rst.txt
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,22 @@ Example
.. raw:: html
:file: files/ElementsColor.html

.. tip::

To assign one color to all elements, do not fill **Element_color_tag** with anything and abandon it, then set **Elements_color** equal to the desired color in string (str) format.

.. code-block:: python
:caption: Example for setting all elements color to red
import BraineryWiz as bz
# ...
# Create the OpenSees model
# ...
# Call PlotModel command
bz.PlotModel(plotmode=1, Elements_color='red')
.. note::
It is obvious that length of Element_color_tag and Elements_color should be same, otherwise an error message will be appear and size of nodes won't change.
Expand Down
16 changes: 16 additions & 0 deletions docs/_sources/Python_Version/plotmodel/nodescolor.rst.txt
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,22 @@ Example
.. raw:: html
:file: files/NodesColor.html

.. tip::

To assign one color to all nodes, do not fill **Nodes_color_tag** with anything and abandon it, then set **Nodes_color** equal to the desired color in string (str) format.

.. code-block:: python
:caption: Example for setting all nodes color to red
import BraineryWiz as bz
# ...
# Create the OpenSees model
# ...
# Call PlotModel command
bz.PlotModel(plotmode=1, Nodes_color='red')
.. note::
It is obvious that length of Nodes_color_tag and Nodes_color should be same, otherwise an error message will be appear and color of nodes won't change.
Expand Down
18 changes: 17 additions & 1 deletion docs/_sources/Python_Version/plotmodel/nodessize.rst.txt
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,23 @@ Example
.. raw:: html
:file: files/NodesSize.html
.. tip::
To assign one size to all nodes, do not fill **Nodes_Size_tag** with anything and abandon it, then set **Nodes_Size** equal to the desired size in integer (int) format.
.. code-block:: python
:caption: Example for setting all nodes size to 10
import BraineryWiz as bz
# ...
# Create the OpenSees model
# ...
# Call PlotModel command
bz.PlotModel(plotmode=1, Nodes_Size=10)
.. note::
It is obvious that length of Nodes_Size_tag and Nodes_Size should be same, otherwise an error message will be appear and size of nodes won't change.
2 changes: 1 addition & 1 deletion docs/_sources/index.rst.txt
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ Welcome to BraineryWiz's documentation!
:link-type: ref
:link-alt: Updates History and News

BraineryWiz **Version 0.93** for Python users Released.
BraineryWiz **Version 0.93** for Python users Released. Date: 11/29/2023

:ref:`Elements Width <plotmodelelesizepy>` option added for all commands of Python version. Date: 11/28/2023

Expand Down
2 changes: 1 addition & 1 deletion docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -415,7 +415,7 @@ <h1>Welcome to BraineryWiz’s documentation!<a class="headerlink" href="#welcom
<div class="sd-card-body docutils">
<div class="sd-card-title sd-font-weight-bold docutils">
Latest Updates and News</div>
<p class="sd-card-text">BraineryWiz <strong>Version 0.93</strong> for Python users Released.</p>
<p class="sd-card-text">BraineryWiz <strong>Version 0.93</strong> for Python users Released. Date: 11/29/2023</p>
<p class="sd-card-text"><a class="reference internal" href="Python_Version/plotmodel/elesize.html#plotmodelelesizepy"><span class="std std-ref">Elements Width</span></a> option added for all commands of Python version. Date: 11/28/2023</p>
<p class="sd-card-text"><a class="reference internal" href="Python_Version/plotmodel/elecolor.html#plotmodelelecolorpy"><span class="std std-ref">Elements Color</span></a> option added for all commands of Python version. Date: 11/28/2023</p>
<p class="sd-card-text"><a class="reference internal" href="Python_Version/plotmodel/nodessize.html#plotmodelnodesizepy"><span class="std std-ref">Nodes Size</span></a> option added for all commands of Python version. Date: 11/28/2023</p>
Expand Down
2 changes: 1 addition & 1 deletion docs/searchindex.js

Large diffs are not rendered by default.

16 changes: 16 additions & 0 deletions source/Python_Version/plotmodel/elecolor.rst
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,22 @@ Example
.. raw:: html
:file: files/ElementsColor.html

.. tip::

To assign one color to all elements, do not fill **Element_color_tag** with anything and abandon it, then set **Elements_color** equal to the desired color in string (str) format.

.. code-block:: python
:caption: Example for setting all elements color to red
import BraineryWiz as bz
# ...
# Create the OpenSees model
# ...
# Call PlotModel command
bz.PlotModel(plotmode=1, Elements_color='red')
.. note::
It is obvious that length of Element_color_tag and Elements_color should be same, otherwise an error message will be appear and size of nodes won't change.
Expand Down
16 changes: 16 additions & 0 deletions source/Python_Version/plotmodel/nodescolor.rst
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,22 @@ Example
.. raw:: html
:file: files/NodesColor.html

.. tip::

To assign one color to all nodes, do not fill **Nodes_color_tag** with anything and abandon it, then set **Nodes_color** equal to the desired color in string (str) format.

.. code-block:: python
:caption: Example for setting all nodes color to red
import BraineryWiz as bz
# ...
# Create the OpenSees model
# ...
# Call PlotModel command
bz.PlotModel(plotmode=1, Nodes_color='red')
.. note::
It is obvious that length of Nodes_color_tag and Nodes_color should be same, otherwise an error message will be appear and color of nodes won't change.
Expand Down
18 changes: 17 additions & 1 deletion source/Python_Version/plotmodel/nodessize.rst
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,23 @@ Example
.. raw:: html
:file: files/NodesSize.html
.. tip::
To assign one size to all nodes, do not fill **Nodes_Size_tag** with anything and abandon it, then set **Nodes_Size** equal to the desired size in integer (int) format.
.. code-block:: python
:caption: Example for setting all nodes size to 10
import BraineryWiz as bz
# ...
# Create the OpenSees model
# ...
# Call PlotModel command
bz.PlotModel(plotmode=1, Nodes_Size=10)
.. note::
It is obvious that length of Nodes_Size_tag and Nodes_Size should be same, otherwise an error message will be appear and size of nodes won't change.

0 comments on commit fda362f

Please sign in to comment.