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

Converting python 0.1 in python 3 cause not working on shape diver

Hi guys, I’m writing to ask for your help with this script. In the cluster outlined in red, there’s a Python script (also marked in red) that I can’t manage to convert to Python 3. If anyone more...

View Article


Error: _umath_linalg.cp39-win_amd64.pyd' is already loaded

Hi there, I have a problem with installing python scipy. I successfully installed numpy and trimesh and when I tried to install scipy, I get the above mentioned error. Im fairly new to coding, so any...

View Article


Learning to call QuadRemesh using rhinocommon_api failed

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

View Article

Rhinoscript_onmesh?

I want to use python to convert brep or subd to mesh, I haven’t found a suitable api so far, I think I prefer to use RhinoScriptSyntax api but there is no such method as “onmesh()” in this api, there...

View Article

Finding objects hidden by clipping plane in viewport

I have a script which adds text on the objects visible in a detail. The script includes a method which determines which objects are visible in the detail. This works great except with clipping planes....

View Article


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


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
Browsing all 4120 articles
Browse latest View live