Quantcast
Browsing all 5809 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

Exception during Eto button-click causes application freeze

Hi all, I just wanted to note some unpleasant behavior I’ve noticed while writing Eto windows using the Rhino Python Editor (on both Windows OS and MacOS). I have found that if an Exception is thrown...

View Article


RhinoCommon equivalent of Join (meshes) JoinDisjointMeshes=No

Probably answering my own question here, I was looking for a way in RhinoCommon to join all joinable meshes but not disjoint ones, like the native Rhino command Join with the option...

View Article


Image may be NSFW.
Clik here to view.

Eto Dropdown Datastore Insert method does not work on MacOs

Hi all, When using Eto.Forms.DropDown items in Eto windows, the Datastore.Insert() method does not seem to work on MacOS the same as on WindowsOS? A simple example on windows (attached): Create a...

View Article

IronPython script ClosureCell type error

I have a relatively large (~5000 line) Python file of class and function definitions that I am trying to import into a Python script. I’m running Rhino 7 on Windows. When I attempt to run this file...

View Article

RC Mesh.MatchEdges() often makes invalid meshes - how to fix?

Hi there, I’m finding that running MatchEdges() on a mesh frequently produces an invalid mesh - which makes parts of the script using the result downstream fail - and I’m wondering why… Running the...

View Article


Image may be NSFW.
Clik here to view.

Script load issue after Rhino 7 updates

Hi, after an update of Rhino 7 is installed my Restore Title View script doesn’t work anymore. If I go to the directory and drag&drop it to Rhino than it works. What is wrong here that I need to...

View Article

PlaneFromPoints does not return a plane in Rhinoscript

Hi all, Any idea why when I am creating a plane within RhinoScript the plane is not drawn? Drawing it manually in Rhino works perfect though… I am using the simplest way to create a point as in here:...

View Article

Dot point in python script Rhino 7

I’m trying to place a dot Point on the screen with a specified size, just missing the operator’s click. The problem is that I am not able to put a text value = “”. I need a dot point without any text....

View Article


Image may be NSFW.
Clik here to view.

Adjust the text to fit the curve frame

Hi guys. I’m having to rescale the text quite a bit to fit the curve frame not to a fixed size. is there any python script to adjust the text to fit in the curve frame? 3 posts - 2 participants Read...

View Article


GUID of dimensioned items

I use the CURVELENGTH textfield on arc angle dimensions A LOT and as such I am getting bored with having to go through the dimension edit form each time to associate the dimension test to the length...

View Article

Google Drive Search

I need the Plugin to do a Google Drive search to see if a file is in a specific folder. Or if I can get easier access to another directory on the Internet. I just need the Plug-in to check a file. No...

View Article

Image may be NSFW.
Clik here to view.

Trying to find polysurface edge lengths

Hello all, I am trying to find an easy way to determine the lengths of all edges of a given polysurface but I have hit some roadblocks. A sample code is as follows: import Rhino import...

View Article

Mesh.IsDuplicate in Api SDk?

is Mesh.isDuplicate in API SDK? Is the API for mesh As for Curve, BREP is available? If no, please add it Or what is the way to Remove mesh.duplicate in the current solution in the Grasshopper #...

View Article


Image may be NSFW.
Clik here to view.

Eto form: button clicked

Hi In this example of Mahdiyar How we can get which button clicked in realtime as output import Rhino import Eto.Forms as forms import Eto.Drawing as drawing class EtoButtons(forms.Dialog[bool]): def...

View Article

JSONDecodeError when using CreateBooleanUnion for curves

Previously my code created a boolean union between curves but it now seems to fail with no apparent changes made. I am getting the error: JSONDecodeError(‘Expecting value: line 1 column 1 (char 0)’)...

View Article


Image may be NSFW.
Clik here to view.

Is there any way to identify sub faces with equal area of subd or mesh?

Hello, Is there any way to identify sub faces with equal area of subd or mesh? Whether there are scripts that can be completed instead of manually selecting one by one. Thanks 2 posts - 2 participants...

View Article

Deleting a layer, including its objects and objects within blocks

Is there any way of scripting this? Often imports from other software create needlessly complex layer structures - this would help a lot, without forcing the user to explode all blocks. 4 posts - 3...

View Article


Test rhinoinside: first step with Python but

Hello I try this to send and receive data between two components, it’s clear that the second component responds to slider changes but the string always empty What am I missing here? import Rhino...

View Article

Looking for a way to run a command after a block is updated

Hello all, I would like to have Rhino automatically run a command after a block has been edited. So far my best attempt at achieving this has been with the Alerter command, which I have tried to set...

View Article

Read and write data to and from external files in Python

I have used VB script for 20 years and now using Python in Rhino 7.0 so quite a change for me. In the past I have used Rhino Save Settings and Rhino Get Settings to read data to and from INI style...

View Article
Browsing all 5809 articles
Browse latest View live