Quantcast
Browsing all 5791 articles
Browse latest View live

Individual bounding boxes for each object within a selection

@snishanth wrote: Rhino newbie here. Is there an inbuilt option in rhino to generate individual bounding boxes for each object within a selection or a group? If not, is there a Rhino or Python script...

View Article


Image may be NSFW.
Clik here to view.

Layout ZoomBoundingBox fails?

@ShynnSup wrote: Hi everyone, I am currently working on a Python script that enables me to create multiple layouts out of bounding curves and zooms the detail to each one of them. For some reason, the...

View Article


Image may be NSFW.
Clik here to view.

Write a Bitmap Pixel by Pixel in Python?

@youssef.eskandar wrote: looked in to System.Drawing import Bitmap, Also I am aware of Pillow but not sure how to install on Rhino Iron Python basically need to save the image below which is now a...

View Article

Unexpected token - Python

@porusvakshoor wrote: Hi, I am beginner on python for grasshopper and have come across the following error : {0;0} Runtime error (SyntaxErrorException): unexpected token ‘pt1’ File “”, line 21 pt1 +=...

View Article

[python] layout details (views)

@ivelin.peychev wrote: Is there a way to detect which objects are displayed inside a detail? If yes, is there a way to detect objects’ orientation relative to the camera? Thanks in advance. Posts: 1...

View Article


Image may be NSFW.
Clik here to view.

[python] searching for a layer name using wildcard doesn't seem to work

@ivelin.peychev wrote: Is this something new or it was always like this? here’s my code: import rhinoscriptsyntax as rs import time def hide_layers(layer_list=None): if layer_list is None:...

View Article

Image may be NSFW.
Clik here to view.

[python] set layer visibility issue

@ivelin.peychev wrote: say you have this structure: and you want all layers with the name “Default” to be turned off Script 1 (using rs.LayerVisibility()): import rhinoscriptsyntax as rs import...

View Article

Image may be NSFW.
Clik here to view.

WISH: rs.import(), rs.export(), rs.insert() methods

@ivelin.peychev wrote: Hi @dale, Regarding this topic: Wish Python rs.Import( fliename) rs.Insert(filename,options) Scripting As each type of file, support by Rhino for opening or importing, has a...

View Article


A script that would join a series of unjoinable curves

@cosmas wrote: Sounds more difficult than it is (maybe) but I often run in to a situation where I have a sequence of curves like the file I’ve attached that you want to join in to a closed curve but...

View Article


[python] Is there a way to check if the polysurface is closed solid polysurface?

@ivelin.peychev wrote: I assume it has to be Rhino.DocObjects.RhinoObject.Description I tried ShortDescription but it only gives me surface or polysurface. and I can’t figure out how to use...

View Article

[python] getting the name or id of layer

@ivelin.peychev wrote: quickest way to get the layer from the selected object is: rs.ObjectLayer(obj), but this does not follow the philosophy of Rhinoscriptsyntax and instead of returning the id of...

View Article

Image may be NSFW.
Clik here to view.

Model weight by density (Meshes and Polysurfs)

@leex wrote: Hi I took as a basis the script on by Paul Finelt. This script seemed to me elegant. I sent him an invitation to this discussion. v5.rhino3d.com Weight calculator Hi, I would like to...

View Article

Objects by Layer

@darkgl0be wrote: Hi there according to this reference the method ObjectsbyLayer has this super useful intType parameter where I would be able to filter out object types. Is this a Rhino 6 addition? I...

View Article


How to turn off overwriting text in pythonscript editor

@siemen wrote: I accidentally pressed a button combination which now overwrites letters when I try to type something in between other letters. How do I turn this off again? I’ve had this before and I...

View Article

[python] custom scale or

@ivelin.peychev wrote: Is there a way to set the scale in such a way that if the closed solid has an opening scaling the object would scale the opening as well. in such a way that if the solid is...

View Article


Image may be NSFW.
Clik here to view.

Phantoms...?

@ivelin.peychev wrote: Could someone exaplain which objects are phantoms https://developer.rhino3d.com/api/RhinoCommon/html/P_Rhino_DocObjects_ObjectEnumeratorSettings_IncludePhantoms.htm Posts: 1...

View Article

[python] change Rhino.Geometry.Unroller result orientation?

@ivelin.peychev wrote: Are there any means to influence how the result is oriented (mainly if it is Z+ or Z-). Telling the method/rhino what should be up and what down. I don’t see a method or a...

View Article


Dots: Read secondary text

@tobias.stoltmann wrote: Hi, I wanna build up a “issue-model” in rhino. Therefore I wanna bring the issues description into the secondary text. As far as I know there is no option to extract that via...

View Article

RhinoPython vs GrasshopperPython

@_AS wrote: I am trying to use the code below from RhinoScript to GrasshopperPython, but I get different results. I am trying to divide a curve using its domain and segments. This is how the...

View Article

Image may be NSFW.
Clik here to view.

Annoying, repeating, false warning message in Python editor

@Terry_Chappell wrote: I have restarted my computer. I have 1 Rhino session running. But I keep getting this message popping up every minute or so while editing my Python script:...

View Article
Browsing all 5791 articles
Browse latest View live