I need help writing a script/tool for select multi close curves and caculat...
@parstondarmamutha wrote: I need help writing a script/tool for select multi close curves and caculat dim area each of curve sepratly and change color of each curve that is lower than choosen value i...
View ArticleI need help writing a script/tool for this action do automatically
@parstondarmamutha wrote: https://cdn-enterprise.discourse.org/mcneel/uploads/default/original/3X/7/b/7b1a2885a23f0e7a9e6afd012553386274eb129a.mp4 Posts: 2 Participants: 2 Read full topic
View ArticleDocumentName without extension?
@declan wrote: Hi, I’m renaming a group of objects with DocumentName + Date + Time and I’d like to remove .3dm from the DocumentName before adding Date & Time. Could anyone advise, please? I’m a...
View Articlers.OpenfileName() - not remembering last used folder in instance
@Helvetosaur wrote: This is going to be a little complicated to explain. I often run two Rhino instances on two screens, each importing files from a separate source like a USB stick and sending files...
View ArticleSpecify standard name for Block definition in Python script
@enrico556 wrote: Hi! i’m currently writing a script part of which involves creating a block definition using all entities. I’m using the following command: rs.Command(’_SelAll _Block 0,0,0’) The...
View Articlerhinoscriptsyntax.JoinMeshes() returns bad GUID
@bjornsyse wrote: Hi. I’m using this code objs = rs.JoinMeshes(objs, delete_input=True) and I have an issue with it returning a GUID of 00000000-0000-0000-0000-000000000000 I get this when some of the...
View ArticlePython loop through data trees {A;B;C;D}(i)
@jake1 wrote: I am trying to loop through each branch at multiple levels of my data tree. The structure of the tree is {A;B;C;D} (i). I have looped through simple trees before with for i in...
View Articlers.ObjectName() doesn't work with strings containing curly braces in Rhino 6?
@toivosawen wrote: This is my original post, more information in reply below. (I’ve tried the following code in my newly installed copy of Rhino 6: import rhinoscriptsyntax as rs ... line =...
View ArticleCreating sublayers with python
@siemen wrote: Hi guys. I have a simple python script that creates a few layers with different colors which I think I based on a script I found from Helvetosaur here on the forum (I think). Now I’m...
View ArticleTransforming solid bodies into FEM analysis viable surfaces
@kinsasa04 wrote: Hello everyone. I’m just getting into Rhinoscript and kindly ask you to be patient when reading this. I’m trying to write a script that would turn solid bodies, mainly plates and...
View ArticleRhino Python
@ZKislost wrote: If i have four curves in a layer, and i want to select two of them ( i need their object ids). These two have the longer lengths as opposed to the other ones, how should i go about...
View ArticleBrowseForFolder alternative for more efficient browsing?
@siemen wrote: BrowseForFolder creates this window with a limited interface to browse for a location. Is there an alternative in Python to get a window with better options for browsing to a folder...
View ArticleVector - Line intersection
@onrender wrote: Hi, I am looking for a method how to get a point of one vector and a line or how to draw line by having a vector by the tangent. Posts: 1 Participants: 1 Read full topic
View ArticleSpurious warning message when running a modified script
@Helvetosaur wrote: In V6, I am now often getting warning messages like the following when running a script I am developing - after having opened an existing script and modified a few things, then run...
View ArticleReading panel information out of grasshopper into Rhino pythonscript
@wade.vollink wrote: Hello All! I have been working on automating Rhino so that it can be the back-end 3D modeling software for a exhibition that allows users to input contour sections through an...
View Articlers.ObjectsByType(n,state=1) - behavoir changed for V6? (and not for the better)
@Helvetosaur wrote: @dale, @Alain In V5, rs.ObjectsByType(n,state=1) got only visible, selectable objects. Objects that were locked, hidden or on locked or off layers were (correctly) ignored. In V6,...
View ArticleRhino python
@levanhieu12302 wrote: hi everyone, i know a bit about python. How can I create a script or create a plugin using python? Give me some samples or detailed documents! or video Posts: 2 Participants: 2...
View ArticleCore Isolating Single-Thread Constrained processes (ie. Rhino) using...
@Prehabitat wrote: Hi all, Please feel free to move this is appropriate. This started with Revit; which is 80% of my CAD, but applies to any single-thread constrained application. A while ago I...
View ArticleParameter list from DivideCurveLength
@newton wrote: newbie question here I am dividing a curve by length 20mm It is returning a list of parameters into params. I then want to remove the last parameter in the list. I have tried several...
View ArticleGet curve mid-point using curve name
@enrico556 wrote: Hi! i’m trying to implement a small script wherein i have for example n curves. I have assigned names to the curves using the “Name” Field under ‘Properties’…101,102,103…and so on I...
View Article