rs.DeleteDocumentData() does not update UserText panel
Hello, When I use in my script python function rs.DeleteDocumentData() to delete all document data, the data is deleted from the document but it is still visible in the Document User Text panel. I...
View ArticleTranslating batch script into powershell
I have the following batch script: "C:\Program Files\Rhino 7\System\rhino.exe" /nosplash /runscript="-grasshopper editor load document open C:\BPP_pipeline\snowflake_definition\latest.gh"...
View ArticleCould not convert Rhino Geometry Point object to a Point3d
hi ,all I inserted a point from outside GH Python into GH Python, and it gives me this error I want to make a vector with the help of this point How can I fix this error? 5 posts - 2 participants Read...
View ArticleMesh.MergeAllCoplanarFaces-doesn't found in visual studio?
Mesh.MergeAllCoplanarFaces(…) doesn’t found in visual studio? i use RhinoCommon and Grasshopper templates for Rhino 7 - Visual Studio Marketplace but this api ? 2 posts - 2 participants Read full topic
View ArticleRotate an object 3D
I made a scrip to rotate with copy an object rotating it two angles but an error appear: Dim arrObjects, arrPoint, arrvector1,arrvector2,lastObject1 arrObjects = Rhino.GetObjects("Select objects to...
View ArticleSVG Clipboard
Hi there, I would like to ask if it is possible to export the selected curves as SVG without pop up window, save it on Desktop, copy the file onto clipboard. I intend to copy it in Page Plus. It works...
View ArticleMeshFace.Set -- how does it work?
Greetings. For example, if I need to change in a mesh quad face one vertex to another by swaping their indeces? I’m trying to use this method MeshFace.Set Method (Int32, Int32, Int32, Int32) Heres my...
View ArticleGeometry change with imported module (scripting basics)
Greetings, another boring nooby question from me :} For example I have main script and imoprted module. Inside main script i create a Mesh with: sc.doc.Objects.AddMesh(Mesh) Then I pass Guid of this...
View ArticleApproximating arc with non-rational, cubic Bezier
I couldn’t find the solution for this online, so I solved this myself and wanted to share. Given a (circular) arc between 0° and 180°, what non-rational, cubic Bezier curve can approximate this arc...
View ArticleSort Text2Crv Outline
Hi All, Does anyone know how to sort the text outline and inside separately into two list? 3D_Text_Sample.3dm (332.5 KB) 2 posts - 2 participants Read full topic
View ArticleHow to get a bonding box for whole group?
#x is a group of bounding Breps BB = x.GetBoundingBox(Rhino.Geometry.Plane.WorldXY) #works for one object but doesn’t for a group of objects #Python #BoundingBox #grasshopper #scripting #group 2 posts...
View ArticleHelp needed:script for gradient hatch
hi Tom Tom, can you please help me write a script with gradient hatch ? 3 posts - 2 participants Read full topic
View ArticleRotate an vector in rhinopython
Hey there! I have an vector in python and using “get …” method i want to rotate it. Any ideas? Thanks in advance. 5 posts - 3 participants Read full topic
View ArticleLayer name property empty, but object exists on layer
I’m trying to delete sublayers and move objects to their own parent layers, but even if object seems to be on renamed layer, properties shows empty on selected object layer name. How to solve this...
View ArticlePoint3d is not callable
import Rhino import scriptcontext import System import Rhino.UI import Eto.Drawing as drawing import Eto.Forms as forms import rhinoscriptsyntax as rs A = rs.GetObject("SELECT OBJECT", 8 + 16) box =...
View ArticleExport selected objects using RhinoApp.RunScript()
Hi. I’m trying to export all the objects on a layer. In this case, to an OBJ file, but I’m not sure the destination file really matters. The goal is to make this totally non-interactive, so that no...
View ArticleColor Picker problems ETO Forms
Hello guys, i have an issue with the Color-Picker since one of the last updates. The issue is that the Color not be shown in the ETO Form for now but it changes the Color of the Layer. in Normal case...
View ArticleAbout some Rhino functions called in grasshopper
Hey guys, I’m still learning how to use Grasshopper in Rhino.Its amazing,I see a lot of instructions&buttons in Rhino’s interface which is abundant and useful.And quantities of them were displayed...
View ArticleRender All Named Views - Rhino 7
Hi all, I was trying to run this script and got this error: I figure the script might be old and out of date? Or maybe I did something Thanks 1 post - 1 participant Read full topic
View ArticleBounding box edge length #Python
How to find a bounding box edge length? If to use Rhino.Geometry.BoundingBox.GetEdges() we get the array of points for each of its edges. So, I can do a mathematical calculation with that points to...
View Article