Array[Brep] How do i get the Brep?
@flokart wrote: As the topic mentioned i have no Idea what a Array[Brep] is and how it can be converted to a brep object. If a Rhino.Geometry.Brep.CreatePlanarBreps is created the result is...
View ArticleGh Python - Join Curve Segments
@luisseyfer wrote: Hello, I am trying to create a Component wich snaps the ends of an open curve in the middle of the endpoints to close it. Since the curve is an assambly of various bended segments...
View ArticleUse data in loop
@cua54kttt wrote: Dim MCS, DIENTICH, DN, votau, i, votau = Rhino.GetObject(“Select polysurface”) DN = Rhino.AddSrfContourCrvs(votau, Array(0.0, 0.0, 0.0), Array(0.0, 0.0, 1000), 200) ( it create DN...
View ArticleTree operations in Python
@giacomo_forcina wrote: Hello everyone, I would like to learn how to do tree operations using Python. Could anyone address me to some tutorials? Thanks Posts: 2 Participants: 2 Read full topic
View ArticleRS Wish : GetRectangle additional parameter
@Jarek wrote: hi @Dale, Could we add a “Plane” parameter to GetRectangle RS method? Now the CPlane has to be adjusted, and while an OK-workaround, jumping vport grid doesn’t look that good in UI. I am...
View ArticleReference a dxf without importing
@nbarnes wrote: hey, Is there a way to reference a DXF without opening or importing it? Similar to the component in the Human plugin that allows you to reference 3dm files and gives you some filter...
View ArticleSet Material Name to Object name?
@Macuso wrote: Hi. I need to import a lot of .obj files witch have assigned materials to all the objects and I need to set the name of the objects as the names of the materials they are assigned to or...
View ArticleAccessing ghpythonlib.components from Rhino PythonEditor?
@ivelin.peychev wrote: What is the proper way to use it? Posts: 22 Participants: 4 Read full topic
View ArticleHow can I make a Loft / CurveSeam Script to work without having to Pick the...
@harvid22 wrote: How do I grab the curves In The Script after the CurveSeam action has run ? I mean without to do it manually… import rhinoscriptsyntax as rs surface1 = rs.GetObject("Select surface...
View ArticleRemove gh component with python script
@a.chevalier.sd4b wrote: Hi every one , i’ve got a problems , I’m trying to remove gh component with Rhinoscript . Here is the code we tried: if x: for obj in ghObjects: name = obj.NickName guid =...
View ArticleWhy does Rhino.Geometry.Plane.Flip() return NoneType?
@ivelin.peychev wrote: import Rhino import scriptcontext import System.Guid def AddClippingPlane(): # Define the corners of the clipping plane rc, corners = Rhino.Input.RhinoGet.GetRectangle() if...
View ArticleCannot recover geometry of surface stored in document
@Terry_Chappell wrote: I make a surface using: srfGeo = NurbsSurface.CreateThroughPoints(pts, nx, ny, 3, 3, False, False) I can evaluate this surface using u & v parameters: for pt in zPts: # Find...
View ArticleGet Points Created in Rhino to an Array in VB Script
@nqr5090 wrote: I need to select a point I created in vb script through the centroid function and both get its coordinates to print to a text file and find a distance between it and another point...
View ArticleScript running slowly
@664667296 wrote: When I running scrip code .if Rhino window form appeared ,the script running slowly,but if I minimum the Rhino window form ,It will running very fast ,how can I solve this issue...
View ArticleHow does one access the current document grid settings via RhinoCommon?
@Helvetosaur wrote: I see these can be set via Rhino.DocObjects.ConstructionPlane properties, but I don’t see how to access the current settings and/or change them via scriptcontext.doc… must be...
View ArticleCustom Python Command not running
@mikhail wrote: Having an issue running custom python command. It’s working well inside of the EditPythonScript or RunPythonScript. But when running it from the command line I am not getting any of...
View ArticleExport by material
@a.visintin wrote: Hi All I’m following the forum from a long time but didn’t write anything because you have been really useful and all my problems have always found a solution. But now I’m...
View ArticleHow change text size of dim in pythonscript
@xiix.xoox wrote: I use ‘Add Aligned Dimension’ in python script but text height so small. I change text height i but not. import rhinoscriptsyntax as rs import scriptcontext as sc import Rhino def...
View ArticleRuntime error (NotImplementedException): The method or operation is not...
@manuelr wrote: Hi guys, I get this error only by writing this code: import rhinoscriptsyntax as rs import Rhino.Geometry as rg sketches = rs.GetObjects(“select sketch”) Is something to do with Rhino...
View Article'Brep Topology' in GH Python?
@Stan_Carroll wrote: Can anyone suggest a strategy to perform a process within python similar to ‘Brep Topology’ in Grasshopper. I have not been successful in finding a similar command in python....
View Article