|
1 | 1 | # 1b. Modify Pattern |
2 | 2 |
|
3 | | -## 1b. Modify Pattern |
4 | | - |
5 | 3 | | | | | |
6 | 4 | | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | ----------------------------------------------------------------------------------------------------------------- | |
7 | 5 | | <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> | |
8 | 6 |
|
9 | | -### VertexAttributes |
10 | | - |
11 | | - |
12 | | - |
13 | | -* **All**: all vertices |
14 | | -* **Boundary**: all boundary vertices |
15 | | -* **Degree**: selects vertices based on a defined _vertex degree_ (number of edges that are connected to that vertex) |
16 | | -* **EdgeLoop**: selects all vertices along the edge loop of the selected edge |
17 | | -* EdgeStrip: selects all vertices on the edge strip of a selected edge |
18 | | -* **Manual**: manually select vertices |
19 | | - |
| 7 | +`RV_pattern_modify` allows users to make the following modifications to the `Pattern`. |
20 | 8 |
|
| 9 | +*** |
21 | 10 |
|
| 11 | +## Modify Attributes  |
22 | 12 |
|
| 13 | +### VertexAttributes |
23 | 14 |
|
24 | | -* is\_fixed |
25 | | -* is\_support |
26 | | -* x |
27 | | -* y |
28 | | -* z |
29 | | - |
30 | | -### EdgeAttributes |
| 15 | +The following vertex attributes of the `ForceDiagram` can be modified. |
31 | 16 |
|
| 17 | +* **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.  |
| 18 | +* **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.  |
| 19 | +* **x** - Current x-coordinate of the vertex. This value is automatically computed, although can be changed manually to re-locate vertices to specific positions. |
| 20 | +* **y** - Current y-coordinate of the vertex. This value is automatically computed, although can be changed manually to re-locate vertices to specific positions. |
| 21 | +* **z** - Current z-coordinate of the vertex. This value is automatically computed, although can be changed manually to re-locate vertices to specific positions. |
32 | 22 |
|
| 23 | +{% hint style="info" %} |
| 24 | +In RhinoVAULT, the following vertex-selection options are provided: |
33 | 25 |
|
34 | 26 | * **All**: all vertices |
35 | 27 | * **Boundary**: all boundary vertices |
| 28 | +* **Degree**: selects vertices based on a defined _vertex degree_ (number of edges that are connected to that vertex) |
36 | 29 | * **EdgeLoop**: selects all vertices along the edge loop of the selected edge |
37 | | -* EdgeStrip: selects all vertices on the edge strip of a selected edge |
| 30 | +* **EdgeStrip**: selects all vertices on the edge strip of a selected edge |
38 | 31 | * **Manual**: manually select vertices |
| 32 | +{% endhint %} |
39 | 33 |
|
| 34 | +### EdgeAttributes |
40 | 35 |
|
| 36 | +The following edge attributes of the `ForceDiagram` can be modified. |
41 | 37 |
|
| 38 | +* **lmax** - Maximum allowable length of the edge. This value is set to 10000000.0 by default. |
| 39 | +* **lmin** - Minimum enforced length of the edge. This value is set to 1e-06 by default. |
| 40 | +* **q** - force density of the edge. This value is set to 1.0 by default. |
42 | 41 |
|
| 42 | +{% hint style="info" %} |
| 43 | +In RhinoVAULT, the following edge-selection options are provided: |
43 | 44 |
|
44 | | - |
45 | | - |
46 | | - |
47 | | - |
48 | | -* lmax |
49 | | -* lmin |
50 | | -* q |
| 45 | +* **All**: all edges |
| 46 | +* **Boundary**: all boundary edges |
| 47 | +* **EdgeLoop**: selects all edges along the edge loop of the selected edge |
| 48 | +* **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) |
| 49 | +* **Manual**: manually select edges |
| 50 | +{% endhint %} |
0 commit comments