Create surfaces among a set of points
@odbc wrote: I have a lot of points and lines and I’m trying to turn the this array of points and lines into a sold. To do so, I want to select these points and lines creating surfaces between every...
View ArticleHow do you move an object's Z-Axis only?
@architecthanhao wrote: import rhinoscriptsyntax as rs import random def ImportPoints(): sampling = 50 filename = rs.OpenFileName("Open File") if not filename: return file = open(filename, "r") lines...
View ArticleClose Curve issue?
@mikhail wrote: Is there something screwy with rs.CloseCurve? and rs.IsCurveClosable? I am not getting any luck trying to close crvs using python. Even the example code under those commands is not...
View Article(SOLVED) Curve Offset Rhino Common Python(Grasshopper) Problem
@flokart wrote: Hi all, I use Rhino.Geometry.Curve.Offset to create closed offset curves but they are always open and looks like The base curve is a closed planar curve. Rhino Common.JPG1506x734 15.3...
View ArticleAny way to find "colinear" curves
@cosmas wrote: Hey guys, Is there any way to find “colinear” curves? Seldup would pick identical curves that are over each other, but is there any way to find curves that merely lay over each other...
View ArticlePython min(Pointlist.Y) do odd things
@flokart wrote: Hi all, what do i wrong…i try to get the min .Y values from point lists but min(rh.Collections.Point3dList(i).Y) gives me not the expected result min.JPG1539x554 99.9 KB min.3dm (62.4...
View ArticleDelete lines that intersect a plane
@odbc wrote: Hi, I’m trying to add a function to the below script that creates lines from one point to all other points in my 3d scene. The function is to not create lines, or delete lines, that...
View ArticleHow to draw line like line of DimOrdinate
@xiix.xoox wrote: I picked one point on suface and get suface name. I want draw line like line of DimOrdinate. When mouse move, event auto draw line with start point is point of suface, end point is...
View ArticleRhinocommon RunScript SaveAs and Export problem
@Felix1 wrote: i try to use RunScript to export some objects to an slc-File but get an error Code: string strCommand = “_-Export C:\Users\fleixi\Desktop\test.slc Enter"; RhinoApp.RunScript(strCommand,...
View ArticleScripting a Batch Render with Replacement Materials and Angles VRay for Rhino
@koshpatel756 wrote: Hi so I want to write a Rhino Script had a couple questions I’m sure someone on this forum would probably have experience in and be able to help me out. Thanks in advance....
View ArticleBug: Connect command
@onrender wrote: Hi there, I think I have found a bug, my lines do not connect. Please, find Rhino file attached. I use Rhino 5. connect bug.3dm (27.8 KB) Posts: 5 Participants: 3 Read full topic
View ArticleNeed help with python
@ivelin.peychev wrote: How would this equation: 10n + \sum_{i=1}^n\left((x_i - 1)^2 - 10\cos(2\pi(x_i - 1))\right) look like when implemented with python function? That is, without the help of sum()...
View ArticleBug Python rs.GetSettings?
@Jess wrote: Hi, there seems to be a bug in rs.GetSettings. The code sample returns: Message: No section: ‘whatever’ Also ConfigParser.set (rs.SaveSettings) is not supported from utility.py Looks like...
View ArticleSyntax question: getting a brep edge by index in Python with RhinoCommon
@S_L wrote: I am interested in getting the edges adjacent to a specific face of a brep. Here is the documentation I’m looking at: Brep:...
View ArticleChanging a filename in a restricted directory (via script)
@Helvetosaur wrote: Somewhat OT here, but I was wondering if anyone knows how to rename a file in a restricted directory via Python script. The catch is that the file is in a subdirectory of...
View ArticleRhinoscript to plug in
@cua54kttt wrote: i have a script. It is writed on Rhinscript. Now I want to creat a plugin write on C++. How to get this scrip into plugin. Please help me? Posts: 1 Participants: 1 Read full topic
View ArticleCrashing rhino with eto
@mikhail wrote: I am trying to work on a dialog box, using eto example files that are out there. Right now when I click either OK or Cancel button it forces rhino to crash completely… Clearly, I am...
View ArticleHow to check if a point is on the Line
@flokart wrote: Hi all, i try to get a endpoints of a Polyline segment from polyline selfintersection. Any tip to check if a line contains a point is welcome. Posts: 4 Participants: 2 Read full topic
View ArticleShorter syntax
@bermu wrote: Hi all, Could someone tell me how to make this python code shorter and more professionnal? Thank you in advance… import rhinoscriptsyntax as rs import ghpythonlib.components as ghcomp if...
View ArticlePython ? why?
@Petrol wrote: Hi all, I’m totally ignorant with python, but sometimes i see some of you adding C+ or python in definitions.Is it faster or lighter to compute instead of conventional grasshopper def?...
View Article