Attempting to make a script to move an object a set number of units away from...
I am trying to figure out how to write a script to move one object a specified distance away from another object but I cant quite figure out how to do it. I am very green to scripting and figured this...
View ArticleProblem with RhinoCommon, Intersection.MeshLine Method
Hi, I used “Rhino.geometry.intersect.intersection.MeshLine” method in C#-script component on gh for checking Ray intersection and it ran more than thousand times. The problem was that the memory usage...
View ArticleGetting geometrybase from guid in VB script?
Sorry…I must be tired or really dumb…but just can’t seam to find how to do this basic procedure. Basically I have a surface GUID and want to extract it’s boundaries. I guess I need to use...
View ArticleNumpy,Scipy through C# dll
I guess this is a long shot. I looked around the forum and haven’t found a complete solution. There is a C# project on github. https://github.com/SciSharp/Numpy.NET I wonder has anyone tried this or...
View ArticleIntersection.RayShoot Method
Looking for an example using Intersection.RayShoot Method in python. I was hoping to find a function that would either select or return back the intersection of a surface. Not necessarily just looking...
View ArticleSemiModal Dialog with Eto?
Hello, I am just getting into Eto with python to make a gui for a grasshopper project. Is there any way to open the dialog so that it is a semi modal window and can be used simultaneously with...
View ArticleGet; Set; Control Points / Grips with Python
get_set_in_python677×529 20.5 KB How can we Get/Set a property using Python, for example data such as ControlPoint Rhino.Geometry.ControlPoint. C# and VB has the ( get; set; ) example, but I can’t see...
View ArticlePrint output
Evaluating PythonRhinoScript with Rhino. print is not displaying anything in the output window. Any guidance appreciated. 2 posts - 2 participants Read full topic
View ArticleUnweld Mesh at many vertices
Is there a way to use the UnweldVertex command through either rhinoscript, RhinoCommon or Grasshopper? I have several complex meshes like this fragment split_at_pts854×713 352 KB and I need to...
View ArticleImport module in GhPython: error
Hello I install a module for Python 2.7 called pyembroidery (pip install pyembroidery) the folder C:\Python27\Lib\site-packages already added to Module search paths in Rhino, when i try to load the...
View ArticleGet Objects that Intersect a Plane
Hi, Is there a function that will return all objects that intersect a plane, for example the XY Plane? I want the guid of any polysurface that shares an intersection with the plane. Preferably in...
View ArticleCopy an object to target points
I am trying to move a simple box extrusion to random points but I keep getting this error: Message: unsupported operand type(s) for -: ‘Guid’ and ‘Point3d’. Here is my script: import rhinoscriptsyntax...
View ArticleSort a csv file in Python
Hi I need to open and sort a csv data file in Rhino Python, I was going to use Pandas Data Frame module before I discovered that I cannot use it in IronPython so any advice of an alternative approach....
View ArticleRename points in Python
Hi, The Python script below gives me the point names of 3d points in my workspace. However not all have names and by default are named " None" so I want to change these names to “No Name” either by...
View ArticleList or Tuples
I am getting the point name and its co ordinates of a 3D point in my workspace then want to sort by either of the fields. What would you recommend ? a list or tuples if so is there an easy way of...
View ArticleVb script right click and escape key help
In the attached Vb script I notice that if the user presses escape my script works but if they right click then my script doesn’t supply the needed name. Thanks for any tips on this or ways to make it...
View ArticleChanging units causes viewport scaling wish it didn't
Hi @dale I went over your kindly supplied Vb script and was able to add the choice of my custom units. The only problem is that when I choose my units Rhino scales the viewport and I have to zoom...
View ArticleHow to get data out of NURBS solids in Rhino
How I can get some specific data out of NURBS solids drawn in Rhino in a .txt Format? Data like coordinates of control Points, their respective weights and knot vectors. Finding from the earlier...
View ArticleProblem when use drape in rhino by python script
This problem confused me for a long time. I tried many many times but it didn’t work. When I used drape command in Rhino directly and draw the window by hand, it is OK. However, it failed when i use...
View ArticleMove SubD vertex to fit a mesh/brep
Hi all, I would like to move the subD vertex to fit an existing mesh. In fact, the mesh was generated from the subD and went through form find process, after which I would like to refit the subD to...
View Article