Skip to content

Commit 411be1f

Browse files
committed
input descr file added locally
1 parent 6af5605 commit 411be1f

File tree

2 files changed

+39
-39
lines changed

2 files changed

+39
-39
lines changed

README.md

Lines changed: 39 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -176,44 +176,6 @@ Also have a look at this wonderful [PDF](/files/Data-Trees-by-Andrew-Heuman.pdf)
176176

177177
![Data trees explanation picture](/img/data_tree_expl.png)
178178

179-
### Geometry Pipeline
180-
If you haven't already used the "Geometry Pipeline" component in Grasshopper, you should start doing it!
181-
The geometry pipeline is a link to the opened Rhino doc which lets you auto-reference any geometry. It _pipes_ your geometry into Grasshopper, based on type, name and layer filters.
182-
The notation for the filter is Regex-style and case sensitive. A double colon `::` is used to get into nested layers.
183-
184-
| Wildcard | Meaning |
185-
| --- | --- |
186-
| `?` | Any single character |
187-
| `*` | Zero or more character |
188-
| `#` | Any single digit \[0-9\] |
189-
| `[chars]` | Any character from inside the brackets |
190-
| `[!chars]` | Any character _except_ from inside the brackets |
191-
192-
![geo pipeline picture](/img/geo_pipeline.png)
193-
194-
### Panel Special Codes
195-
When enabled in the right-click menu of a panel, special character combinations in curly braces will be replaced by other characters.
196-
197-
![panel special codes picture](/img/panel-special-codes.png)
198-
199-
200-
| Examples | Look when option enabled |
201-
| --- | --- |
202-
| `3{dot}10{^-3} {times} 2{dot}10{^+7} = 6{dot}10{^+4}` | 3·10⁻³ × 2·10⁺⁷ = 6·10⁺⁴ |
203-
| `N{_n-1} + N{_n+2}` | Nₙ₋₁ + Nₙ₊₂ |
204-
| `Copyright {copyright} 2019` | Copyright © 2019 |
205-
| `1.00{dollar} {right} 0.89{euro}` | 1.00$ → 0.89€ |
206-
| `I'm {---} really {---} impressed by this.` | I'm — really — impressed by this. |
207-
208-
The attached file shows all predefined mapping pairs. This data is always up to date as it is harvested directly from the panel API itself.
209-
[Panel Mappings Gh example file](/files/panelmappings.gh)
210-
211-
### What does the red wire do?
212-
You probably already asked yourself what the red wire does in Grasshopper when you accidentally pressed <kbd>Alt</kbd> on your keyboard while wiring components.
213-
The answer: it names relays and also other inputs!
214-
_(Note: at least for me the behaviour is bugged and you need to do this twice, bevor the name gets auto propagated.)_
215-
![red wiring picture](/img/red_wiring.png)
216-
217179
### Pop Up Shortcuts
218180
The double click popup window for inserting components accepts a number of different input formats. If you provide a plain component name (or the abbreviation or a word used in the description) then you will see a list of potential matches, sorted from most relevant to least relevant:
219181
![pop up sorting picture](/img/pop-up-1.png)
@@ -248,6 +210,44 @@ Some components and objects support initialisation codes, which means you can as
248210

249211
Note that decimal places will be harvested from formats that indicate sliders. I.e. the format 0..2..10 is not the same as 0..2..10.00, as the former will create an integer slider from zero to ten whereas the latter will create a floating point slider with two decimal places from zero to ten.
250212

213+
### Panel Special Codes
214+
When enabled in the right-click menu of a panel, special character combinations in curly braces will be replaced by other characters.
215+
216+
![panel special codes picture](/img/panel-special-codes.png)
217+
218+
219+
| Examples | Look when option enabled |
220+
| --- | --- |
221+
| `3{dot}10{^-3} {times} 2{dot}10{^+7} = 6{dot}10{^+4}` | 3·10⁻³ × 2·10⁺⁷ = 6·10⁺⁴ |
222+
| `N{_n-1} + N{_n+2}` | Nₙ₋₁ + Nₙ₊₂ |
223+
| `Copyright {copyright} 2019` | Copyright © 2019 |
224+
| `1.00{dollar} {right} 0.89{euro}` | 1.00$ → 0.89€ |
225+
| `I'm {---} really {---} impressed by this.` | I'm — really — impressed by this. |
226+
227+
The attached file shows all predefined mapping pairs. This data is always up to date as it is harvested directly from the panel API itself.
228+
[Panel Mappings Gh example file](/files/panelmappings.gh)
229+
230+
### Geometry Pipeline
231+
If you haven't already used the "Geometry Pipeline" component in Grasshopper, you should start doing it!
232+
The geometry pipeline is a link to the opened Rhino doc which lets you auto-reference any geometry. It _pipes_ your geometry into Grasshopper, based on type, name and layer filters.
233+
The notation for the filter is Regex-style and case sensitive. A double colon `::` is used to get into nested layers.
234+
235+
| Wildcard | Meaning |
236+
| --- | --- |
237+
| `?` | Any single character |
238+
| `*` | Zero or more character |
239+
| `#` | Any single digit \[0-9\] |
240+
| `[chars]` | Any character from inside the brackets |
241+
| `[!chars]` | Any character _except_ from inside the brackets |
242+
243+
![geo pipeline picture](/img/geo_pipeline.png)
244+
245+
### What does the red wire do?
246+
You probably already asked yourself what the red wire does in Grasshopper when you accidentally pressed <kbd>Alt</kbd> on your keyboard while wiring components.
247+
The answer: it names relays and also other inputs!
248+
_(Note: at least for me the behaviour is bugged and you need to do this twice, bevor the name gets auto propagated.)_
249+
![red wiring picture](/img/red_wiring.png)
250+
251251
### Code in your editor of choice – Run in Grasshopper
252252
Right click into the GhPython component and choose "Show 'code' input parameter". Now using a "File path" primitive and the "Read File" component we can feed the python component with some external source code.
253253
![code feed into python picture](/img/code_feed_python.png)
@@ -256,7 +256,7 @@ If you want to have autocomplete in your editor, you should have a look at the a
256256
![sublime-large-demo](https://raw.githubusercontent.com/gtalarico/ironpython-stubs/master/docs/sublime/sublime-demo-large.gif)
257257

258258
### Have IO descriptors in python
259-
[Sample file](https://www.grasshopper3d.com/forum/topics/changing-the-description-of-and-input-output-in-python)
259+
[Sample file](/files/inputDescription.gh)
260260

261261
![io picture](/img/python_io_descr.png)
262262

files/inputDescription.gh

2.19 KB
Binary file not shown.

0 commit comments

Comments
 (0)