Best resources to learn python for rhino 7
I’m a complete beginner to coding and I want to learn python to help me have some simple scripts to help speed me up at work. Does anyone know the best place to start learning for me. 2 posts - 2...
View ArticleTry to Fill GroupBox
Hi All, def OnRadiobuttonChange(self, sender, e): self.m_group.Content = self.m_slider self.Resizable = True in the example image above, I have three objects, RadioButton, GoupBox, Button at each...
View ArticleCreating LSCM texture maps in Rhino API
Hi all, I am trying to create a grasshopper python component script to do the following: take an input mesh create a least squares conformal texture mapping for it store the coordinates in texture...
View Article'Guid' object has no attribute 'Z'
Hi all. I’m very new to scripting in Grasshopper, and am hoping someone could give me a quick solution to why this isn’t working. I have a list of points, and am trying to write a python script to...
View ArticleGhhops-server-py python version
Hi @eirannejad! Can you please confirm what is the latest python version supported by ghhops-server-py? compute.rhino3d/src/ghhops-server-py at 7.x · mcneel/compute.rhino3d · GitHub 1 post - 1...
View ArticleRead export directory from options.defaultfiledialogdirectories
Hi everybody! A simple question from a begginer Is it possible to compare the current documentPath with Rhino.Options.DefaultFileDialogDirectories.ExportDirectory in Rhino Python script? I mean, if...
View ArticleGenerating Four Sublists of Points with Adjacency Conditions in GHpython
O = b ▭ = a when I want to run this code some seeds in one of the sublists can not select a point from list b because the condition (the distance between the selected point and two other points in the...
View ArticlePython recursive script problem
Hi friends, after a long time I am trying to get back into Rhino / Python. Are there any good recommended tutorials, I am struggling mostly with all the different Classes and Geometry Types in Rhino /...
View Articlers.SurfaceVolume Help topic confusing
Currently the Help topic looks like this: The description of the return doesn’t make sense to me. What it returns is a tuple of two numbers. This description is referenced from the rhinoscriptsyntax...
View ArticleSubDObject Volume Calculation
Hello fellow rhino users, I have the following python code to calculate volume of certain objects. I can get the volume of meshes, polysurfaces and surfaces but cannot get the volume of the subds....
View ArticleSystem.Threading.Tasks.Parallel error in c#
hi everyone can help to this error when used System.Threading.Tasks.Parallel.For Loop in this code? using System.IO; using System.Linq; using System.Threading.Tasks; private void...
View ArticleHow to run and visualize the parallel codes in Rhino environment?
Hi, After grafting the curves to animate the movement, I computed them into a list. I have achieved it, but the parallel list operations are not visible in the rhino environment. How can I animate all...
View ArticlePython - Get Curve Degree
Hello, I’m trying to create simple ghpython component that returns the degree number value of the input curve list and stuck on how my input should be hinted/called. It appears it wants a guid or a...
View ArticleRhino 8 WIP - Python - Get Geometry From Model Object?
Hello, I have a simple python script that returns the curve degree from the input curves. I am primarily passing geometry as “Model Objects” throughout the script. If I use the G output of the Model...
View ArticlePython code - loft
Hi, I’m trying to create a simple code that creates a loft between 2 selected curves but I keep getting the following error: "Message: expected float, got Guid Traceback: line 2492, in EvaluateCurve,...
View ArticleTangent lines between two circles (curves)
I am looking for a method to detect tangent lines between two circles, i.e. to obtain the tangent lines which ‘TanIn’ and ‘TanEx’ provide. Is it exist at all or maybe there is a snippet of code for...
View ArticleHow to detect points in polysurface and surface vs surface connection?
I am a newbie to Rhino and developing a few analyses in Python with Rhinoscript. I have two questions, I would like to detect the points in the extrusion and surface vs surface connection for a...
View ArticleUsing RhinoCommon command in Python to access Brep Vertices
Hello, I am trying to use Rhino Python (Version 7) to access and translate brep vertices. It seems like there is a RhinoCommon command to access the vertex list that returns BrepVertex objects. These...
View ArticleHow to create surface mesh from intersection of plane and mesh
I am trying to use a plane to slice through a geometry, and generate a new mesh for the surface that represents the intersection of the plane and the geometry. I am using a clipping plane and getting...
View ArticleIs there any Way to turn off newly created layer in All layout and Detail
Sometimes we create some layers which we dont want to include in the previously created layouts, it is ok to manually turn off layers if we have 4-5 detail views only but for more than 15-20,we need...
View Article