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

Text Field

hi is it possible to run Text Field dialog form directly by scrip in python (not from text/fx)? 2 posts - 2 participants Read full topic

View Article


Get formula

hi i need to get fx formula from text which put on cplane by python 2 posts - 2 participants Read full topic

View Article


Image may be NSFW.
Clik here to view.

Help! rhinoscript error

hello, since the rhino update, of this morning, i ve got an error message when i launch a rhinosrcipt: ! _-Runscript ( Option Explicit 'Script written by <insert name> 'Script copyrighted by...

View Article

Image may be NSFW.
Clik here to view.

RhinoInside| Brep.CreateFromLoft() - empty array of Brep

Hey there, unfortuneatly I am experiencing problems with rhinoinside, which I couldn’t resolve by myself. I asked a similar question half a year ago, but never got a satisfying answer, maybe due to...

View Article

What method can I use to apply a JPG image to a surface?

What method can I use to apply a JPG image to a surface (Python)? 1 post - 1 participant Read full topic

View Article


Object Centroids?

How do I get object centroids? This returns zeros. I tried a bunch of things but still get zeros. I totally know it’s completely wrong, but I don’t know how to figure it out: def...

View Article

Python Import Named Objects from an External Rhino File

Hi All, Wondering if it is at all possible to import a given named object(s) from an external file (always the same file path) into a current file with python? I haven’t used much outside of...

View Article

Writing to a single element of a nested array

Dear forum members, I am once again struggling with my rhinoscript and have already searched the whole internet for a solution of the following problem. I need to store data in a nested array. The...

View Article


Image may be NSFW.
Clik here to view.

Display Properties Within Python

Hi everyone, part of a custom script that I am writing in Python I was wondering if there is a way to control the display properties within Python itself. What I mean is switching on some of the...

View Article


LandArchTools for Landscape Architects

Some scripts that I use daily as a Landscape Architect, I can’t imagine using rhino without them anymore so I’m releasing them for others to use. I don’t know if there are many LA’s in here but...

View Article

Image may be NSFW.
Clik here to view.

Addpictureframe problem

Hey everyone, I’m facing this problem when I’m using Rhinocommon. But when I use rhinoscriptsyntax everything is OK. The problem is when radius of circle is 1 in both way everything is ok, [Python =...

View Article

Update FilePath Texture Material

Hi everyone, I attached a python definition as I am struggling to understand how to update the filepath of the textures loaded in a rhino material. Does anyone have any idea? Thank you!...

View Article

Get trimmed and twisted picture frame information

I need to get information about pixels in a picture frame inserted in Rhino. I already know how to do this on an external image. (System.Drawing.Bitmap.FromFile) There is some method in Rhino.Geometry...

View Article


Can I import rhino viewport in grasshopper?

I created my custom view, changing some property settings in rhino such as basic sky color and named it custom_view. (not named view) Instead of setting it as current viewport in rhino, is there any...

View Article

Image may be NSFW.
Clik here to view.

Groups/ungroup geometry in C# &python?

Help for Groups geometry in C# &python? IMG_20210524_154036_607902×166 20.8 KB group.gh (14.1 KB) IMG_20210524_154044_8431227×350 60.1 KB Python import ghpythonlib.components as ghc a=ghc.Group(x)...

View Article


Start Trigger Component with Python

Hello. Anyone knows how to start a Trigger component with GhPython? Thank you. 4 posts - 3 participants Read full topic

View Article

Image may be NSFW.
Clik here to view.

rs.OffsetCurveOnSurface extends resulting offset beyond the surface trimm

Dear all, i am having trouble with the rs.OffsetCurveOnSurface command in combination with a trimmed surface. The command is supposed to extend the resulting offsets to the edge of the surface. Yet I...

View Article


GhPython/RhinoCommon Decal Placement

Is it possible to use the Decal Methods in the RhinoCommon library to update decal application based on a variable point position? I am struggling to find documentation and the Decal constructors...

View Article

DelaunayMesh component fails from python in Version 6 SR34 / Version 7 SR6

Hi, This is a minimal example showing how the DelaunayMesh component is no longer working correctly from Python (_EditPythonScript context) in current versions of Rhino 6 (Version 6 SR34) and 7. I...

View Article

Image may be NSFW.
Clik here to view.

Rhino Python ResetScriptEngine - No module named Grasshopper after...

It works fine when Rhino first load but I encountered module not found error after ResetScriptEngine. So in an attempt to get the Grasshopper module to load, I launched Grasshopper, it works again. My...

View Article
Browsing all 4171 articles
Browse latest View live


Latest Images