Fitting a plane to the flatter part of the tube
Hi, I have a mesh of a tubular shape with cross-sections like these. The cross-sections are flattened on one side. samplesecs1717×1607 103 KB There is also a centerline curve for the tube. I would...
View ArticleMultiple commands in Python plugin?
Hello! After reading this, it’s still not too obvious to me how to add multiple commands to one and the same .rhi installer. I put 2 Python commands into here image925×142 12.1 KB and would like to...
View ArticleAdding python script as a command
Hi all, I have never added a python script to a command before. After hours of trying I don’t think I would figure this out by myself. The script I am adding is the Array Between from @Gijs. According...
View ArticleRs.command('-_import ...) not working
Hello, I need to import a couple of dxf-Files and arrange them for further process. Using MacroEditor following command works: -_import “D:\import\step01.dxf” y i _Enter Sadly it doesn’t work with...
View ArticleCurve as attractor
I am new to forum and python scripting for rhino. below is the script I made for curve as attractor. wanted to check if there is any other way to do it. I didn’t check because i wanted to develop in...
View ArticleGetting LinearRegression() to work in ghpython remote
This forum helped me to get several modules up and running in the ghpython remote node however… I am having trouble “Linea Rregression”. I installed sklearn and sklearn.linear_model into the modules...
View ArticleMove and make breps touch
(topic deleted by author) 1 post - 1 participant Read full topic
View ArticleExport text data from TextDot to csv format
Hi All, Does anyone know how to export the text data of multiple textdots in one csv file? Thanks in advance 3 posts - 2 participants Read full topic
View ArticleBug (Rhino 7): Restore view per script, but viewport name stay in "changed" mode
I hope my screenshot explain it - the “*” should be not shown anymore. -Micha 2 posts - 2 participants Read full topic
View ArticleHow to find adjacent breps?
How to script a component that finds if two or more breps are adjacent one to the other? I need to script a component that assesses if two or more breps are adjacent, they need to have at least one...
View ArticleHelp for move to c#
Hello to all help for move to c#? Hi Move or Copy in C # How are you? None of these methods below A- dynamic L = c.Transform.Translation((new Vector3d.XAxis) * gap); B- { var L =...
View ArticleAnemone loop vs C#
Hi all, I work with Anemone loop in Grasshopper, it can be quite slow sometimes, but it works. As an absolute zero in programming I’m asking you guys if some C# could be faster compared to the same...
View ArticleOffsetBrep in c# is wrongs
why?Offset.tBrep in c# is wrongs. but in rhino(offsetSurface is correct)(in this Object!) OFFSETBREP1615×662 95.4 KB OFFCETbREOC#.gh (9.4 KB)...
View ArticleUse plug-in command Api in c#
hi everyone how ?use plug-in command Api in c# in python is practical work import rhinoscriptsyntax as rs import ghpythonlib.components as gh from Rhino.Geometry import *...
View ArticleProject and SelID of Blocks don't work, can you fix it?
Hi, I have a script to make a curved section and I use (simplified) rs.Command("Project SelID “+str(object)+” ") To project the curve onto objects, but for some reason SelID and blocks doesn’t work...
View ArticleExport/add object from active .3dm to existing .3dm file
Hello friends. I’m working on a Python script and I’ve reached a point where I need to export / add objects from my active .3dm (where I’m running the script) to another existing .3dm without...
View ArticleArea of closed polyline
What do closed polylines have to be converted to in order to measure their area? This doesn’t seem to be a problem in Grasshopper, but somehow it seems to be with Rhino.Common. Is it necessary to...
View ArticleRunning a python script when changing the viewport
Is it possible to trigger a python script by changing viewports? 5 posts - 2 participants Read full topic
View Articlers.Command() does not take all input arguments
Hi all, In my case rs.Command() only takes point or number inputs and buttons but does not take inputs about check boxes, dropdown menus, etc. For example, the command rs.Command(’_-ExtrudeCrv 10...
View ArticleOptimum Python Scripting and Iteration
Hi, is there a consolidated resource for advising on the optimum python development? Currently I’m using the rhinoscriptsyntax module because it was the first example code I found. The Rhino module...
View Article