Problem with shapefile export (Ghshp) - KeyNotFoundException - Python
@kevin.carvalho wrote: Hello! I’m trying to export some geometry with attributes to a shapefile. The plugin used is the Ghshp (https://www.food4rhino.com/app/ghshp). Unfortunately, it appears this...
View ArticleExecute script on file opening
@runxel wrote: I know there is the possibility to execute scripts when Rhino opens. * What I want is to execute a script every time I open a file. Is this already possible and I’m just overlooking it?...
View ArticleNeed a script that can do what SelBoundary is doing, in Py
@baciucristy wrote: Ok, so I have some closed curves with texts in them, each curve with only 1 text. I need to rename the curves using the text and with rs.Command("_SelBoundary selid {}...
View ArticleCreate an Arc with 3 inputs (End points and radius only)
@horacio.monesruiz wrote: I need to plot an arc with endpoints and radius (3 inputs only), however this function does no exist within rhinoscriptsyntax or rhino.geometry but only as an actual built-in...
View ArticleSelect Contents of Closed Curve
@dbodey wrote: Hello, I am working on a lot of 2D closed shapes. To select the contents(there are textboxes inside) of these closed polylines/curves I have been using: rs.UnselectAllObjects()...
View ArticlePython code does not work correctly!
@zhangvip0755 wrote: Hi I am trying to run the following code in PythonScript: Source: https://developer.rhino3d.com/samples/rhinocommon/add-radial-dimension/ from Rhino import * from Rhino.DocObjects...
View ArticleHow to compute the normals at vertices of a mesh face in C#
@mahanmotamedi1991 wrote: Hello everyone, I have a simple quad mesh face and I want to retrieve the for normals of the vertices (shown in the Image) using c#. I used mesh.NormalAt(x,x,x,x), but this...
View ArticleHow to change the style of annotations in a block with Python?
@david.bismuth.archi wrote: Hi, I’m working on a cleaning script. My goal is to associate every annotation of my drawing to the “Default” style. This is the part of the script for simple objects (not...
View ArticleFind point in a particular distance
@sumuk wrote: Hi, Greetings! I have a problem, I need to find a point in a particular distance example: consider a curve which has points on it image.png1068×624 8.84 KB Consider this point on the...
View ArticleExport selected by automatically using the object name as a file name? Rhino...
@Rhino_Bulgaria wrote: Hello, is there a way to do a macro and assign it to a single custom icon, doing the following? Once I select a group of curves that forms a flat drawing for laser cutting, I...
View ArticleBoxEdit and Python?
@jeremy.kaiser wrote: Can you control boxedit through a cli or python? Posts: 2 Participants: 2 Read full topic
View ArticleUsing Python to set the colour of the largest sphere
@DanBayn wrote: I’ve got a project that is going to require something like this: image.png809×385 33.8 KB It’s easy enough to find the radii of the spheres, but I’m not sure if there is a fairly...
View ArticleCalculating the distance between all the combinations made by one column by...
@tinkuhim007 wrote: I need to calculate the distance between all possible contact points present in the dataframe using python3. My code is working but it is very slow. How to reduce the time?...
View ArticleSplitting surface with curves python component in GH
@revink wrote: Hi all, I have several surfaces I have to split with curves within a grasshopper python component. I think I have managed to split them and the result are breps. However, I need these...
View ArticlePointCloud AddRange
@Mrothart wrote: Hello, I am trying to import a pointcloud with a .txt/pts format with x,y,z,r,b,g values using a python script. I am currently using “pc.Add” for each individual point, but I am...
View ArticlePython script not updating on Rhino
@falola.yusuf wrote: Hi all Rhino doesn’t update changes I make on my Python scripts not until I close and re-open Rhino before the changes are recognized. Any possible solution to this? Thanks Posts:...
View ArticleCreate linear / rectangular lights in grasshopper!
@arkadius.belov wrote: Hi all I am aware that Human has a Light component, but i want to create linear or rectangular lights in gh. Searched through the plugins, and i can’t find anything, maybe there...
View ArticleProjectToCPlane command doesn't run on my C# script
@hk1 wrote: Hi, I was developing my command to call “ProjectToCPlane” internally but it never get through the command. Feels like I need some special trick before calling ProjectToCPlane… Can you help...
View ArticlePointCloud commit changes (or replace) causes RAM usage creep?
@nathancoatney wrote: I am building large-ish point clouds and updating the document periodically to show progress. I have noticed Rhino using excessive RAM if I use...
View ArticleChange "Display Colour" to "By Parent" within multiple files Via Script
@leigh.anderson wrote: Hi, I am new to Rhino and I am looking for some assistance. I’ve got 1489 Library items which have “Display Colour” set to “By Layer”, when I insert any of these items into a...
View Article