NCF参数化建筑论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

搜索
查看: 89018|回复: 88
打印 上一主题 下一主题

[GH插件] grasshopper的插件FireFly 萤火虫

[复制链接]
跳转到指定楼层
1m
发表于 2010-4-8 12:11:10 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
本帖最后由 lettle 于 2010-4-8 12:12 编辑

grasshopper的插件FireFly  萤火虫 不知道有人发过没有,如果有 版主删了吧。。。。
    来自于http://www.liftarchitects.com/journal/2010/3/11/firefly-beta-release.html#comments   
      安装到x:\Program Files\Rhinoceros 4.0\Plug-ins\Grasshopper\Components里面
对计算机语言无感   貌似是连接Arduino与grasshopper的  具体翻译如下How to use the Serial Read component:
The Serial Read component allows you to retrieve a value coming over the Serial Port. There are three input nodes for this component.
The P-input (Port Number) has to be the same Serial Port assigned in the Arduino IDE.  The default port is set to 3 (ie. COM 3) although
this port value may vary depending on computer configurations.  The B-input (Baud Rate) value should match the speed set in the Arduino
sketch.  Standard values include: 4800, 9600, 14400, 19200, 28800, 38400, 57600. The N-input requires an integer in order to (0) Open Port,
(1) Get Value, or (2) Close Port.  You can connect a Timer component to the Serial Read component to retreive values at a given interval.
Note: you should only turn the Timer component "On" after you have opened the port(0) and then retrieved the first value (1).  The output
for this component will return a string.  If you have sent a numeric value to the Serial Port, you will need to cast the string output of
the Serial Read component into a numeric value.  To do this, simply feed the output of the Serial Read component into a Number or Integer
parameter (Params/Primitive).
How to use the Serial Write component:
The Serial Write component allows you to write a string value to the Serial Port.  There are four input nodes for this component.  The
N,P, and B inputs are the same as the Serial Read (see above for more information).  The D-input is the data you wish to write to the
Serial Port.  Note: This component does not need to use a Timer component to update at a given interval if you are sending slider information
to the Serial Port.

如何使用串行读组件:

  串行读取组件允许您检索一个值通过串口来。这有三个组件的输入节点。
该P -输入(端口号)必须在同一串口IDE中的阿都伊诺分配。默认的端口设置为3(即COM 3个),尽管
此端口值可能取决于计算机的配置。这架B -输入(波特率)值应匹配的Arduino设定速度
素描。标准值包括:4800,9600,14400,19200,28800,38400,57600。的N -输入需要一个整数,以(0)开放港口,
(1)获取的价值,或(2)关闭端口。您可以连接一个Timer组件的串行读组件retreive在给定区间值。
注意:您应该只打开“后,你已经打开的端口(0定时器组成部分”),然后检索到的第一个值(1)。输出
此组件将返回一个字符串。如果你有一个数字值发送到串行端口,你将需要把字符串输出
串行读取内容纳入一个数字值。要做到这一点,只需馈入一个数或整数的分量输出的串行读
参数(Params /原始)。

  串行写入组件允许你写一个字符串值到串行端口。这有四个组件的输入节点。该
氮,磷和B输入为串行读相同(见上面获取更多信息)。该D -输入的数据,你想写信给
串行端口。注意:此组件并不需要使用一个Timer组件更新在给定的时间间隔,如果你发送信息滑块
到串行端口。

FireFly_version 001.zip

10.22 KB, 下载次数: 276, 下载积分: 照度 -1 lux

评分

参与人数 2强度 +3 照度 +34 收起 理由
musofan + 4
skywoolf + 3 + 30 感谢分享

查看全部评分

分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
收藏收藏1 分享分享
2m
发表于 2010-4-8 13:12:20 | 只看该作者
虽然 看不懂 还是感谢~~
3m
发表于 2010-4-8 13:29:25 | 只看该作者
谢谢分享了
4m
发表于 2010-4-8 13:35:18 | 只看该作者
我也看不明白,能不能举个例子来讲讲,这样大家更容易接受
5m
发表于 2010-4-8 13:37:57 | 只看该作者
我也看不明白,能不能举个例子来讲讲,这样大家更容易接受
6m
发表于 2010-4-8 13:38:27 | 只看该作者
这个很深奥啊
7m
发表于 2010-4-8 13:39:42 | 只看该作者
这个很深奥啊
8m
发表于 2010-4-8 13:47:53 | 只看该作者
这个很深奥啊
9m
发表于 2010-4-8 14:52:32 | 只看该作者
10m
发表于 2010-4-8 15:40:15 | 只看该作者
插件的插件……真不知道软件还要学多少……有些头大了,呵呵。
可能对于高手来说这解决了很多烦琐的工作吧。感谢楼主介绍。
11m
发表于 2010-4-8 16:25:07 | 只看该作者
rhino的所有插件都是其他动物哈~什么时候也出个alpaca
12m
发表于 2010-4-8 17:23:46 | 只看该作者
这个是用数字设备控制grasshopper的吗?
13m
发表于 2010-4-8 17:30:08 | 只看该作者
插件的插件,看不懂啊!还是先把GH弄明白再说吧!
14m
发表于 2010-4-8 17:53:02 | 只看该作者
哎,好可惜啊
我不会
15m
发表于 2010-4-8 18:50:56 | 只看该作者
本帖最后由 panhao1 于 2010-4-8 18:52 编辑

做gh互动的 感觉和processing等大众化编辑器做互动 还和建筑设计有点挂钩 其它的就是纯属娱乐了

要完完全全搞懂这个 还得先把4级的网络工程师考了吧
16m
 楼主| 发表于 2010-4-8 23:01:13 | 只看该作者
如楼上所说   纯属娱乐   看的云里雾里的。。
17m
发表于 2010-4-9 00:34:26 | 只看该作者
啊,,四级的网络工程师?
18m
发表于 2010-4-9 00:35:09 | 只看该作者
英文更加不懂了
头像被屏蔽
19m
发表于 2010-4-9 12:36:20 | 只看该作者
好神奇.....
20m
发表于 2010-4-9 14:01:16 | 只看该作者
有意思 顶一下

小黑屋|手机版|NCF参数化建筑论坛 ( 浙ICP备2020044100号-2 )    辽公网安备21021102000973号

GMT+8, 2024-5-7 20:14 , Processed in 0.068985 second(s), 22 queries , Gzip On.

Powered by Discuz! X3.2

© 2001-2013 Comsenz Inc.

快速回复 返回顶部 返回列表