Fix dimstyle?
@rhinoceros.adv wrote: Hi everybody I am having a problem. Capture1268×558 24.5 KB import rhinoscriptsyntax as rs import scriptcontext as sc import Rhino def GetOffsetMidpoints(pl_ID,dist,plane): #get...
View ArticleWhen grammatically creating a layer structure, weird numbers in the layer names
@masaaki.miki wrote: Hello, I’m trying to generate a specific layer structure from a Python code, and when I add some layers under a parent layer, a weird text ( something like (e47a)) is added to the...
View ArticleSort metal tube
@onlyforpeace wrote: Hi, in my work, i design some metal structure, and i have to list all tubes with quantity,lenght, with both cutting angle… it’s always square or rectangle tube, not round… like: 1...
View Articlers.ExtendCurve keep giving me Message: iteration over non-sequence of type Guid
@Rickson wrote: i’ve tried coercing, making a different list, all sorts of things yet still get this error. Message: iteration over non-sequence of type Guid import rhinoscriptsyntax as rs surface =...
View ArticleGeometries inside GhPython class not passing through different components
@michele.tonizzo wrote: Hello, I’m creating a class inside a GhPython component that stores geometries and text data in a dictionary. If I output the geometries inside the same GhPython component...
View ArticleOffsetting Surface borders - script fails on Rhino V6 for windows but not on...
@maxz wrote: As I have mentioned in other topics, I am developing a script for creating tool paths in Rhino. I know there are specialized plugins for that, but I prefer to do it this way. The script...
View ArticleBrowse for Folder in Python
@eric.bunn wrote: Can code be written in the Python Editor that will allow the user to browse for a folder and capture the directory path? I’m trying to import a directory of dxf files into Rhino and...
View ArticleNeed help fixing polyline measurement scenario
@theanhkc07 wrote: Hi everybody. I have a polyline script but when it works it creates a lot of annotation styles. How to edit a script to measure curves and lines and not create more annotation...
View ArticleBug/Typo in surface.py
@spineribjoint1 wrote: I think this typo appeared in the latest Rhino update. rhobject.Select(true) Message: global name ‘true’ is not defined def DuplicateEdgeCurves(object_id, select=False):...
View ArticleRhinoCommon selected subobjects to remain selected when script ends?
@Helvetosaur wrote: Is it possible to have script-selected subobjects remain selected after the script finishes? I am using the following to select certain edges from a brep. (just draw a box that...
View ArticleLearn python book
@onlyforpeace wrote: Hello, Can you give some titles of good books for beginner with python?? English and French if it exist…? Thank you! Posts: 8 Participants: 4 Read full topic
View ArticleGenerate a circle from multiple points with python not Rhino Command
@Alen_Russ wrote: Hi, I know that there are multiple points in rhino to generate a circle. Can python achieve this function? Instead of using rs.command ("_Circle _FitPoints", True),Or can Rhino’s...
View ArticleNeed help with a rhi file created from python running other than runpythonscrip
@theanhkc07 wrote: Hi everyone. I created a RHI file from the .py file with rhinoscripcompiler, but when I ran a command from rhino’s command, an error occurred when I had to press esc to complete the...
View ArticleHow can I make my python type visible in rhino viewport?
@grasshoppertrainer wrote: Hello y’all fellow trainers. I’ve been craving for the answer and got into the point where the only thing left is to ask directly. What I’m trying to do is to make...
View ArticleSelect one or multiple curves with additional command line options
@Jonathan1 wrote: Beginner question here. For a script in python I would like to select one or multiple curves while having the possibilities to set some parameters in the command line. I know that...
View ArticleCannot manipulate detail viewport
@vincentfs wrote: Hi, I was trying to manipulate the detail viewport through rhino python, without avail. The viewport does not change. I tried ZoomBoundingBox and ZoomExtentsSelected, neither of them...
View ArticleIs there a way to do sweep1 align with surface in Grasshopper or RhinoCommon?
@jmcauley wrote: None of the Brep.CreateFromSweep statics look like they can do it. I expect to see a surface somewhere in the parameter list, and maybe an align flag and an edge index. When I look at...
View ArticleDirecting Objects According to Their Types
@Erdem wrote: Hello everyone, I’m trying to direct 3 objects to different outputs in a GHPython component in Grasshopper. If it is srf or polysrf, I want it to go to output a; If it is a mesh, I want...
View ArticleMeshSplit related operation
@vincentfs wrote: Hi community, I am developing several tools related to terrain modelling. And I found there is a very fundamental operation that need to be done for them. It is similar to MeshSplit...
View ArticleEditPythonScript AutoComplete bug
@clement wrote: Hi @dale, If i type this in the python script editor, everything after clr.AddReferenceToFileAndPath fails to autocomplete: import Rhino import clr # before below line, autocomplete...
View Article