Skip to content

Commit 262963c

Browse files
WIP finish of Pattern from RhinoVault Session section.
1 parent 4f3525b commit 262963c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

gitbook/next-steps/materialization.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,14 @@ The aim of this tutorial is to convert a RhinoVault session (a JSON file with a
88

99
{% file src="../.gitbook/assets/rhinovault_session.json" %}
1010

11-
## RhinoVault Session - Pattern
11+
## Pattern from RhinoVault Session
12+
13+
Before you start create a folder on your computer where you will store the `rhinovault_session.json` file as well as python example files. Then open Rhino Script Editor by command `ScriptEditor`. And copy-paste the code below that extracts the mesh pattern from the session file.
1214

1315
The session file employs the compas.scene data structure for storing: Pattern, FormDiagram, ThrustDiagram, and ForceDiagram. It also stores general settings for drawing and thrust-network analysis. We will use two attributes: Pattern and ThrustDiagram for mesh transformation into solid blocks. The scene also helps to visualize COMPAS items (geometry & data structures).
1416

1517
The first three comments are specific to Python in Rhino, indicating: a) python3 specifies the language used, b) the code is written in the brg-csd environment, and c) compas_rv is a library requirement that must be installable from the Python Package Index (PyPI).
1618

17-
The code extracts the pattern attribute as a mesh and adds it to Rhino canvas:
18-
1919

2020
<figure><img src="../.gitbook/assets/materialization_pattern.gif" alt=""><figcaption></figcaption></figure>
2121

0 commit comments

Comments
 (0)