Quantcast
Channel: Scripting - McNeel Forum
Browsing all 4159 articles
Browse latest View live

Split script creating unwanted surfaces, how to delete within script?

@kleerkoat wrote: i have a script here that splits objects by the construction plane. when i split a solid the script sometimes creates a planar surface that i don’t want. (possible bug?) is there a...

View Article


Layers in Phython Scripting

@miano wrote: This is a script that someone kindly provided an outline for me and I have have cleaned up—that still needs work. The objective of the script is to import a CSV file containing layer...

View Article


Rhinoscript - Centroid of curve

@rhorsefield wrote: I am writing a Rhinoscript weight estimating program. One part of the program will use curve lengths and centroids to calculate pipe weights/centers. Each curve is assumed to be...

View Article

Image may be NSFW.
Clik here to view.

Path mapping in c#

@daniel.c wrote: Hi, Im trying to step up game and after producing some very basic scripts in python Im trying c#. Anyways, 2 questions: Grid of points.gh (5.9 KB) I would welcome any tips to simplify...

View Article

Set Name of Detail View

@eric.bunn wrote: Hi, I got this block of code from Djordje Spasic and I’m wondering how one might go about giving a name to the detail views in a layout. Djordje was nice enough to give me the code...

View Article


Image may be NSFW.
Clik here to view.

Extract numbers from Text

@seghierkhaled wrote: Hello To extract numbers from this list i use regular components Text split and Replace text or Wombat Replace text multiple. Is there an easiest way with Python or Grasshopper ?...

View Article

Image may be NSFW.
Clik here to view.

Inputs and outputs of component

@seghierkhaled wrote: Hello How we find the count of inputs and outputs of component image1239×320 30.3 KB Posts: 13 Participants: 3 Read full topic

View Article

Get Current Detail Scale

@eric.bunn wrote: Hi, I’ve been successful using DetailGeometry.SetScale to set the scale of a detail. How can you get the current scale of the detail before you run DetailGeometry.SetScale so you can...

View Article


Image may be NSFW.
Clik here to view.

Rhino.getobject, subobject toggle not working

@kleerkoat wrote: i have a script here that i’m trying to get subobject select working. per documentation: GetObject(message=None, filter=0, preselect=False, select=False, custom_filter=None,...

View Article


Simple macro

@Mikey wrote: Being trying to set up the FBX import in Modo so it could change the vertical Rhino’s Z-axis to Modo’s Y-axis but so far it works not exactly how I want it to. Please help to make a...

View Article

Image may be NSFW.
Clik here to view.

Userform in Rhino 6 Opens Half the Size

@eric.bunn wrote: Hi, I have a user on Rhino 6 that is having problems with how a userform is displayed on their machine. I sent them a simple test userform to try and troubleshoot this and the...

View Article

Rhinoscript: Set Layer Visibility per Detail

@Brayton_Orchard wrote: Is there a Rhinoscript method to set layer visibility on a per-detail basis in layouts? I can’t find this in the online documentation, and I see that there is a method...

View Article

Pickle in c#

@ivelin.peychev wrote: What is the c# (dotnet) alternative of python’s pickle? Posts: 7 Participants: 2 Read full topic

View Article


Image may be NSFW.
Clik here to view.

Ghpythonremote and rhino3dm

@seghierkhaled wrote: What’s wrong here? I want test rhino3dm and compute_rhino3d with ghpythonremote image1125×599 51 KB Posts: 1 Participants: 1 Read full topic

View Article

Image may be NSFW.
Clik here to view.

List layout page names?

@petumatr wrote: Hi folks, do you think there is any chance to fish out the layout names and list it / export it? I need to create a drawing list and looking for a more convenient way Posts: 3...

View Article


Image may be NSFW.
Clik here to view.

Future of Grasshopper plugins development for Rhino 7 WIP in Python

@w.radaczynski wrote: Hello guys Is it possible now to create large Grasshopper plugins with CPython using rhino.inside only? Are there any simple examples, so we can see it in action? I’m aware of...

View Article

Copy Objects in Group and Remove Copies From Group

@eric.bunn wrote: Hi I’m selecting a group of objects with GetObjects using Python in Rhino 5, copying the objects using CopyObjects and finding that the copies are within the group I’ve selected. I...

View Article


Rs.filter for subD object

@vincentfs wrote: Hi everyone, For rhinoscriptsyntax/Rhinocommon, is there an updated documentation I can refer to when dealing with subD object? I am current using rs.Command() as a makeshift for my...

View Article

More question about command InterpCrvOnSrf

@1792927545 wrote: when I use the ‘_InterpCrvOnSrf’ command, it can span the seams of closed surfaces. But when I use the python script “rs.AddInterpCrvOnSrf( surface_id, [point1, point2])”, it will...

View Article

Image may be NSFW.
Clik here to view.

Getting Numpy inside Rhino

@ivelin.peychev wrote: Hi, Just read this answer: Trying to import Numpy in Rhino Python but I'm getting this error : "cannot import multiarray from numpy.core" Scripting Hi all, After a painful...

View Article
Browsing all 4159 articles
Browse latest View live


Latest Images