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

Removing envs that crash script editor

I am trying to install packages to a virtual environment, and then uninstall them when I made a mistake. In the script editor, I have found the Open Python 3 Shell. When running python there, it...

View Article


Access is denied _umath_linalg.cp39-win_amd64.pyd

I am using # r: for some modules that use numpy. It seems there is some conflict. On first run this error appears: ERROR: Exception: Traceback (most recent call last): File "C:\Users\local...

View Article


Unique and Persistent Identifier for a Rhino Document

Hello Is there a unique and persistent identifier for a Rhino document in C#? I want to store information about 3DM files in a database. Currently, the only value that allows me to uniquely identify a...

View Article

No Line Surface Intersection?

What am I missing here to not see a line surface intersection method? https://developer.rhino3d.com/api/rhinocommon/rhino.geometry.intersect.intersection 9 posts - 2 participants Read full topic

View Article

Image may be NSFW.
Clik here to view.

Folder Paths on the ScriptEditor Rhino 8

Hi guys, I am trying to set up a Python script as an alias, but it seems the folder I assigned in the ScriptEditor is not recognised. If I write the absolute path in the alias, it all works nicely. 5...

View Article


Eto Label Constructor: No overload for method 'Label'

Hey all, I’m new to new to Rhino Python development, and I can’t seem to be able to run the sample code: self.DefaultButton = forms.Button(Text = "Select Objects") TypeError: No overload for method...

View Article

Image may be NSFW.
Clik here to view.

web_view.ExecuteScript freeze the editor?

Hey all, I’m using Rhino 8 on macOS, and it seems like ExecuteScript will freeze the script editor. text = self.web_view.ExecuteScript("return document.getElementById('id').value;") the breakpoint...

View Article

Can you access display properties or options with a macro

Im trying to make a button of my toolbar that i can use to toggle on/off the mesh wires. I was hoping I could through a macro since I dont know how to code. 5 posts - 4 participants Read full topic

View Article


Rhino 5 python script

Hello, I am wondering if it would be possible to write a python script that opens .3dm files that are in a specific folder and then uses the -saveas command (with a specific set of parameters) to...

View Article


ViewCaptureToFile + Named Views doesn't update clipping planes

I have found a couple other threads noting a similar issue, but they aren’t using clipping planes and do not appear to have a resolution. I have a python script that uses ViewCaptureToFile for...

View Article

ScriptEditor SharedFolder

@eirannejad How to use ScriptEditor Shared/ Folder? What is the main purpose for it? 4 posts - 2 participants Read full topic

View Article

Image may be NSFW.
Clik here to view.

Rhino 8 Bug: Name of Section Plane changes when using gumball

Hi! Using Rhino v8 SR11 for Windows I noticed that moving a section plane with Gumball changes its name. Is this expected behaviour or a bug? 3 posts - 2 participants Read full topic

View Article

Image may be NSFW.
Clik here to view.

ScriptEditor - Import SVG on Mac - Latest Rhino Release

It is not possible to import SVG files neither icons nor shared folder on MAC latest Rhino release. Works on windows but not mac: @eirannejad Any ideas why? 1 post - 1 participant Read full topic

View Article


Trying to use RhinoCommon CreateSolid

Hi, I’m trying to understand how to use RhinoCommon in Python, in this specific case, Brep.CreateSolid. I’ve got to the point that my code does not produce any errors, but the output is empty? Ive...

View Article

RealtimeRenderPasses in the ViewCapture

Hey all, what does the RealtimeRenderPasses mean in the ViewCapture? I noticed that the CaptureToBitmap is finished immediately. How do I get the high quality output as if I’m using the render button...

View Article


Image may be NSFW.
Clik here to view.

Disable Shadows in the rendering

Hey all, is there anyway to disable shadows in the rendering image? I only want the transparent background rendering image and the shadow does not really make sense here: 9 posts - 3 participants Read...

View Article

Image may be NSFW.
Clik here to view.

Compile Rhino which uses `using Rhino.Runtime.Code`

Hello there! I am trying to use Rhino.Runtime.Code in a compiled Rhino plug-in but this assembly is not distributed with the package RhinoCommon. How would it be the correct way to compile the...

View Article


ScripEditor Icon editor is completely broken

@eirannejad Drawing or importing icons to a main plugin icon is completely broken. 1 post - 1 participant Read full topic

View Article

GetDocumentUserText but for the active document?

hey all, I have been using rhinoscriptsyntax.GetDocumentUserText("Key") to the value for key, is there anyway to get this user text for a particular document? Thanks! 1 post - 1 participant Read full...

View Article

Image may be NSFW.
Clik here to view.

Script editor doesn't remember settings

Dear @eirannejad, when I activate theses two settings, type my code, close the Script-Editor, and restart Rhino 8 these settings are not remembered. What do I miss? Thanks Michael SystemInfo.txt (2.5...

View Article
Browsing all 4118 articles
Browse latest View live