-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
0309d03
commit fa4394e
Showing
2 changed files
with
25 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,37 @@ | ||
# 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> | | ||
|
||
Description | ||
|
||
|
||
|
||
|
||
`RV_force_modify` allows users to make the following modifications to the ForceDiagram. | ||
|
||
*** | ||
|
||
## Sub functions | ||
## Modify Attributes | ||
|
||
### VertexAttributes | ||
|
||
The following vertex attributes of the `ForceDiagram` can be modified. | ||
|
||
* **is\_fixed** - If set to `True`, the vertex will remain fixed during any force-density-based relaxation or `RV_tna_horizontal`. This is set to `False` by default. | ||
* **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. | ||
|
||
### 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 allowable length of the edge. This value is set to 0.0 by default. | ||
|
||
### MoveVertices | ||
*** | ||
|
||
## Sub-commands | ||
|
||
### MoveVertices | ||
|
||
This sub-command enables users to move any vertices of the `ForceDiagram`. This is a 2-dimensional transformation on the XY plane. The transformation can be unconstrained ("free"), or constrained to: either the X or Y axis, or the XY plane. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters