Skip to content

Commit

Permalink
GITBOOK-56: modify pattern
Browse files Browse the repository at this point in the history
  • Loading branch information
juney-lee authored and gitbook-bot committed Nov 11, 2024
1 parent e669997 commit 5e2645d
Show file tree
Hide file tree
Showing 4 changed files with 30 additions and 36 deletions.
56 changes: 28 additions & 28 deletions gitbook/manual/1.-create-and-modify-pattern/patterns-1.md
Original file line number Diff line number Diff line change
@@ -1,50 +1,50 @@
# 1b. Modify Pattern

## 1b. Modify Pattern

| | | |
| ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | ----------------------------------------------------------------------------------------------------------------- |
| <img src="../../.gitbook/assets/RV_pattern-modify.svg" alt="" data-size="original"> | <p><strong>Rhino command name</strong></p><p>RV_pattern_modify</p> | <p><strong>source file</strong></p><p><a href="../../../plugin/RV_pattern_modify.py">RV_pattern_modify.py</a></p> |

### VertexAttributes



* **All**: all vertices
* **Boundary**: all boundary vertices
* **Degree**: selects vertices based on a defined _vertex degree_ (number of edges that are connected to that vertex)
* **EdgeLoop**: selects all vertices along the edge loop of the selected edge
* EdgeStrip: selects all vertices on the edge strip of a selected edge
* **Manual**: manually select vertices

`RV_pattern_modify` allows users to make the following modifications to the `Pattern`.

***

## Modify Attributes&#x20;

### VertexAttributes

* is\_fixed
* is\_support
* x
* y
* z

### EdgeAttributes
The following vertex attributes of the `ForceDiagram` can be modified.

* **is\_fixed** - If set to `True`, the vertex will remain fixed during any modifications made to the Pattern, until it is set to `False`. Fixed vertices are displayed in blue. This is set to False by default.&#x20;
* **is\_fixed** - If set to `True`, the vertex will be converted to a support remain fixed during any modifications made to the Pattern, until it is set to `False`. Support vertices are displayed in red. This is set to `False` by default.&#x20;
* **x** - Current x-coordinate of the vertex. This value is automatically computed, although can be changed manually to re-locate vertices to specific positions.
* **y** - Current y-coordinate of the vertex. This value is automatically computed, although can be changed manually to re-locate vertices to specific positions.
* **z** - Current z-coordinate of the vertex. This value is automatically computed, although can be changed manually to re-locate vertices to specific positions.

{% hint style="info" %}
In RhinoVAULT, the following vertex-selection options are provided:

* **All**: all vertices
* **Boundary**: all boundary vertices
* **Degree**: selects vertices based on a defined _vertex degree_ (number of edges that are connected to that vertex)
* **EdgeLoop**: selects all vertices along the edge loop of the selected edge
* EdgeStrip: selects all vertices on the edge strip of a selected edge
* **EdgeStrip**: selects all vertices on the edge strip of a selected edge
* **Manual**: manually select vertices
{% endhint %}

### EdgeAttributes

The following edge attributes of the `ForceDiagram` can be modified.

* **lmax** - Maximum allowable length of the edge. This value is set to 10000000.0 by default.
* **lmin** - Minimum enforced length of the edge. This value is set to 1e-06 by default.
* **q** - force density of the edge. This value is set to 1.0 by default.

{% hint style="info" %}
In RhinoVAULT, the following edge-selection options are provided:





* lmax
* lmin
* q
* **All**: all edges
* **Boundary**: all boundary edges
* **EdgeLoop**: selects all edges along the edge loop of the selected edge
* **EdgeStrip**: selects all edges on the edge strip of a selected edge (only works effectively for a quad mesh or an area of mesh with consecutively joined quad faces)
* **Manual**: manually select edges
{% endhint %}
6 changes: 2 additions & 4 deletions gitbook/manual/7.-modify-diagrams/supports-1.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
# 7b. Modify ForceDiagram

## Modify ForceDiagram

| | | |
| -------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------- |
| <img src="../../.gitbook/assets/RV_ForceDiagram-modify (1).svg" alt="" data-size="original"> | <p><strong>Rhino command name</strong></p><p><code>RV_force_modify</code></p> | <p><strong>source file</strong></p><p><a href="../../../plugin/RV_force_modify.py"><code>RV_force_modify.py</code></a></p> |
Expand All @@ -25,8 +23,8 @@ The following vertex attributes of the `ForceDiagram` can be modified.

The following edge attributes of the `ForceDiagram` can be modified.

* lmax - Maximum allowable length of the edge. This value is set to 10000000.0 by default.
* lmin - Minimum allowable length of the edge. This value is set to 0.0 by default.
* **lmax** - Maximum allowable length of the edge. This value is set to 10000000.0 by default.
* **lmin** - Minimum enforced length of the edge. This value is set to 0.0 by default.

***

Expand Down
2 changes: 0 additions & 2 deletions gitbook/manual/7.-modify-diagrams/supports-2.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
# 7c. Modify ThrustDiagram

## Modify ThrustDiagram

| | | |
| ----------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------ | ---------------------------------------------------------------------------------------------------------------------------- |
| <img src="../../.gitbook/assets/RV_ThrustDiagram-modify.svg" alt="" data-size="original"> | <p><strong>Rhino command name</strong></p><p><code>RV_thrust_modify</code></p> | <p><strong>source file</strong></p><p><a href="../../../plugin/RV_thrust_modify.py"><code>RV_thrust_modify.py</code></a></p> |
Expand Down
2 changes: 0 additions & 2 deletions gitbook/manual/settings.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
# 8. Settings

## Settings

| | | |
| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------- |
| <img src="../.gitbook/assets/RV_settings (1).svg" alt="" data-size="original"> | <p><strong>Rhino command name</strong></p><p><code>RV_settings</code></p> | <p><strong>source file</strong></p><p><a href="../../plugin/RV_settings.py"><code>RV_settings.py</code></a></p> |
Expand Down

0 comments on commit 5e2645d

Please sign in to comment.