Issue with importing a rhino plugin into editpythonscript
Continuing the discussion from Issue with python editor: How can I import a rhino plugin (PolyFrame) into editpythonscript in case I want to use the plugin commands in my code? 3 posts - 2...
View ArticleConvert multiple blocks to groups
Hello, I am using Rhino + Vray for archiviz. I often have to handle Rhino models that were exported from archicad. The problem is: almost all archicad elements export as block definitions. It becomes...
View ArticleRhinoscriptsyntax Module Search Paths overwrite
Good Morning together (= for an internal scripting tool we use our own version of the rhinoscriptsyntax python module. As Rhino 7 sets the module search paths on each start-up new to the standard...
View ArticleDifferences VBS/PY
in Py too bad there is no search bar like in VBS. . . 2 posts - 2 participants Read full topic
View ArticleCurves don't consistently Extend, either to one side or not at all
Hi! Been asking a bunch of questions lately, thanks for being patient with me I can’t show the entire code here, and it wouldn’t serve the purpose anyway, but I have a curve that I rebuilt before...
View Articlers.Command doesn't work
When I try to use rs.Command() method in a single process script, it work good, but when I try to execute it in a thread, it doesn’t work. Why? 2 posts - 2 participants Read full topic
View ArticleExchanging mesh between Rhino and Python
Hi all, I have a rhino model of an indoor space consisting of walls, ceiling, floor, windows and chair. I am looking for a way to put each instance of an object category, say, each chair, to a python...
View ArticleRecent list
Is there a script that can scrub my entire local drive and USB drive for 3dm files and provide a basic image of the file? I don’t care if the list has 100, 500, or 1000 3dm files in it. I just want to...
View ArticleOverload using object Guid
I’m trying to do an overload of the replace objects function, but I’m not too clean on the overload syntax or where to find how to write the Guid there. So far based on the article in the rhinocommon...
View ArticleIs ProjectPointsToMeshesEx unstable for simple Meshes?
When I try to apply the ProjectPointsToMeshesEx (Rhino.Intersect.Intersection) method to meshes that are created by a simple _BoundingBox rhino command (option: Output=Meshes) it randomly fails. None...
View ArticleMove object to points
@Helvetosaur Thanks in advance. I am trying to move the object by creating the vectors, but there is a displacement. Why is this happening? but when I checked the vectors, they are correct. x - object...
View ArticleC# Select objects by sublayer
Hi, Any trick how to select objects of sublayer? Iam baking geometries through Elefront i have 2 sublayers with same name but they belong to different main layers. So, is it possible to refer to...
View ArticleRhinoScript - find decimals greater than value
Hi All, I have a script that I have been using to search text-tags that have been rounded to either 0.0 or 0.00 decimal places. I am trying to find a way to manipulate it to enable it to find...
View ArticleWinreg in ironpython
Hi all, How do I import winreg in ironpython for Rhino 7? Best regards 3 posts - 2 participants Read full topic
View ArticleCplane with python
hello, i searched but I don’t understand how we can move the Cplane, when I scripted : cplane=rs.PlaneFromPoints(pt1, pt2, pt3) rs.ViewCPlane(view=None, plane=cplane) pt5=rs.AddPoint(0,0,0) pt5 is on...
View ArticleInsert block from other file... with python script
i’m trying to make python script… but i really don’t know how to make it right. here is my script import Rhino import rhinoscriptsyntax as rs def InsertFile(): # insert options file = chr(34) + r"my...
View ArticleCreating regions from curves
I have extrapolated the room areas, however, someone on the team created gaps that wouldn’t work in an energy model where I need all the walls to be attached side to side (basically a wall is a paper)...
View ArticleIs it possible to use fuzzywuzzy whith rhino python?
hello,Is it possible to use fuzzywuzzy whith rhino python? I don’t have a degree in programming, but I learned some knowledge of python from the Internet, but I don’t have a solid foundation, so I...
View ArticleRound off scale/size and position values in multiple objects
Hello everyone. I’m new in Rhino. I need to automatically round scale/size and position of selected objects. Using a script would be great, but I don’t know how to develop scripts. Currently I make...
View ArticleWhere is RhinoCommon source code in python?
Hello I can see RhinoCommon in C# and VB below link, but I cannot find python version of it. https://developer.rhino3d.com/api/RhinoCommon/html/R_Project_RhinoCommon.htm Where can I find the python...
View Article