Rhinoscriptsyntax insert bug?
I’m trying to insert a block in python using a plane to define the rotation of the insertion. When I manually try the insert command and its parameters, everything works fine, but when using python to...
View ArticleAlternative to Fin
rhinopython/spb_Fin.py at master · CADacombs/rhinopython · GitHub is similar to _Fin but with more options: If a naked edge is selected, its face may be automatically used as the “base surface”. The...
View ArticleMake Script Editor "Pervasive?"
Is there a way to have it stay open when I startup an addition session (file) of Rhino? I know I can make Python Script Edit a Startup item, but I’d like to hold off on that. 5 posts - 2 participants...
View ArticleUse of Rhinoscript within Excel VBA
Hello All, I am interested in automating some of the drawings that i need to use in my other work related software. That s why i would like to get a hold of the syntax of some operations that i can...
View ArticleDouble check RCommon
import Rhino import scriptcontext def CircleCenter(): go = Rhino.Input.Custom.GetObject() go.SetCommandPrompt("Select objects") go.GeometryFilter = Rhino.DocObjects.ObjectType.Curve...
View ArticlePolygon Shelv
Hallo there, I have a given Surface in rhino. How can I construct a polygon mesh shelf as in the picture in grasshopper? The area point of every triangle (?) is moved. How can I achieve that? thanks...
View ArticleWrite a script for tiling object surfaces
Hello everyone, can this object have 6 faces? Can these 6 faces be spread out on a flat surface? After being spread out, the surface cannot be flattened. If there are many faces on this object, can...
View ArticleWhat does (…, Optional) mean in API parameters?
What does the “Optional” mean in these parameters I keep reading? index (number, optional): the new material index Link to API page: Rhino - RhinoScriptSyntax 3 posts - 2 participants Read full topic
View ArticleNeed an algorithm to generate center line
Hey - for past couple of weeks I’ve been struggling to create and algorithm that generates center line (red curves in the attached image) of any given one or two closed curves (black curves in the...
View ArticleEto radiolist groupbox
Hi, All using ETO, it would be possible to create a structure like this: in the layout I have already inserted the three group boxes and the list of radio buttons (vertically) but it is the...
View ArticleDogbone script?
Hi, Does anyone have or know of a script that will make these in this way? I’ve probably modeled that 4000 times by now and I’m sick of doing it maybe for Rhino itself, it seems like what should/could...
View Articlers.AddLeader problem
Hi I couldn’t find out how to create a leader from script. Currently I’m using Rhino 7. got the same problem with rs.AddText(rs.AddText(“Hello Rhino!”, (0,0,0))) I’ve tried all the codes at this post....
View ArticlePolylines from Vectors
Hi guys, I’m having trouble creating Polylines from a field of vectors. I have a List of vectors, points and cells. They are all in the same order. My idea is to start a polyline from the startpoint...
View ArticleTest Curve Linear & Degree 1
Hi All, https://developer.rhino3d.com/api/rhinocommon/rhino.geometry.curve/islinear the method indicated in the link checks if a curve is linear, but to check if it is also a simple straight line with...
View ArticleSet new Dimension Style from GH
Hi everyone, I am trying to create a new Dimension Style from scratch and set it as the current one in Grasshopper. I tried to build the code but something is wrong since the new style is created but...
View ArticleInsert only visible layers as block
Assuming this can’t be done without Scripting, and I don’t have time while I’m working at the moment. Anyone have/able to make this .py script? File B - Use “Insert” and choose File A File A -...
View ArticleEdit button's linked script
Maybe this is an interesting one? How to write a script that opens a chosen script’s button for editing? 1 post - 1 participant Read full topic
View ArticleOutput of Fx not correct - Rhino bug or script bug?
One of the options in the attached Python script is to output a column showing ‘Other Attributes’, which my script gets from Attribute User Text. This works great, unless the Value is a function, in...
View ArticleCreafting a Brep.IsCurveInside method
Hi everyone, I’m trying to compute if a curve is inside a Sphere (well sometimes it could be a collection of Spheres instead of a single one) In the scenario I’m working on, it never happens that a...
View ArticlePython - loading and linking geometry from rhino to grasshopper
Hi All, I’m trying to write a component similar to the geometry pipeline in grasshopper. Basically, I want to load objects from certain layers to grasshopper and filter those that are inside the...
View Article