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

Align camera with a curve

@cosmas wrote: Hey all, Is there any way to align the axis of a camera with a straight line that you preset? Is there a preexisting command or script available for this? Thank you. Posts: 5...

View Article


Select solid points and edit points at the same time

@cosmas wrote: One more for today, if I can. If you have a solid overlapping a curve that was maybe used to created it, is there a script that would allow you to select both objects and turn on their...

View Article


rhinoscriptsyntax.BoundingBox not accepting python sets

@Willem wrote: Hi, @stevebaer I suppose: I just found that a python set object is not accepted as itterable in rhinoscriptsyntax.BoundingBox geometry.py starting at line 343: bbox =...

View Article

Image may be NSFW.
Clik here to view.

ListBox - Search bar for searching through items in ListBox

@egdivad wrote: Hello Just want to know if it’s possible to add a search bar in rs.ListBox? I made a number of python scripts, and to be able to access them quickly I made a python script which lists...

View Article

After running a rhino VB script, the command line no longer responds to the...

@wendy.777.toerag wrote: The ONLY solution to the above problem is to terminate the Rhino app and restart it. The exact same problem occurs EVEN IF the script does nothing; eg : Option Explicit Call...

View Article


Image may be NSFW.
Clik here to view.

Let Grasshopper/Python change Value "X" until it matches "Y"

@raltena wrote: Hello, I have made a setup in Grasshopper in which a Knob can be changed. At the moment, I manually adjust the Knob until I get the desired value. Now, I would like to know if i can...

View Article

Image may be NSFW.
Clik here to view.

Check if a .OBJ file is updated and import it back to Rhino

@Julio wrote: Hi guys, I’m writing a python code which helps me communicate with an external software called RizomUV. I successfully made a GUI with a button that exports the mesh in the Windows tmp...

View Article

How to retrive item 0 of multi nested output? [Python]

@ShynnSup wrote: Hi, I am using CollisionManyXMany from ghpythonlib.components. It says. | Returns: | collision [Boolean] - True if object at this index collides with any of the other objects |...

View Article


Image may be NSFW.
Clik here to view.

Extend lines by increment (iterative) stop when collision True [Python]

@ShynnSup wrote: Hi, I am trying to achieve a Gilbert Tessellation as an exercise. The idea is simple, lines from random points extend both sides in random directions, until they intersect. So, the...

View Article


Add Ngonstomesh Rhinoscript method?

@JSV wrote: Hi - I’m looking for an easy to way to perform the following: for convex closed solids (polysurfaces) made up of planar faces I would like to run the mesh method, but produce meshes that...

View Article

ObjectEnumeratorSettings ClassTypeFilter For Rhino.Geometry.TextEntity

@vincentfs wrote: Hi everyone, I want to get objects that are TextEntity (excluding other annotations like linearDimension etc). Currently, there is only the ObjectType for Annotation. I noticed that...

View Article

Image may be NSFW.
Clik here to view.

Set Layer to a specific Layer

@Severin_Goidinger wrote: I would like to add a custom python command, I’m not quite familiar with the rhinosyntax though, and I am not too good in python either So what I want to create is an alias...

View Article

Ghcomp.evaluatecurve problem

@rgpn wrote: Hi everyone I have a strange problem trying to use a ghcomp. to evaluate a curve at parameter 0. I have just finished a script where I’m using the same ghcomponent code evaluating at the...

View Article


Image may be NSFW.
Clik here to view.

Quickly select objects with the Layer inside the Block?

@dangtungx wrote: Capture.JPG926×639 26.1 KB Posts: 1 Participants: 1 Read full topic

View Article

Grasshopper Python script to restore named view in detail

@martinsiegrist wrote: I’m trying to automate the export of a lot of plans with objects that Benefit from different perspective views. Thus, I’m creating Named Views manually I thought I could use...

View Article


Strange rs.command behaviour

@onrender wrote: Hi there, I would like to use the Split command in the rs.Command method and gives a strange result: rs.Command("_Split _SelID " + str(baseBdySf) + " _Enter _SelID " + str(cut[0]) + "...

View Article

Import DWG and Extrude as Solid

@reuben.alfred wrote: Hi, I want to import a DWG file and do a solid extrude, how do I do this? Perhaps, run a command script to import but not sure how to do the rest… Posts: 5 Participants: 2 Read...

View Article


Image may be NSFW.
Clik here to view.

Rectangles are not visible

@j.deboer wrote: Hello, I’m writing a script about rectangles in Grasshopper. The problem is that I can see all the rectangles after the script has stopped running but I want to see the rectangle in...

View Article

Image may be NSFW.
Clik here to view.

First Python Script - Some Advice Please

@Jonathan_Hutchinson1 wrote: Hi all, I am trying my hand with my first Python Script and wanted some help with making it work more cleanly. It’s to create blended setback curves at adjacent edges on a...

View Article

AddSrfSectionCrvs

@ali.fallah.66 wrote: Hi everyone. I want to obtain the boundary curve resulting from the intersection of a defined cutting plane through a surface. To this end I employed the AddSrfSectionCrvs in my...

View Article
Browsing all 5846 articles
Browse latest View live


Latest Images