Get Area of trimmed Face
Willem Derks wrote: Hi, In Python I'm trying to get the Area of the trimmes face of a Brep.However for now all I cab find is, which gives the area of the untrimmed face. Area =...
View ArticleUnderstanding scriptcontext
Willem Derks wrote: Hi, I'm trying to get my head around adding object to a document via python and rhino common and more in general "what scriptcontext is"In examples I find for instance...
View ArticleUsing STL files with the help of Python
Parth wrote: I need to generate python code which can import STL files and highlight/ tell the number of round surfaces in STL files.So, far I have tried to use "Blender" and "OpenSCAD" but couldn't...
View ArticleHow to choose Planarity test tolerance
Willem Derks wrote: Hi, When testing .IsPlanar I can pass a tolerance.However in what units is that tolerance interpreted?I have a feeling that passing the document absolute tolerance is not relevant...
View ArticleRs.PullCurve not as good as Pull command
Jacek Godlewski wrote: Hello,If curve has a name and is pulled to a surface, interactively using Pull command, the resulting curve keeps the name of the original.However, if the same is done in...
View ArticleA script for changing viewport
Cosmas Demetriou wrote: I am wondering if there is a script for changing viewport by switching tabs (rather than just changing the view in whatever tab you happen to be in.) I would like to do it with...
View ArticleDisplayConduit and Clipping
Clement wrote: Using Python i´m drawing objects (eg. a box) in a display conduit which is runs permanently by using DrawForeground. The box stays visible until i toggle the state of the conduit. So...
View ArticleHelp: Delete curve with Rhino Common
vittorio wrote: Hi AllHow do I delete a curve? I always get an error # coding: UTF-8 import rhinoscriptsyntax as rs import scriptcontext as sc import Rhino def deleteCurve(): """ Return list of curve...
View ArticleUnwanted code caching on Python w/ Rhino for Mac
Lealbaugh wrote: Hi all,I'm doing some python scripting with Rhino for Mac (on OSX 10.7) using Sublime as my external editor. Something that has been plaguing me is that it seems that every so often,...
View ArticleA script for choosing different layer states
Cosmas Demetriou wrote: Is there a script for choosing different layer states? If there were then one could attach it to an alias and with a keystroke seemingly animate parts of model by changing...
View ArticleDistribute in V5 via Harmony wouldn't work on groups, any help?
Hannes Grebin wrote: just tried the Harmony script which works on single items, but in groups it wouldnt work, any ideas? Distribute is so important that I can't believe it's not native in V5 Pasted...
View ArticleTransforming seperate objects using Display Conduit
Peter Schmidt wrote: Greetings, I am attempting to use the Display Conduit to load several mesh objects from separate .3dm files. Once loaded I would like to apply different transformations to each of...
View ArticlePython Component in Grasshopper does not load
m_ziolo_86 wrote: Hey all, I installed the Python component for the Grasshopper according to the instruction. However, it is not visible in components tab. Did anybody have similar problem ? Regards...
View ArticleCreate mesh object in Rhinoscript
Miguel Angel wrote: Hi. I am trying to create a mesh box in Rhinoscript, but I don't know how to do it yet. Any suggestion? Thanks in advance. Posts: 3 Participants: 2 Read full topic
View ArticleWhen is the GUID of the object created?
Tomáš Koutecký wrote: Hi all,I have a question about GUID of the object.When exactly is the GUID created? When it is added to the document? I mean, when I create a bounding box (by Rhino.Geometry) I...
View ArticlePython editor in Rhino could use some tweaking
Dan Bayn wrote: I've noticed a few issues that seem like they could use some attention. First, the "Find" functionality seems a little wonky. I type in what I want to find, it sometimes doesn't find...
View ArticleMesh face color maping
giorgos wrote: Hi there, I am trying to find out whether Rhino.python has any functionality for different mesh face color mapping. Specifically, I have several triangulated surfaces and I would like...
View ArticleRedraw Freeze in Scripting
Bert Gay wrote: I have some scripts where I'm moving objects iteratively in a loop and I want to see the movement by leaving redraw enabled. Problem is, the object will appear to move for a second or...
View Article"Command" command messing up parameters
James Carruthers wrote: I have a script that calls Sweep1, and was wondering why it was running slow and taking up a ton of memory, and it turns out the culprit was that in the call to Rhino.Command I...
View Article"Weighting" rotation transformations
James Carruthers wrote: I've got a script that multiplies two rotation matrices to get a net total transform. What I would like to do(and it's obviously not a case where I actually "know" the specific...
View Article