error: 80040154 Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG)). I'm not familiar with a lot of the magic and programming languages behind how this plugin works between Rhino and Illustrator, but I did a bunch of prodding trying to find a way to use Illustrator CC 2017 with it.
In the end I couldn't. But I installed CC 2015 (19.0.0) and it worked perfectly. This is on my personal laptop running Windows 10, with Illustrator installed at its default position on the C drive. No other more recent version worked for me, but I think that's more of a problem with my own dying laptop.…
Not looking extensively at the code, try:
aa = minx + sx * num.Next(1, 10) / 10
dd = miny + sy * num.Next(1, 10) / 10
cc = minz + sz * num.Next(1, 10) / 10
also, there is specific vb/c# forum...
掌握编程过程中遇到的思路方面和技术方面的问题. 内容包括以下几个方面:
反向逻辑思维能力的培养;
建立清晰的编程逻辑思维能力;
GH 的程序设计理念;
并行数据结构深入理解和控制.
Grasshopper course of McNeel Asia focus on the cultivation of students flexible use of programming techniques, the ability to solve practical problems. Our course deep into the whole process of programming, from programming thinking model, the components principle to usage details do detailed explanation, help students complete mastery programming encountered in the process of thinking and technical aspects, include the following content:
Ability of reverse logical thinking;
Establishment of clear programming logical thinking ability;
The program design concept of Grasshopper;
Understanding parallel data tree structure and how to control it.
更多详细内容... More details…
授课讲师 Instructor 课程由Grasshopper原厂McNeel公司在中国地区的两位 Rhino 原厂技术推广工程师 – Dixon、Jessesn联合授课。课程结束后对达到授课预定目标的学员颁发唯一由Grasshopper原厂认证的结业证书.
Dixon & Jessesn, McNeel Asia Support engineer, by the end of course student who achieve the intended target will get the authentication certificate from McNeel Asia.
课程报名 Register this course 课程即日开始报名, 开课一周前停止报名, 名额满提前报名结束. This course begin to sign up, stop sign up a week ago, with the quota ahead over.
在线报名参加课程...
Sign up to this course…
课程日期 Schedule 7/15-7/20 Beijing 北京 7/26-7/31 Shanghai 上海 7/07-7/12 Shenzhen 深圳
课程范例演示 Samples of Grasshopper course demo
Note: pls follow below comments by Jessesn to see the samples…
le or assembly 'IllustratorInterop, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.
I'm wondering if this is related to the COM library issue that many others have been experiencing? I'm running the latest version of CC (2017) and the latest version of Rhino, but not WIP. Will this plugin essentially have to be rewritten every-time illustrator is updated? I look forward to using it. Thanks for you help!…
Sub RunScript(ByVal x As OnCurve, ByVal y As Integer)
'your code here…
Dim BB As OnBoundingBox
BB = x.BoundingBox
Dim minPt As On3dPoint
minPt = BB.Corner(0, 0, 0)
Dim minx As Double = minPt.x
Dim miny As Double = minPt.y
Dim minz As Double = minPt.z
Dim maxPt As On3dPoint
maxPt = BB.Corner(1, 1, 1)
Dim maxx As Double = maxPt.x
Dim maxy As Double = maxPt.y
Dim maxz As Double = maxPt.z
Dim sx As Double = maxx - minx
Dim sy As Double = maxy - miny
Dim sz As Double = maxz - minz
Dim i As Integer
Dim RdPts As New List(Of On3dPoint)
Dim aa As Double
Dim dd As Double
Dim cc As Double
Randomize()
For i = 0 To y
Dim num As New Random
Dim Rnd As Integer = num.Next(1, 10)
aa = minx + sx * Rnd / 10
dd = miny + sy * Rnd / 10
cc = minz + sz * Rnd / 10
Dim pt As New On3dPoint (aa, dd, cc)
RdPts.Add(pt)
Next
A = RdPts…