How to determine the 'direction' of an angle between two vectors?
@Gijs wrote: I was working on a script to orient spotlights to a certain focus point. This requires the fixture to be rotated in 2 planes. The rotation angle I calculate by creating vectors between...
View ArticleTrying to reproduce Rhino's native Sweep1 behavior with RhinoCommon
@Helvetosaur wrote: Hi all, I am trying to sweep 2 profiles along one planar polyline rail - using native Rhino Sweep1, checking “untrimmed miters” gives a good result (file below). However, I have...
View ArticleInflate script python translation
@ivelin.peychev wrote: Hi @DavidRutten, Hi @clement, I am trying to get the script from this thread: This script does not work inflate polisurfaces Scripting Can somebody help me, [image] [image] It...
View ArticleParsing string with repeating pattern with regex?
@p1r4t3b0y wrote: Hi, I read a text file line by line with a GHPython script. What I get is a list of strings, one string per line. I now need to parse each string into more manageable data (i.e....
View ArticlePreserve Rhino Ngon structure when doing ToPlanktonMesh()
@vincentfs wrote: Hi @DanielPiker and @will , I notice that when I am doing the .ToPlanktonMesh() and .ToRhinoMesh() afterwards, the ngon structure supported by Rhino 6 gets lost. I need the plankton...
View ArticleCreate and update toolbar buttons through RhinoPython or Macro
@vincentfs wrote: Hi everyone, I’ve been developing a bunch of python scripts for my research project. Since I am constantly adding/renaming scripts from the list, I used a git folder to sync the...
View ArticleWhile for python grasshopper
@yseptarangga wrote: collision occurs if I use while on Pyton Grasshopper, does anyone know because of what ?? my computer is becoming net responding, thank you Posts: 5 Participants: 2 Read full topic
View ArticlePull to Underlying Untrimmed Surface
@Jonathan_Hutchinson1 wrote: Does anyone have an existing script to pull a curve to the underlying untrimmed version of a surface? In this case, the surafce is mainly for reference This would save...
View ArticleText justification differs between versions?
@maxz wrote: I am writing a script that involves placing some text with rs.AddText , and I am using the optional justification argument 6 for the lower-right justification point. I was not able to...
View ArticleSplit Brep with curves
@Helvetosaur wrote: Having a brain block here… I am trying to create a function that splits a brep with any number of curves (that might or might not actually split the brep). Test file:...
View ArticleCopy without moving
@remydellinger wrote: Hello, I’m looking for a script that allows me to copy an object without it moving automatically. Do you have any ideas? Thank you, Remy Posts: 7 Participants: 4 Read full topic
View ArticleTrim Line with domain point or line
@heavenly_diana2000 wrote: I want to trim a line with another line or a point, but when I try with this code:TrimCrv = Crv.Trim(A,B) the conclusion is that: Line object has no attribute trim. what can...
View ArticleAutomatic flowalongsurface
@cristiano.pasini wrote: How can I do to run flowalongsurface automatically. The base and target surfaces are known. Posts: 4 Participants: 2 Read full topic
View ArticleGetting Length of Curve
@bseckler wrote: (topic withdrawn by author, will be automatically deleted in 24 hours unless flagged) Posts: 1 Participants: 1 Read full topic
View ArticleScript, Rhino,rhinoscriptsyntax and python
@cotoc_george wrote: Hello, I want to make a script which adds a flange to a plate. I didn’t start it yet, only made a few scratch codes and I want to add that effect from extruding a surface , when...
View ArticleSurface hierarchy
@cristiano.pasini wrote: Brep accepts to extract trim curves? Or I need a brepface? I want untrim a suface and keep trim curves. What is the surface hierarchy? Posts: 3 Participants: 2 Read full topic
View ArticleEto: dynamically add and remove controls
@dick.lelyveld wrote: Is it possible to dyamically add and delete controls with Eto? I want the user to be able to add a new group by clicking a button. If so, can the added control be placed in a...
View ArticleTransform Object Using Euler Angles
@Mrothart wrote: Hello All, I have been writing a script where it will import a .txt file containing x,y,z,yaw,pitch,roll values at different positions (10-20 positions). This script I have will place...
View ArticleTrying to translate mesh vertices colour highest colur value to face material...
@jan.gronkiewicz wrote: Hi, I’m trying to write a code which would translate mesh vertex colour rgb highest value to transparency of the material applied to mesh face. It’s my first python script and...
View ArticleConnect to Rhino from Excel
@eric.bunn wrote: I pulled the vba script below from another posts. I’m new to Rhinoscript and can not determine why Rhino opens but then terminates when the script ends. (@ the End Sub). I also had...
View Article