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

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! 5 posts - 3 participants Read...

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

Wish: Scrolling down should stop at window bottom, not top

Hi @eirannejad, I have now this fancy mouse (Logitec G502 Hero) with an unstopable mouse wheel. When I scroll up, the mouse wheel doesn’t stop, which is nice. When I scroll down in the Skript-Editor,...

View Article


Extract connected mesh faces automatically using Python/rhinoscriptsyntax

Hi there, for a large number of slightly varying models, I want to automate their creation and some mesh manipulation. For this, at one point, I need to extract all connected mesh faces starting from...

View Article

Eto forms ScriptEditor

Hi, Where could I start learning Eto forms in Rhino Script editor? Samples from McNeel dont work in ScriptEditor: github.com mcneel/rhino-developer-samples/blob/8/rhinopython/SampleEtoModelessForm.py...

View Article


Font Sizes Richtext

Hello I have a urgent topic. The TextSize is somehow not adaptable by Richtext Formating. Any Examples or hints? public static void ReadRichText(GeometryBase Input) { var en =(AnnotationBase)Input;...

View Article

Image may be NSFW.
Clik here to view.

How to get Point3d from System.Collections.Generic.List in GHPython3

Greetings, I have some lists of Rhino.Geometry.Point3d . How do I output the actual points instead of Generic List ? Thank you! 7 posts - 2 participants Read full topic

View Article

ScriptEditor Plugin Release backwards compatibility

When you release a plugin, using script editor project configuration in python, how can you be sure that it is backwards compatible? I mean in rhino 8.4, 8.5, 8.10 … an so on. I assume that when you...

View Article
Browsing all 5938 articles
Browse latest View live