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

Importing Python-RVO2

Hello everyone, I’m trying to use the RVO2 library within a Python 3 on Rhino8 I imported Cython and cmake, but I’m facing difficulties with the import process for rvo2 library. Could someone guide me...

View Article


Image may be NSFW.
Clik here to view.

Assigning RenderMaterial to Layers with a Python script

Hello, **I am trying to edit the RenderMaterial property of the Layer Class, to automate the creation of layers with a preset material, color, linetype, etc. ** **I got Layer.Color to work but for...

View Article


Image may be NSFW.
Clik here to view.

ChatGPT python code doesn't work, need help

Hello all, I created python code through ChatGPT, once Im inserting it into python node in GH it dont work, I`d need help of people who can know what is wrong. this is description of what do I need:...

View Article

How to interrupt each other for the given curves in rhino python

Hello,I am a beginner and I have encountered some difficulties。 For the given number of curves, I want to interrupt each other. I don’t know which function I should use. It ried use the...

View Article

Open form in Rhino centered on current working screen

Hello everybody, I am very new in programming and sure that my question is a little bit silly… I have found this information about how to show a form using python scripting: Link Forum post Everything...

View Article


Image may be NSFW.
Clik here to view.

Make toolbar visible

Could anyone provide me some samples of how to make toolbar visable after open RUI files using c#? Currently, I am using “ToolbarFile tb_file = tb_collection.Open(toolbarFilePath); Toolbar tb =...

View Article

Surface to mesh python

First I’m working on a code that converts files and generates a mesh. An error occurs while converting surface to mesh. Traceback (most recent call last): File...

View Article

How to make pointclouds from NURBS

I want to extract point clouds from NURBS. However, it doesn’t seem to have that function within Rino. Do I have to convert to mesh and use a program like MeshLab? However, in this case, polyline is...

View Article


Image may be NSFW.
Clik here to view.

Rhinoscript to set multiple camera for lines

Hi All, I am wanting to set multiple cameras & target by using the start and end of approx 200 lines. Does anyone know if there is a script or a grasshopper definition that can achieve this? Have...

View Article


Image may be NSFW.
Clik here to view.

Rhino 8: I get into trouble with the script editor for c# in grasshopper

I always get this error when I change content and compile it in the editor. Hi @eirannejad , could you help to check on this? Error info: Error building code | System.ArgumentException: The value...

View Article

V7 regression: Brep.CreateContourCurves() throws exception

Both Rhino.Geometry.Brep.CreateContourCurve() methods fail in v7 but not in v6. Does not seem dependent on the input. Minimal example using rhinoscriptsyntax, but I’ve tried the core functions as...

View Article

A tutorial request on pip install for Scripteditor

Dear community, can someone gives me some hints on how to use pip to install packages for the cpython in Rhino8 on a Mac computer? As the RhinoPython is not registered in the system PATH. How to...

View Article

Rhino 8 "Show code input parameter" in Grasshopper Python component

Hello, I was expecting to have this option in the C# components, but it looks like it was removed from the Python component. I looked in RhinoCode for a menu “Import file”, “Synchronize source code”...

View Article


Image may be NSFW.
Clik here to view.

I am researching the packaging method of CPython in Rhino 8

I am researching the packaging method for Rhino 8’s Python 3. x. Can anyone provide any related posts? I know that currently there may be relatively few people using Rhino 8, and the software is still...

View Article

Rhino 8 How to use input code in Grasshopper script component

Hello, I don’t know if it’s a bug or if I don’t know how to use the component but the component can’t read the “Input” input: jmv 1 post - 1 participant Read full topic

View Article


mouseWheelZoom on RhinoCode

Hello @eirannejad Would it be possible to enable “mouseWheelZoom” on the editor? It seems like it would be better to be able to enable/disable the option: Expose mouse wheel events · Issue #1774 ·...

View Article

Image may be NSFW.
Clik here to view.

Differences C# / C#Rh / C#Gh

doing tests in C# both in Rh and Gh and excluding all the superfluous code possible, it seems to me that in this case by reducing it completely to the bone, I notice that the rules highlighted in the...

View Article


Rhino7 Rhino.ProjectCurveToMeshMethod in Cycle is much slower then Rhino6

For Each arrPoint In arrPoints CountP = CountP - 1 arrPointOff1(0) = arrPoint(0) + Thickness * arrVector(0) arrPointOff1(1) = arrPoint(1) + Thickness * arrVector(1) arrPointOff1(2) = 0 arrPointOff2(0)...

View Article

Image may be NSFW.
Clik here to view.

Project Breps on closest surfaces chosen from a group

Hello, in an attempt to create a simple HoneyBee model for environmental analysis, and having exported Rooms, Windows from Revit to GH/Rhino using Speckle, I obtain the following: a group of...

View Article

Drawing Register in Rhino (using Python?)

Has anyone found a method for generating an auto-updating drawing register in Rhino? I imagine something in Python / Grasshopper might be needed but don’t have the literacy to come up with that...

View Article
Browsing all 4153 articles
Browse latest View live