GetSettings in Python
@Ncik wrote: G’day everyone, Fair cop, I’m trying to translate/pilfer Dale Fugier’s steel section script from rhinoscript to rhinopython. But GetSettings is giving me grief. import rhinoscriptsyntax...
View ArticleOverlap domain
@MatrixRatrix wrote: Hello, I have a Polyline that has two line segments that overlap each other: Example.3dm (31.8 KB) Example837×511 11.6 KB I need the domain between these two overlapping segments:...
View ArticleGet the coordinates of a mesh point by its index
@JimCarruthers wrote: As the title says, I’m trying to get the 3D point coordinate of a mesh vertex for a certain index. MeshFaceVertices gets me the indices, but I can’t yet find how to go from an...
View ArticleProblem using rhinoCommon to fillet breps
@jmcauley wrote: I uploaded two 3dm files in the posts below because a single example file with all objects was just too large (I think)… I used RhinoCommon in a Grasshopper component to make some...
View ArticleCan rs.command() work on non-baked GH Geometry?
@declan wrote: Hi all, We can’t use V7 at work until it’s officially launched, so I’m stuck working with V6. I’m trying to create SubD geometry inside Grasshopper using something like: x =...
View ArticleScript who finds corners and makes fillets
@fatihylmz.1923 wrote: Hello, do you have a sctrip that can fillet all corners to the extent that I’ve found 90-degree or 45-degree corners? Posts: 1 Participants: 1 Read full topic
View ArticleUpgrade renderbatch from macro to script
@hitenter wrote: Sometimes I need to render a lot, sometimes not at all. Atm a lot. I use RhinoCycles. I was always fine with just a simple macro as batch render. Computer renders at night in the...
View ArticleRhinoScript AddLeader returns NULL
@mail2 wrote: Hi, I have a script which uses the Rhino.addLeader command. But since a while this command returns null instead of the leader string. I figured out, that even the example in the...
View ArticleExport (object name to file name) & Import (file name to object name)
@leex wrote: Hi all For STL export I use script by @Helvetosaur ! _-Runscript ( Option Explicit 'Script by Mitch Heynick 'Version 21 March 2012 'added current file name and folder default Call...
View ArticleUpdate Fields in Userform Created with SharpDevelop (Python)
@eric.bunn wrote: Hi Please reference the userform below. I want to change the values in the userform using python code based on the choice an operator makes when choosing from the combo box on the...
View ArticleHow to set FrameBufferFillMode.Gradient2Color with python?
@Alen_Russ wrote: I want to set the background mode of all windows to Gradient2Color. I searched the forum resources and found no information. Please help me. Posts: 4 Participants: 2 Read full topic
View Articlers.LayerLock Unexpected Hierarchy Behavior
@spineribjoint1 wrote: Hi, Using rs.LayerLock to lock the child layer results in semi-lock mode. In normal usage this happens only if the parent is locked. Why is it different in scripting? Is it by...
View ArticleRS Help - odd entry for "TextOut"
@Helvetosaur wrote: Just stumbled on this and thought I’d report it… ??? Posts: 1 Participants: 1 Read full topic
View ArticleFull 360 from two points
@MatrixRatrix wrote: Hello Rs.angle() return 0/180 and - 180/0, how I can have the full 360 angle from two points? Thanks Posts: 2 Participants: 2 Read full topic
View ArticleRhinoScript function for adding layers
@rhorsefield wrote: I’ve written a Rhinoscript function that I can call repeatedly to create a standard layer hierarchy. What I want to happen is to identify if the layer already exists, and just skip...
View ArticleRhinoScript layer visibility question / problem
@Jarek wrote: Hi - I am trying to find out if a child layer is set to visible (bulb is ON), independently of the Parent layer. Rhino.LayerVisible will return False, if Parent layer is OFF, even if the...
View ArticleRC - subobject selection routine problems
@Helvetosaur wrote: Trying to be able to select some subobjects via RhinoCommon and have them remain selected once the Get() operation is finished. So far, all I figured out how to do is have the...
View ArticleDo idle processes add command with python code?
@Alen_Russ wrote: Hello, 1613×526 12.9 KB I want to add IncrementalSave command to idle processing, but I cant find any code with python. Can it be implemented in code mode? Thank you Posts: 1...
View ArticleBrep.UnjoinEdges - clarification?
@Helvetosaur wrote: What does the last line mean as far as output? Seems a bit confusing. image650×557 17.5 KB Seems to indicate the input brep is not modified, how then do I get the brep with the...
View ArticleAnalyse and repair self intersecting edge of brep object
@peter.zock wrote: Dear all, I am working with multiple brep objects that have been generated by a rhino or grasshopper script. For some objects the edges have been “extended” to long so that the...
View Article