Clipping plane per detail
@ivelin.peychev wrote: Is there a way to make a clipping plane to affect a particular detail (view) and not viewport or layout as a whole? Update: I’ll paraphrase, is there a way, by code, to add the...
View ArticleHelp to hide vertex mesh
@cristian.donaire.roj wrote: Hi all My name is Cristian, English is not my original language so I will apologize in advance. I would like to know how to hide a vertex of a mesh, I followed the...
View ArticleRhino.Display.DefinedViewportProjection replacement
@ivelin.peychev wrote: Could anyone explain to me if and how I can replace this with an arbitrary plane?...
View ArticleMaking a series of circles on a curve with grasshopper and python
@dbtorchris wrote: Hi guys, i started using python in grasshopper not long ago. Right now I am trying to create a series of chain linked circles with increasing radius on a rail curve. And the centre...
View ArticleBox and Bounding box have different normals
@ivelin.peychev wrote: I’m talking about when box is created using Rhino.Input.RhinoGet.GetBox() command compared with box created from rs.AddBox(rs.BoundingBox(some_object_id)) here’s example code:...
View ArticleHow to assign numerous series of input vectors to a model?
@farzaneh.fth wrote: Hi, I have two problems with scripting in grasshopper; 1- I need to assign numerous pre-defined vectors of inputs to different target components. I generated my input space but I...
View ArticleWhat is System in rhinopython editor
@zhipengli1995 wrote: I try to read samples in rhinopython, but I don’t know the meaning of “import System” or “from System.Windows.Forms” where we can find the folder of “System”? I know we can...
View ArticleCutting an object with multiple objects - rhinoscriptsyntax
@revink wrote: Hi all, I am trying to do what would seem a very simple operation with python but it appears to be more difficult than expected. I have a surface (or multiple surfaces) I have to split...
View ArticleRunning scripts from latest version of PythonPlugin installed from RHI
@spb wrote: Following the instructions, https://developer.rhino3d.com/guides/rhinopython/creating-rhino-commands-using-python/#creating-an-rhi-installer , when I repeat the process, updating the...
View ArticleHow to switch back to model space from paper space?
@Goswin wrote: To draw in MyCustomLayout Layout Paper space I do: import scriptcontext as sc sc.doc.Views.ActiveView = sc.doc.Views.Find("MyCustomLayout", False) To go back and draw in model space I...
View ArticleAdd points on created plane
@yfhudak wrote: I have created a plane and I want to add points that are constrained to that plane. Are there commands that will let me do this? Posts: 4 Participants: 2 Read full topic
View ArticleShowSemiModal form not always on top
@Terry_Chappell wrote: I display an Eto form for trimming a mesh with: args = TrimMeshArgs() dlg = TrimMeshDialog(args) result = UI.EtoExtensions.ShowSemiModal(dlg, RhinoDoc.ActiveDoc,...
View ArticleScript Join by color
@a.visintin wrote: Hi all! I received a STP file from my client and it has more than 500000 surfaces all exploded but on the same layer… a nightmare. The good thing is that it’s separated by color so...
View ArticleLoop over Groups in Python
@g.synetos wrote: Hello All, I would like to ask if is possible to loop over a selection of groups? for group in groups: … Ultimately, I would like to make a script that will first use the contour...
View ArticleHow to minimize Eto SemiModalForm
@Terry_Chappell wrote: @clement, @dale, @pascal, @brian, @nathanletwory, @Helvetosaur, I create an Eto SemiModalForm using: args = TrimMeshArgs() dlg = TrimMeshDialog(args) result =...
View Article[Python] Adjust size of existing, active floating viewport
@Dow wrote: Hi, I have been unable to find the correct python call to adjust the size of an existing, active floating viewport. Essentially, I need the equivalent of: rhinoscriptsyntax.Command...
View ArticleWorking with a list of lists ( Rhino Python)
@ZKislost wrote: Hey, I’ve got a list in rhino python which contains many lists of points. I want to select the two largest lists of points. It sounds simple enough, but I am having a fair bit of...
View ArticleLlibraries of Pyython
@andreykushnir325 wrote: Hello! How can I import external libraries into Rhino-Python (or it impossible)? Ex: import requests import postgrsql etc… pip install don’t work( Thank U. image.png712×526...
View ArticleIssue with rs.HideObject()
@ivelin.peychev wrote: Why does this work: def TST(): objs=[obj for obj in rs.AllObjects() if rs.IsObjectSelectable(obj)] for obj in objs: rs.HideObject(obj) But this doesn’t: def TST1(): for l in...
View ArticleCall a named CPlane in RhinoPython script?
@mwinkelstein wrote: Is there a way to call a Rhino named CPlane in RhinoPython script? I have been using a script that creates rectangular pipes from curves, but it always defaults to the World Top...
View Article