s helped in the past...but again I must be missing something simple.
here is the code and error--attached are the def and (.3DM) file:
----------------------------------------------------------------------
import rhinoscriptsyntax as rs
import ghpythonlib.components as ghcomp
#print UV
pc = []
maxVecs = []
revVec = []
movedPts = []
pc = ghcomp.PrincipalCurvature(surface, UV)
maxVecs = pc[4]
frames = pc[0]
for vector in maxVecs:
#print vector
tempVec = rs.VectorReverse(vector)
revVec.append(tempVec)
for i in range(len(frames)):
#print frames[i]
print revVec[i]
tempPt = rs.MoveObject(frames[i],revVec[i])
#movedPts.append(tempPt)
vectors = revVec
--------------------------------------------------------------
Runtime error (TypeErrorException): Parameter must be a Guid or string representing a Guid
Traceback:
line 468, in coerceguid, "C:\Users\Aaron\AppData\Roaming\McNeel\Rhinoceros\5.0\Plug-ins\IronPython (814d908a-e25c-493d-97e9-ee3861957f49)\settings\lib\rhinoscript\utility.py"
line 1081, in TransformObjects, "C:\Users\Aaron\AppData\Roaming\McNeel\Rhinoceros\5.0\Plug-ins\IronPython (814d908a-e25c-493d-97e9-ee3861957f49)\settings\lib\rhinoscript\object.py"
line 396, in MoveObjects, "C:\Users\Aaron\AppData\Roaming\McNeel\Rhinoceros\5.0\Plug-ins\IronPython (814d908a-e25c-493d-97e9-ee3861957f49)\settings\lib\rhinoscript\object.py"
line 382, in MoveObject, "C:\Users\Aaron\AppData\Roaming\McNeel\Rhinoceros\5.0\Plug-ins\IronPython (814d908a-e25c-493d-97e9-ee3861957f49)\settings\lib\rhinoscript\object.py"
line 28, in script
Any help with understanding what's going on would be really helpful.
aaron…
I had to do it more than once.
All the time my PC couldn't show any Port in the Arduino program: Tools -> Ports (Ports was displayed in grey)
I got this error: "COM 6 does not exist" in firefly
So it was obviously the USB connection. My flatmate told me that Windows USB Ports seem to have this problem of not recognizing devices more often...
Hope that was helpful,
cheers…
eone would know how to group each data position from each branch ... meaning, for instance, that I have a list of data with 3 branches, each branch containing 28 data instances (see attached image). Now, how would I get the (0;0)+(1;0)+(2;0) to be grouped in a new branch, as well as (0;1)+(1;1)+(2;1) and so on?
Also, I need for the setup to able to take in variables, so that the 3 branches might change to 6, and the 28 data instances might to change to anything between 10 and 100.
Thanks in advance,
/Claus
…
e a branch. Say I had two geometry collections with 14 objects each, which makes for 28 geometries. Is there a way to retain each geometry collection's list as individual branches rather than them getting turned into individual branches per geometry?
I.e. when i check what pts.BranchCount outputs, I get 28 instead of 2.…
byte-accuracy red, green, blue channels) = 27 bytes. More likely 28 bytes as colours are probably stored as 32-bit integers, allowing for an unused alpha channel.
28 * 800,000 equals roughly 22 megabytes, which is way down from 9 gigabytes. That's a 400 fold memory overhead, which is pretty hefty.
Grasshopper stores points as instances of classes, so on 64-bit systems it actually takes 64+64+3*8 = 152 bytes per point*, which adds up to 122MB, still way less than 9GB. It would be interesting to know where all the memory goes...
* Grasshopper points also store reference data, in case they come from the Rhino document. This data will not exist, but even so it will require 64-bits of storage.…
Added by David Rutten at 4:13pm on December 11, 2014
variables - all doubles. I call them pc, max, min. The expression is very simple: (pc*(max-min))+min I tried either with the F(x)3 component or the F(x)n with 3 inputs, the expression editor in F(x)n gives me the warning "invalid, expected ( instead of -"I then tried naming the variables x,y,z and it seems to work with either component... so, what am I not understanding here? Thanks for any light you can shed... --Mitch…
Added by Mitch Heynick at 10:48am on February 21, 2010