Handling data using dynamic inputs and outputs through ghenv.Component.Params
Hi! How can I channel data from two dynamic inputs into a single dynamic output? All my inputs at the left are paired with corresponding output at the right. My inputs and outputs need to be dynamic...
View ArticleGet point on Mesh
Hello I m trying to create a component to get a point with constrain on mesh. i can hide the convas, get the mesh and constrain on the mesh. but i have to move the vue before picking the point on...
View ArticleRhinoceros 7 automation
I am using the script available here: [Run Rhino 6 and python script from Windows command line] and trying lo run my plugin in batch within automation. My plugin implements a very simple command and...
View ArticleMulti line in _-TextObject
hi how to write multi lines with -TextObject in python. i made plugin for text writing in right to left language. but i can write just in one line. please guide me find a solution for this problem. 1...
View ArticleMerge All Coplanar Faces from python
Forgive me if this is an easy to find answer, I’m not finding the forum or api searching useful in this case. I’ve made an object by BooleanUnion’ing multiple rs.AddBox() results and I can still see...
View ArticleBug in object attributesin RhinoCommon
When I use the script it Ungroups the grouped objects and deletes all Usertexts? Is this a bug? def ChangeMaterial(matIndex, ObjectID): attr = Rhino.DocObjects.ObjectAttributes() attr.MaterialIndex =...
View Articlers.ShrinkTrimmedSurfaces() broken for certain input cases
Was just testing something this morning and ran across this. The help for rs.ShrinkTrimmedSurface() implies that it should accept either surfaces or polysurfaces. image826×428 10.6 KB However if I...
View ArticleLooking for rhinoscript-syntax equivalent to _IntersectTwoSets Command
Dear forum members, I currently working on a script to automize my rhino workflow. The first part of the script creates multiple polylines and stores them in the array arrChosenLines(i) . The second...
View ArticleIronPython 3.4 availability
Hello, IronPytnon 3 is available on the IronPython website. Is there a guide how to make use of it in Rhino and Grasshopper. https://ironpython.net/ 2 posts - 2 participants Read full topic
View ArticleDouble convertTo.int?(Help)
I want Covert(double to int )… For use as index(Because the Random number produced from Double) how? index1780×618 153 KB covert.int.gh (9.4 KB) private void RunScript(int seed, double lenght, double...
View ArticlePython OnMouseDown failure on mac
Hi @Alain and @dan, i am trying to port some python scripts from windows to mac which override Rhino.Input.Custom.GetPoint and use custom code in the OnMouseDown and OnMouseMove events. The problem...
View ArticleSet object material in Python
Frustrated with how slow the material drop down is (sometimes hangs forever), I’m trying to create a quick dialog that lets me assign a material to an object with a listbox and no thumbnail previews....
View ArticleCreating the center point of a rectangular plane in python
Hello everyone, I am running through an issue using RhinoScriptSyntax. I want to create planes along a curve and I want them to be centered on the curve. I am using the rs.PlaneFromNormal() function...
View ArticlePorting GHPython code to C++ DLL
Does anyone know how to run a GHPython script through a C++ dll with the intent of drastically increasing calculation time? I got the initial idea from a discussion here (300X Speedup by Porting...
View ArticleMissing ghpython documentation?
I can’t seem to find any documenation that makes reference to the ghenv functions/classes in ghpython. I’m talking about lines like the following: ghenv.component.message or...
View ArticleDocumentation on System.Drawing
I m creating a script where for setting up the layer struture that i would like to have. Using as starting point from python documentation for Addlayer command there is the following example: import...
View ArticleRhino.3dm - No module in grasshopper
Hi guys. I have R7. I want to use rhino3dm library in python. A download it with cmd, successfully. I see library in Visual Code software but python in grasshopper write me “No module named rhino3dm”...
View ArticleGetMultipleObjects and preselect
I’m using Rhino.Input.RhinoGet.GetMultipleObjects with filters but if the user preselects objects, they are able to select objects that should be filtered out. This is fine - everything works and the...
View ArticleAuto-viewcapture all views to JPEG file
Hi all, I have done a script to export all views to JPEG file. It works in Rhino5, but for some reason it doesn’t work in Rhino6… Does anyone know why? Thanks for any suggestion,...
View Articlers.AddCutPlane() bug
In testing something from another thread I stumbled across a bug in the rs.AddCutPlane() method which tracks back to a bug in Rhino.Geometry.PlaneSurface.CreateThroughBox(line, normal, box) where the...
View Article