Rs.SurfaceCurvature() bug in Python?
4 posts BrunoF (brunofletcher) wrote: Hi , I'm calling rs.SurfaceCurvature() in python to obtain the surface normal vector at a particular point at a surface. After rendering the normal vector (see...
View ArticleRs.ObjectGroups() - bug?
9 posts Mitch Heynick (Helvetosaur) wrote: If an object is not a member of any group, rs.ObjectGroups returns an empty list. Methinks it should return None... VB rhinoscriptsyntax returns Null in this...
View ArticleTriangle Area Centroid
9 posts Mohamed Ibrahim (mohamednaeim) wrote: Hi, In a pyramid, i wanted to find the center point , area centro-id but it doesn't give me the center, but it create the complete 4 side shape(the...
View ArticleHow to compare the value in the dictionary of python
6 posts elena (Liu_Xiang) wrote: I have a dictionary like this {key: value, key2: value2, key3:value3}. How could I know the smallest number of the Value and also tell me the Key that the Value...
View ArticleRhino.Geometry.TextEntity bounding box problem
4 posts emilio morello (emilio) wrote: Himy Python script builds a TextEntity object and then tries to get its bounding box: pla = Rhino.Geometry.Plane.WorldXYpla.Origin = Rhino.Geometry.Point3d( 50,...
View ArticleRhinoscipt (visual basic): problems with defining public array
17 posts Yves Mario Seiler (yoveo) wrote: Hi there I'm having a hard time defining a public array in rhino script: Option Explicit Public arrImpressions()Public arrKlicks()Public arrCTR()Public...
View ArticleHow could reorder the keys in the dictionary?
9 posts elena (Liu_Xiang) wrote: I have a dictionary. {key: value, key2: value2}, Dict = {(4, 5): (2.733), (5, 2): (2.4533), (6, 2): (4.533), (7, 3): (1.333)}.How could I reorder the key part to...
View ArticleSearch and replace discrete text within text blocks
8 posts Robert Wrazen (carvecream) wrote: hi all,does anyone have a script for searching and replacing discrete text occurrences within text blocks?ex: i want to change a mess load of "transom a-1"...
View ArticleScripted commands vs. manual commands
3 posts Bert Gay (defterGoose) wrote: Has anyone else noticed inconsistencies between how rhino performs geometry operations when scripted vs. when used manually? For example, I've been using Offset()...
View ArticleExport the print screen image from python step by step
2 posts elena (Liu_Xiang) wrote: does anyone know python code that could export the printscreen image in python process show the step by step of python that could be used for animation.
View ArticleRhinoscriptsyntax AddTextDot
2 posts Clement (clement) wrote: Hi @stevebaer, there is one small typo in rhinoscriptsyntax under geometry.py for the AddTextDot function: if id==System.Guid.Empty: should use rc instead: if...
View ArticleLoop that crash my computer
6 posts elena (Liu_Xiang) wrote: I have a list of point PT, Newlist of Point Clovknot[(i,j)] is select some of them by distance to test point.in the Clovknot[(i,j)]. I run the loop to create lines....
View ArticleMultiplying transforms
4 posts Mitch Heynick (Helvetosaur) wrote: Since my knowledge of matrix algebra is limited... Suppose I have several transformations of the same object - a translate, a rotate and a scale, for example...
View ArticleSelect and Delete all objects - Rhinoscript DotNet plugin [C#]
2 posts Axel V Zalingen (axel) wrote: Hello, I'am writing a Rhinoscript DotNet plugin in C#. How can I select and delete all objects with C#? This gives errors:arr1 =...
View ArticleAccess userdata created by DXF import
13 posts Gero (gero) wrote: Hi, I imported some client's data from a DXF file. I contains some mesh objects with additional attributes assigned to them. By pressing the Details button in the object...
View ArticleRedefine class in rhinoscript
3 posts miguel (miguelv) wrote: Hello, I would like to use classes in VB scripting. This works fine if you run the code that contains the class definition only once. The second time it gives the error...
View ArticleBest way to distribute Python Script without exposing the source code
2 posts 県太郎 福井 (fukui_kentaroh) wrote: Hi, This is my first post. I'm new to Rhino and Python.I'm writing a script in python using Rhino Python Editor and I would like to distribute it to my customers...
View ArticleL- system , python script
1 post Viral Doshi (viraldoshi17) wrote: hi all, i am working on a python script regarding l-systems. I want to grow branches from multiple points and i dont want the branches of different points to...
View ArticleChanging Default Template for New Python Script Editor
2 posts Marshall Prado (marshallprado) wrote: I would like to know if its possible to change the default template for a python script editor. I am asking specifically about the script editor in...
View ArticlePython rhinoscriptsyntax implementation requests
6 posts Mitch Heynick (Helvetosaur) wrote: These are not mission critical, just nice for display and formatting: UnitSystemNameUnitDistanceDisplayPrecision I guess these are not in there because they...
View Article