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

RunPythonScript with spaces in file path

I’m trying to run Rhino + python script using Task Scheduler using the following syntax: “C:\Program Files\Rhino 8\System\Rhino.exe” /nosplash /runscript=“_-RunPythonScript ‘C:\Users\me\Company Name...

View Article


Image may be NSFW.
Clik here to view.

Define the form as transparent

I want to define the form as transparent how to do that, control and form transparency separate import Eto import Eto.Forms as ef import Eto.Drawing as ed from eto_image_py import Images_form form =...

View Article


Image may be NSFW.
Clik here to view.

Issue with ScriptEditor: "Failed getting latest Rhino releases" Error

Hello everyone, I have recently encountered an issue with ScriptEditor that did not exist a few months ago. When I enter the information related to the components and then click on “publish project,”...

View Article

Internal Coding Issue in dimension.py

Hi Team, I’ve been converting my existing Python 2 code to Python 3 and come across what appears to be an issue with the inbuilt dimension.py file - Traceback (most recent call last): File...

View Article

Python3 ssl modue missing?

Good morning, I’m not sure if I understand what is happening here, I’m getting this error out of the blue. SSL should come with Python by default, is the error related to a missing path, or something...

View Article


Overwriting text

I have a script that adds text on top of objects in layouts. It can put a text with object name, material name, material notes or any user text. Text placement is based on the center of the object,...

View Article

drawable_Mouse_events

I’m trying to use the mouse event to change the color of the drawable image, but I seem to run into problems on “drawable.mousemove += move” it’s wrong, “drawable.MouseDown += down” is fine, but I...

View Article

Script/Macro for selecting dims and changing the Model Space Scale

Hi all, I need help creating a Macro or Script to help me select all the ‘Dimensions’ objects in the file, and change the Model Space Scale of the Dimensions ONLY to ‘5’. I need the text objects,...

View Article


drawable_Mouse_Move\Does not work correctly

(topic deleted by author) 1 post - 1 participant Read full topic

View Article


Rhino common api

I tried using ArcCurve and LineCurve but the joinCurve is still not working i also checked if they are touching. The creation of curves is successful but when I use JoinCurves in the end it gives an...

View Article

Using scripts to show in detail

HideLayersInAllDetails.py (2.7 KB) Hi team, I’m hoping someone can help with a problem I’ve been struggling with. I have a script (not originally mine, but very useful) that allows me to select...

View Article

Image may be NSFW.
Clik here to view.

Issue: ScriptEditor UI size/scale incorrect when switching screens

Hi there, just to report: when I switch external screens with different resolution (from 4k to 1920x1080), the size and scale of the scriptEditor textarea do not update as expected: also the cursor...

View Article

Image may be NSFW.
Clik here to view.

Rhino Python 3.10 - Please support it!

Hi, Rhino 3.9 is the last version that is not supported no more. @eirannejad would it be possible to increate the version from 3.9.10 to 3.10 ? 8 posts - 3 participants Read full topic

View Article


Image may be NSFW.
Clik here to view.

Question about SubDCrease

I wanted to build a control for Eto slider to adjust the value of SubDCrease, but I can’t seem to find a way to do it. What I want to achieve is similar to the crease edge control with a blender 5...

View Article

[BUG] ScriptEditor executes Python code while editing

The Rhino Script Editor IDE unexpectedly executes Python code while editing. If a variable is named imported_data and you type a "." (dot), the IDE executes a previously imported module Steps to...

View Article


Image may be NSFW.
Clik here to view.

Rhino.Geometry.Intersect.Intersection Nested Import broken in Py3 GH

@eirannejad The following import works in the old python scripting component, but breaks in the python3 component. from Rhino.Geometry.Intersect.Intersection import BrepBrep, BrepPlane This does not...

View Article

Getting sub-object material

I have a python script that gets material names from polysurface objects and tagging the objects in layouts with text objects. This works well, except that I want to get the material names from faces...

View Article


Is there any function in vb.net plungin for "MatchMeshEdge" function?

As the question, please tell me if there is any related function available in vb.net, because I want to run parallel to speed up 2 posts - 2 participants Read full topic

View Article

New custom snapping with RhinoCommon

Hi Scripting Guru. I’m trying to create a RhinoCommon script for snapping to the highest points in a cluster of points. I’m at loss for word trying to fix this error for the past week. I even used...

View Article

Image may be NSFW.
Clik here to view.

Python editor

Is there a workaround to get the function hint to work with the new editor now, or is it still in progress? Please see print screen a simple component to the new editor and legacy editor(which shows...

View Article
Browsing all 5938 articles
Browse latest View live