Quantcast
Channel: Scripting - McNeel Forum
Browsing index pages (5988 articles)

Insert on a nested (reference) block definition creates a ghost object

Hi McNeel team. We have ran into a bug with linked blocks that sometimes causes kind of ghost objects to appear. I have used Claude and the Rhino MCP to get to the bottom of this and provide a...

View Article


Image may be NSFW.
Clik here to view.

Make Eto Color Picker Without Dropdown Menu?

Hi All, I’m in week 1 of learning Eto, having great fun/results so far. This might be obvious, but can one make this color picker (i.e. you click the color swatch and there is no drop down menu on the...

View Article


Image may be NSFW.
Clik here to view.

PDF import: "Import" behaves different from "-Import"

I am working on a script to import PDF files. Using the Import command to import a PDF it works well, with both mm or inch templates. Using -Import works well when importing into a mm file, while...

View Article

Image may be NSFW.
Clik here to view.

ETO: How To Remove Top Left Icon?

Hi all, With the current Grasshopper Remote Control Panel situation being what it is, I’m dipping my toe into ETO as a potential framework for making my Grasshopper GUIs. Anywho, first question: How...

View Article

(ETO Forms) Slider and NumericStepper Coordination

Some months ago, some AI recommended that my sliders have a coarse increment (say, 0.10) and that it’s related NumericStepper should have a more refined increment (say 0.05). Now AI is telling me that...

View Article


Does numeric_stepper.FormatString = "P0" cause problems in Macs?

I have lots of slider/stepper combos. Some of them deal in units (mm) and some might deal in factors, but I want the user to see percentages. Gemini suggested using FormatString = “P0” but then told...

View Article

Image may be NSFW.
Clik here to view.

Mesh Pipe script no output

Why does this script no longer work in Rhino 9 Beta? Multipipe experiment Grasshopper mesh_pipe.gh (6.4 KB) I’m using this script to create mesh pipes. 1 post - 1 participant Read full topic

View Article

Rhino8_PDF

New Text Document.txt (559 Bytes) Portrait_Color.pdf (193.3 KB) I am trying to create a PDF with Python. I have attached the script and the resulting PDF. I am not able to get it to output in color or...

View Article


Issue with Rhino.Geometry.Mesh.IsPointInside()

I would like to report this bug on mesh.IsPointInside(). I found other posts mentioning something similar, but they are all quite old and related to rhino 7 (I’m using rhino 8). To put it simple,...

View Article


BETA - EditPythonScript

Hello everyone, In my system editpythonscript command is not initializing the editor panel. Also none of the commands or macros that include running this command doesn’t work either. Has anybody else...

View Article

Image may be NSFW.
Clik here to view.

Wrong displacement behavior

Hello ! I’ve recently discovered that, while getting a mesh, created with displacement map, for the first time, the API sees the mesh as before its transformation. This also happens each time the...

View Article

Issue with breakpoints and exception handling in the Script Editor

Hi All, When trying to run to a breakpoint after an Exception has been raised (and handled), the editor will not stop on the breakpoint. The example code below shows this. If I put a breakpoint on the...

View Article

Handle keyboard in OnDynamicDraw without the command line receiving input

I’m trying to make a script/plugin for dynamically sectioning a mesh. I do this by overriding the GetPoint class and using its OnDynamicDraw. Then, I intersect the mesh with MeshPlane, to which I pass...

View Article


Issue forcing custom OpenCV version in Python3

I am having an issue with trying to downgrade a version of OpenCV for a Python3 script in Grasshopper, as I need some functions which have been removed in the newer OpenCV version that ships with the...

View Article

Lags with mouse tracking on RhinoBeta

Hello, I am developing a « Move Normal to Surface » definition including a Grasshopper Python script. It is integrated in a larger definition aimed at facilitating jewelry design. Thanks to this post...

View Article


Image may be NSFW.
Clik here to view.

Scripteditor

Hi, Can i get some help with this? 8 posts - 3 participants Read full topic

View Article

Image may be NSFW.
Clik here to view.

How do I change material base color image settings with Python?

Whenever I create a new material from a jpeg-image I drag onto an object in the rhino model, that image is by default set as the bitmap texture for the base color of a newly created material, named...

View Article


Image may be NSFW.
Clik here to view.

SyntaxWarning - py313-rh9\site-rhinopython\rhinoscript\utility.py:706

Hi there. Rhino shows this worning. C:\Users\XXXX\.rhinocode\py313-rh9\site-rhinopython\rhinoscript\utility.py:706: SyntaxWarning: invalid escape sequence ‘\s’ vector...

View Article

Image may be NSFW.
Clik here to view.

Installing Phyton Runtime failed

Hi everyone, while dragging in the Python 3 Script component (or the ordinary Python Script component) it starts loading a few things, then it comes to “Installing Python Runtime” and it this point it...

View Article

Image may be NSFW.
Clik here to view.

Python Edit Suggestion

1 → : The activity code files can be placed on the side. Sometimes, for some projects, I need to review multiple files to make comparisons. ====== 1 ====== 2 → : The code collector seems not to have...

View Article
Browsing index pages (5988 articles)


Latest Images