How to use two parameter in condition or
4 posts elena (Liu_Xiang) wrote: I have a condition if i <" 15 or 19<"i <" 23But I would like to use two parameter in the condition.Which is like this. But it's not working. if i <'5 and j...
View ArticleMonitor mouse event
3 posts Liu Chong (Liu_Chong) wrote: Hi everyone:I want to create a piece a python script to monitor mouse events, like object selection, object modified. And then call different function according to...
View ArticlePyramid Bouncing
5 posts Mohamed Ibrahim (mohamednaeim) wrote: Hi, I am trying to make a ball traveling in space, bouncing within a pyramid using python (grasshopper)any hints?
View ArticleBoolean difference
2 posts ethank wrote: hi . I am new to python and trying to learn about it and could use some help. I'm trying to solve a problem about multiple Boolean differences that don't all intersect. So i have...
View ArticleAPI / Python
8 posts Carlos Gomes (carlosgomes515) wrote: Hi, This may be a very silly doubt, but i spent the last few days trying to find a solution and no luck.I have already created some simple macros using VB...
View ArticleBug in FitCurve
2 posts Andreas (ane501) wrote: Hi Steve, could you check the code for FitCurve? It somehow does fit the curve, but then unfortunately returns the old input curve. Thanks,Andi
View ArticleHow to know/ figure out what functions I need (Search & replace names)
13 posts PCI (Peter) wrote: I'm trying to figure out how to make a script/macro How or where can I find out what functions exist, what they do and the proper syntax/sub options? Right now i'm trying...
View ArticleRhino Python Examples
10 posts Mohamed Ibrahim (mohamednaeim) wrote: Hi, Where i can find Rhino Python Examplessomething like (openprocessing, where you can see both the code and its implementation)any suggestions
View ArticleApproximating to a grid
6 posts Andrew Paul (Mekon) wrote: Hi, this is my fist post here, and I'm a newcomer to rhino too. I hope someone can help me out. I've got a model of some terrain made up of various surfaces and I...
View ArticleMulti-threading issues with newest ghPython component
2 posts Djordje (djordje) wrote: I am trying to use SurfaceSplit grasshopper function and divide the execution between my two processor cores. But for some reason, I am getting unexpected result when...
View ArticlePython: Get the Domain of a Slider
1 post Miguel Rus (Miguel) wrote: Hi, Is it possible to access the domain of a slider (that is connected to the component) within the python component? -Miguel
View ArticleCurve on Surface
1 post Sunshine (NiceDay) wrote: I need write a function just like next link.http://wiki.mcneel.com/labs/curveonsurfaccv5 The curve will tend to go in a straight or direct path instead of following...
View ArticleDoes a zip slow multithreading down?
6 posts JPK wrote: Because I needed to use an array in array for my function (I believe) I use the python zip function to make an array of arrays.I find that the function that was written in python...
View ArticleRs.AddCircle() supports guids as an agrument too?
5 posts Djordje (djordje) wrote: Been looking at the RhinoCommon code below the rhinoscriptsyntax.AddCircle() function, and it seems it supports guids as input too: def AddCircle(plane_or_center,...
View ArticleSet type broken?
1 post Gero (gero) wrote: Hi, I've got a fairly complex script that seems to show a bug in RhinoPython. When you run it in RhinoPython it stops at a point where there are two identical items...
View ArticleRotate View Instantly
1 post Mohamed Ibrahim (mohamednaeim) wrote: Hi, I am trying to make cameraview rotate around a target instantly, but i dont know where i went wrongly, import rhinoscriptsyntax as rs for i in...
View ArticleBest material discussing meshes?
1 post Jake Hebbert (JakeHebbert) wrote: Is there any really good reference discussing mesh manipulation in Python for rhino?
View ArticleHow to write an efficient remap planes function in python?
3 posts Jake Hebbert (JakeHebbert) wrote: I am trying to make a function that takes in a reference plane, a target plane and a plane to remap (I'll call it planeA). So that the spatial relationship of...
View ArticleUnlock Detail Bug
1 post Peter Schmidt (5chmidt) wrote: Greetings,I have noticed what I believe is a bug in rs.DetailLock(). Below is a small script I wrote to check my results. I am able to take an unlocked detail and...
View ArticleCurrentDetail() WishList/Bug?
1 post Peter Schmidt (5chmidt) wrote: Greetings,I have been doing some work with details and I think I have found a bug. I am attempting to use the Layout string and Detail string to change the...
View Article