Quantcast
Channel: Scripting - McNeel Forum
Browsing all 5743 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

RhinoScript Debugging error

@ezgikd wrote: I am using Rhinoceros 5.0 with educational lab license. When I try to use debug the script button, I always get the same error in the following example. It gives error only when I use...

View Article


Error when intersecting in a specific coordinate

@Charly wrote: Hello all,I'm working on a script that creates many vertical planes, intersect each of them with a surface, and then delete the part of the plane that is outside de surface, so the...

View Article


Python Equivalent of Cut Plane Command

@rleader wrote: Does anyone know a quick, reiterable way to generate a surface at the intersection of a plane and lofted surface? Essentially i'm looking to determine the cross-sectional area along an...

View Article

SelBoundary RVB Script to PY Help

@kleerkoat wrote: I have a script @Helvetosaur kindly made for me that would be awesome if someone could help me with a python version. It takes a picked curve and selects any curves inside and groups...

View Article

Image may be NSFW.
Clik here to view.

Help with PythonScript

@vittorio wrote: I have formatted my HardDisk an reinstalled rhino v5. When i run a simple script like the attached image i get the error like the attached imageVittorio. PythonError.jpg1274x531 97.1...

View Article


Material Name [Beginner]

@Maxence wrote: Hello ! I'm completly new to python Scripting, and I'm trying to rename all my textures with a shortest name. so far I have: import rhinoscriptsyntax as rs import Rhino import...

View Article

Rhino python language highlighting?

@kleerkoat wrote: is there a special highlighter for Atom for Rhino python? Posts: 1 Participants: 1 Read full topic

View Article

Rhinocommon strategy for auto-sorting Polyline Through Points?

@NikWillmore wrote: Problem detailed here: http://www.grasshopper3d.com/forum/topics/point-sorted-rhinocommon-version-of-rhino-polyline-through-points "I'm converting Tetgen program 3D Voronoi...

View Article


GetEdgeCurves Hangs with transform message

@Keith1634 wrote: This Rhinoscript code will hang a while Dim arrEdges arrEdges = Rhino.GetEdgeCurves(,,, True) rhino.command "_ProjectToCPlane _Yes" Is there a better route ? Thx,Keith Posts: 4...

View Article


Image may be NSFW.
Clik here to view.

Quicker Block Select Instances

@benjamin wrote: My current method for quickly selecting all the instances of a selected block is by bringing up the block manager and then hitting the select button. Is there a method that could be...

View Article

Remove UTF8_BOM from txt file

@Keith1634 wrote: Hi, I am reading a text file to feed a Rhino.ListBox - however I always get a UTF8_BOM (  ) mark on the first line. Is there a way to remove this ? thanks,Keith Posts: 3...

View Article

RemoveMultiKnot scripted

@Willem wrote: Hi, Is there a way to have RemoveMultiKnot functionality from within RhinoCommon? Thanks-Willem Posts: 1 Participants: 1 Read full topic

View Article

Background screen capture thread

@amit.lzkpa wrote: Hi, Is there a way to start a background thread that continually performs screen grab and pushes the screen grab to a socket? I am currently working in RhinoPython.Following is a...

View Article


Combine flags into one hexadecimal value - how?

@Jarek wrote: Hi Group, Is there a way to easily represent a combination of flags (for example for object types in ObjectsByType method) into a single hexadecimal value that can be provided into the...

View Article

How to convert an RGB color value to grayscale in python inside GH?

@daizhuo wrote: Hi!Although I finally found that someone said "grayscale = RGB.R*0.3+RGB.G*0.59+RGB.B*0.11", but it seems not work. I had tomultiply 0.007 and got a result that seems grayscale was...

View Article


Silent Execution

@Alexander_Kaplan wrote: I'm using a slightly modified version of http://wiki.mcneel.com/developer/scriptsamples/exportlayerobjects for a mass fbx export but have to hold down enter for a minute while...

View Article

Surface from points

@daizhuo wrote: In the below code"panel = rg.NurbsSurface.CreateFromPoints(cpts,2,vnum2,2,2)", I want to generate a surface with 1 degree from points. But now, I get a wrong thing. Thx for ur help!...

View Article


RS: StringBox - control position on screen?

@Jarek wrote: Is there a way I could control the position of StringBox dialog on the screen?(similar way the PopUpMenu allows). I know there is no direct way in the method (could we add it as optional...

View Article

PlaneFitFromPoints

@gianpaolo_savio1 wrote: I’m trying the rs.PlaneFitFromPoints function.Using the example in the RhinoPython Help: import rhinoscriptsyntax as rs points = rs.GetPoints() if points: plane =...

View Article

BrepBrep intersection not threadsafe in Rhino 5 64bit?

@SmallChief wrote: Using the Grasshopper python component I wrote a code that intersects lots of breps with each other.To make it faster I used parallel processing wich worked fine under Rhino 5...

View Article
Browsing all 5743 articles
Browse latest View live