Could not convert Rhino.Geometry.Point3d object to a Point3d
@chiahsuanchao wrote: Hello I am a beginner of RhinoPython and learning through the book RhinoPythonPrimerRev3, Unfortunately. I encountered problems in the example exercises. the following is my code...
View ArticleAddLoftSrf not working
@ZKislost wrote: Hey guys, I’m basically trying to loft some curves and just cannot figure out why my lofts wont come out clean. I got my lofts, but they are like twisted or something, almost as if...
View ArticleOffset surface until intersect loop
@yfhudak wrote: I am trying to offset a planar surface until it reaches an intersection with a set of curves. The while loop (line 287) seems to get stuck after one offset iteration and after letting...
View ArticleWhy do I have to load a dll with a RhinoPython script before I can use in in...
@S_L wrote: I have a script in a GHPython component that loads a library like so: sys.path.append(r"[MY USER PATH]\AppData\Roaming\McNeel\Rhinoceros\6.0\scripts\libraries\accord_3-8-0\net462")...
View Articlers.MoveObject question
@Asterisk wrote: Is this a dumb way to move an object in 3D using current CPlane? rs.MoveObject(Txt2Mov,...
View ArticleGet the mesh face neighbours of a face in Python?
@p1r4t3b0y wrote: Hi everybody, I’m looking for a pythonic way to evaluate the mesh face neighbours of a face. I’m only looking to get the neighbouring faces that share an edge with the currently...
View Articlers.AddPoint: Not all arguments converted during string formatting
@yfhudak wrote: I have a variable created that includes a set of point3d objects from the intersection of a surface and a set of curves. I want to us rs.AddPoint to place a point at a single point3d...
View ArticleLearn Python for $15
@Dancergraham wrote: (I have no affiliation with O’Reilly, humble bundle or the authors of these books) I’m currently enjoying reading the widely recommended Fluent Python, having taken up this offer,...
View ArticleHow to check object's RGB color in python "proper" way?
@Asterisk wrote: How dumb is this? if str(rs.ObjectColor(Pick[0])) == “Color [A=255, R=255, G=220, B=170]”: Posts: 5 Participants: 2 Read full topic
View ArticleRhino5 64 dies when trying to open Python Editor
@shanew06 wrote: Hi, I was editing some of my python code in Rhino 5 as I always do, and then closed Rhino down. When I now try and open Rhino, then open the Python editor, Rhino crashes. Same occurs...
View ArticleHow to save .gh file directly from python component?
@Ambrosinus wrote: Hi All, I wonder if it’s possible to save a .gh file (with custom filename in a pre-selected dir) directly from gh python component. Thank you in advance for all your tips. Posts: 1...
View ArticleRhino.DimStyleNumberFormat (FractionalDimStyle) results in 0
@Asterisk wrote: Posts: 3 Participants: 2 Read full topic
View Article"Number of elements in knots must equal the number of elements in points plus...
@gehlot wrote: I am trying to generate a new curve by identifying knots, degrees, points and weight from an existing curve. I am getting all the 4 necessary information to feed it back into the...
View ArticleLine Tangent Perpendicular through API?
@Will_Wang wrote: Continuing the discussion from Trying to emulate "Line Tangent Perpendicular": Can this command be somehow scripted by RhinoCommon or a combination of them? I need to recursively...
View ArticleGet user string doubs
@cristian.donaire.roj wrote: Hello, I have a question with scripting when assigning a userString to a mesh. I leave two scripts but only one works. #This Works import Rhino import scriptcontext as sc...
View ArticleHiddenLineDrawing - how to get ObjectID of the HiddenLineDrawingSegment
@AleksandarSM wrote: Hello, when I use HiddenLineDrawing to create 2D drawing of multiple objects, is there a way to find out which line is from which object? - preferably to get object guid I use...
View ArticleProtobuff + Ironpython?
@powerpp wrote: Hi all, i need to use google google protobuf in Rhino \ Ironpython . I did some research und have a basic understanding of how to use it. But I am not sure if it is possible to use it...
View ArticleProblem in output value while applying loop and multiplication of list with a...
@zohaibneduet wrote: Hi, I am facing some problems while applying the loop to get one value at once for two different options using a value list. The problem is, it is showing the same value for both...
View ArticleHow to reparameterize a surface in Python?
@Asaf_Yaacobi wrote: as a beginner, i thought there was a way to just change the SurfaceDomain (from its actual number) to 0 or one. thnx for clearing it up Posts: 4 Participants: 3 Read full topic
View ArticleBrep.Split by curves issue
@ivelin.peychev wrote: Hi I am trying to make use of this: https://developer.rhino3d.com/api/RhinoCommon/html/M_Rhino_Geometry_Brep_Split_3.htm However: What kind of curve does it expect? How can I...
View Article