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…
ld be by no means a general benchmark of all arrays and lists, but it would give an idea of where List<T> and where T[] might be more appropriate.
Here is how you could set this up: on my PC, with 1'000'000 arrays/lists constructions and 50 inner loops on each, "arrays vs. list" has about 1:2 speed relationship, and "array vs. unknown length list" 1:9. You can test on your system and change the tests, too. If you do, remember to build in release mode and "Run without debugging".
- Giulio
____________________
giulio@mcneel.com
McNeel Europe, Barcelona…
2GB RAM and a GeForce 4 mx 4000 128MB (and I suspect is not working for Rhino or Gh, because in my openGL preferences Rhine says I have only 64mb of video memory), and still within a couple of months I was able to do my entire graduation thesis, modeled 95% in Gh.. So a basic pc is not an excuse thanks to you guys :D
final renders..…
Added by Diego Xavier at 11:08am on February 7, 2013
port.
In my case, I downloaded arduino installer again from arduino website, then I chosen correct port that "control panel > device and printer > Arduino Uno > choose correct COM".
Finally, I could enjoy arduino and firefly!
Thank you Andy!…