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

Image may be NSFW.
Clik here to view.

How to selected the top surface in polysurface

@TheLionMad wrote: I have multi object are polysurface type. I want select the top surface in polysurface. ask1268×782 46.5 KB ask1.3dm (177.3 KB) Posts: 1 Participants: 1 Read full topic

View Article


Help with Selecting Objects by Boundary and Group

@kleerkoat wrote: I’ve got a script here that will take a bunch of closed curves, select internal curves and group them together. I’d like for it to select text as well and group it with the boundary...

View Article


Mesa within GhPython

@AmmarTaher wrote: Hi guys, I was wondering if Mesa for the agent-based modelling (ABM)could be used within GHpython yet? as far as I see it is based on Python 3 but GhPython is still 2.7 or at least...

View Article

Need Help: Export Layers to individual Files in ACIS .sat format - Automate...

@kurwanapkin wrote: So i took this script https://wiki.mcneel.com/developer/scriptsamples/exportlayerobjects and changed the second “.3dm” to “.sat” But now i need to manually hit enter each time to...

View Article

Possible to run command and RhinoScript from button?

@kleerkoat wrote: I’m having a hard time getting this to work so maybe it’s not possible. I’m trying to run a command before the script gets run like this so I don’t have to modify the script. !...

View Article


Getpoint z or setpoint z

@emrahoksak wrote: hi I write this code but not working. I want use pickpoint z or entered z coordinate at the same time. but first want getpoint I entred number not working. what can I do for this...

View Article

Image may be NSFW.
Clik here to view.

Curve Curve Intersection in Python for Grasshopper

@skitsasm wrote: Hi guys, I’m a complete novice regarding python but I’m trying to do something “simple” and have been running into a problem. What I’m trying to do is an iterative “devide by...

View Article

Image may be NSFW.
Clik here to view.

PlaneFitFromPoints Origin

@Jonathan_Hutchinson1 wrote: import rhinoscriptsyntax as rs section = rs.GetObjects() guids = [rs.CurvePoints(crv, segment_index=-1) for crv in section] pt1 = guids [0] [0] pt2 = guids [0] [1] pt3 =...

View Article


Document user text

@eric.bunn wrote: Is there a way to update document user text in rhino five using code. I am using document user text in a title block. Posts: 3 Participants: 2 Read full topic

View Article


Vray 4, how to prevent _-Render from returning immediately

@acampora wrote: Hi, I see that the SetBatchRenderOn function is gone in vray next. Is there a way to prevent the Render command to exit immediately when a vray render is launched? Has anybody already...

View Article

GetString Doesn't Accept Empty Spaces

@eric.bunn wrote: I’m using Rhinoscript GetString to get a string input from the user through the command line. (Python Code) As soon as the user hits the space bar, for example typing first and last...

View Article

Change units within rhinoscript?

@kleerkoat wrote: (topic withdrawn by author, will be automatically deleted in 24 hours unless flagged) Posts: 1 Participants: 1 Read full topic

View Article

Point list

@mak4203 wrote: Hi, how can I get the point list with getrectangle method in python? a = Rhino.Input.RhinoGet.GetRectangle() Posts: 5 Participants: 2 Read full topic

View Article


'module' object has no attribute 'RemoveCurveKnot'

@dmitrey15 wrote: hello, I try to use the example from https://developer.rhino3d.com/api/RhinoScriptSyntax/#collapse-RemoveCurveKnot and get the error (as well as from my own code): ‘module’ object...

View Article

Browse for File and Insert

@eric.bunn wrote: I’m looking for code that will allow me to browse for a file and then use the insert command to insert it. I found the following code which works to insert a file but the path is...

View Article


AddLeader not working

@jonathan3 wrote: I have a script that uses Rhino.AddLeader that has worked for many years. It now won’t add a leader to the document and the function returns Null. The rest of the script works fine....

View Article

Concave hull

@tognatta.aditya wrote: Need a c# solution for concave hull . Any help is appreciated. Furthermore how do I install alpha shape. Posts: 1 Participants: 1 Read full topic

View Article


Extract block from Rhino file without opening it?

@Jarek wrote: Hi All, I know it is not possible in Rhino but I was wondering if it is possible via scripting to import just specific block definitions from Rhino file without opening it? At some point...

View Article

Image may be NSFW.
Clik here to view.

Planktonmesh.Compact() issue for remesher

@vincentfs wrote: Dear @DanielPiker , I am experimenting with your great tool Remesher/MeshMachine. I found on grasshopper3D.com one GH definition and was able to extract the C# script from it. I...

View Article

How to declare a global variable in RhinoScript?

@antoine3 wrote: Hi all, I’m currently developing a small script in Rhinoscript. It is composed of multiple subroutines, that gives me informations about blocks in my model. Everything is working...

View Article
Browsing all 5743 articles
Browse latest View live