Accessing the Bevel command in a script
Hi! I am trying to use the Bevel command in Grashopper for beveling mesh edges. The command is not directly available in GH but I was trying to call it using a GhPython script but I don’t seem to be...
View ArticleAssign Custom Linetype to Curves with Python
Hello, Is there a way I can assign a custom/default Linetype to a Curve, both created with RhinoCommon inside ghpython? Thanks 3 posts - 2 participants Read full topic
View ArticleUsing locals() duplicates function arguments
Hello here! Here is a screenshot of the issue: image770×605 21 KB And a copy of the code: import rhinoscriptsyntax as rs def TestLocals(argument_A = 0, argument_B = "True"): argument_A = 1 argument_B...
View ArticleHelp for Mesh. MergeAllCoplanarFaces API(IN GRASSHOPPER)
HI i need merge Mesh. MergeAllCoplanarFaces API(IN GRASSHOPPER) for Mesh(or SubD) In Python C # or Rhinoscriptsyntax,…??? Is there a way for MergeCoplanarFaces Work in grasshopper as well as this...
View ArticleFitting 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 3 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 Article