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

VB and Python differences in Rhinoceros version 5 and (current) 6.8

@dmitrey15 wrote: Hello, I see some VB code, e.g. Dim x As Double = 10 doesn’t work in Rhinoceros 5. Does it work in latest Rhinoceros version? Where can I get information (e.g. link(s) to webpage(s))...

View Article


Import and layer renaming

@kyle.faulkner wrote: I’m writing a python script to import a file and set imported layers to a new parent layer. In order to avoid imported objects from being inserted on an existing layers, the...

View Article


Vb rvb rotate object around its own longtitudinal axis

@crouchorama wrote: HI I wonder if anyone can show me how to rotate an oblong shaped box around its own long axis no matter how the object is oriented. in rvb or python. Thanks dazza000 Posts: 3...

View Article

Image may be NSFW.
Clik here to view.

How to find objects by the same?

@xiix.xoox wrote: I have many objects. Them repeater. Do you have solution to selected the objects by the same faster? i compare area them then get objects by the same but it too slowly....

View Article

C# - List of selected grips on a mesh

@OveJo wrote: Hi, How do I get a list over selected grips on a mesh using C# I Python this will work : selectedList = rs.SelectedObjectGrips(mesh_id) Any suggestion? Regards Ove Posts: 1 Participants:...

View Article


Rhinopython: Guid has no attribute __float__

@shackleton wrote: Ahoy Sailors! I have a strong background in Grasshopper and I´m starting to train myself in rinopython as a personal challenge. I was trying to create a script that rotates two...

View Article

Image may be NSFW.
Clik here to view.

How to create a concrete reinforcement toolbox with Rhino?

@tanguy.prevost wrote: Hi everyone, This post is a bit long, so just to bring the essential first, I am a civil engineer working for a 1000 people engineering company (https://www.setec.fr/en/). We...

View Article

Hide geometry in all details at once?

@dk2079 wrote: is there some way/script etc. to do this? I have big problems with new created geometry showing up in all kinds of details where I don not want it! thanks, Daniel Posts: 1 Participants:...

View Article


Eto Checkbox from Layers Syntax

@a.nigam wrote: Hello, I have a question about syntax using rhinopython to create check boxes using Eto. I’ve been using Grasshopper for a while and have some programming experience with Java mostly...

View Article


Image may be NSFW.
Clik here to view.

How to access file name for material color in Python script

@Terry_Chappell wrote: I have a mesh with a .jpg image as a material. The name of the .jpg file shows in the Materials tab: image.png1118×752 95.8 KB When Rhino exports this mesh, the reference to the...

View Article

Image may be NSFW.
Clik here to view.

How to make fingers connect the box

@dangtungx wrote: f53e000.png924×320 44.5 KB Posts: 1 Participants: 1 Read full topic

View Article

How to hide isocurves by command?

@leex wrote: Hi In the RhinoSettings show surf isocurves = not I work with t-splines, sometimes I convert it to NURBS When converted, isocurves appear. I can not find a command to hide it. it can only...

View Article

Image may be NSFW.
Clik here to view.

IronPython 2 and the sunsetting of Python 2.x

@casas wrote: Python 2.x is about to die (January 1st, 2020) and IronPython still has not released a version of their 3.x branch. This topic has been discussed multiple times, but in general, the...

View Article


Eto PushPick Button Data

@a.nigam wrote: Hello all, I have a script for a splash screen that asks users to point to input and output folders. All seems to be working well except I’m having some trouble passing data from the...

View Article

Set object name by layer name with counter

@corentin.ligot wrote: Hello, I’m looking for a script to name all objects of my scene by the name of their layer. I found this topic. The Python script work, but i want a different name for every...

View Article


Help: Parallel processing on a simple tasks doesn't work correctly

@Holo wrote: Hi, anybody here who are good at parallel processing in Rhino Python? I made a simple test but the results doesn’t seem right. I have tried to make a script that lets the cpu calculate n...

View Article

How can I script user select to run a linked rsCommand?

@CalypsoArt wrote: I haven’t played with coding since Basic and Pascal in the late '80’s. However, Id like to create a script to change the scale in Layout Details. Pascal Golay provided me with the...

View Article


Image may be NSFW.
Clik here to view.

Find shortest lines between curve points and mesh face centers with GHPython?

@sara22.martin22 wrote: hi everyone I create lines between the centroid(each face) and some point on mesh with limited distance. my problem is, to some point created more 1 line and want shortest one,...

View Article

ScriptExample to get polysurface centroid

@tigberlin89 wrote: Hi all, Could you pleas send me a Code example of using the [VolumeMassProperties.Centroid Property] in Rhino common pleas. I am trying to get the centroid of boundingbox that I...

View Article

RhinoPython rs.IsPolyline raises an exception

@gero wrote: Hi, I think rs.IsPolyline does not work the way it should. The following code chunk will stop with an error if you select a point or anything but a polyline. I’d expect that it should...

View Article
Browsing all 5743 articles
Browse latest View live