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

Rhino.ObjectByType BUG?

@Jarek wrote: Hi @Dale, Looks like the intState in ObjectsByType method (Normal, Locked, Hidden...) does not take into account the objects that are on hidden or locked layers. They are returned as if...

View Article


Rhinoscriptsyntax.coerce3dpoint for TextDots

@Willem wrote: Hi, I would have expected coerce3dpoint to be able to coerce a 3DPoint from a TextDot. I understand it might be breaking current workflows, but it feels as a good powerup for a coercing...

View Article


Scripting Print Window (v5)

@mark.pothier wrote: I'm writing a python script to automate printing from Rhino.In short, I have a bunch of rectangle objects scattered throughout the workspace; I want to "Print Window" by selecting...

View Article

Accessing some display properties via macro/script (v5)

@Jarek wrote: Hi All, I am looking for a way to change AA settings and possibly Skylight on/off via macro or rhinoscript/python.Any suggestions? Thanks, --jarek Posts: 3 Participants: 2 Read full topic

View Article

Any document PythonScript Operator(*,+,-) for Vector

@Katsu wrote: In PythonScript .When I add vectors , I only write v1+v2, so I do not have to use rs.VectorAdd( ). Are there any document or sources for IronPython about these operators ? I could not...

View Article


rs.SurfaceEvaluate, when derivative=0 does not work

@Katsu wrote: In PythonScript, I'd like to get a point on a surface from uv. So ev=rs.SurfaceEvaluate(srf,uv,0) but it does not work.but ev=rs.SurfaceEvaluate(srf,uv,1) does work. Why that does not...

View Article

Image may be NSFW.
Clik here to view.

Scripting Creation of Book Models and their Texture Mapping

@MarcusStrube wrote: I am trying to write a script that makes texture mapping and creating books faster. What I have so far is a script that: makes me 'draw' a PictureFrame with a book's cover (the...

View Article

Detect if a surface is a full sphere

@galinette wrote: I would like to detect if a closed surface is an exact sphere. There is a TryGetSphere function in the API, but it also returns true if this is a portion of a sphere, which is not OK...

View Article


It is possible to convert the macro to the RhinoScript?

@leex wrote: Hi Guys!It is possible to convert the macro to the RhinoScript? THX Posts: 10 Participants: 4 Read full topic

View Article


Accessing the rhino environment editor from within grasshopper

@Stef_H wrote: Hi all, I posted this question on the grasshopper forums but sadly didn't get a reply yet. I was hoping someone here might be able to help me out. I am currently using Neon rendering...

View Article

Script help

@djnelson75 wrote: So I created a script that creates 2d views and turns them into blocks for certain files that I pick, but the script will only run a certain number of files before it stops. Since I...

View Article

Looking to pay someone to write a custom Rhino.Python script

@jarombra wrote: Hello my fellow python-wrangling rhino-riders, I'm in need of a very specific script and am more than happy to pay you either by the hour or upon completion (or some mix of the two)....

View Article

Two Questions about Rhino's Python Editor

@MarcusStrube wrote: I have to admit I am not in the 'manual readers camp', so the questions are perhaps really lame: When I run a script in Rhino's Python editor the window closes and immediately...

View Article


Image may be NSFW.
Clik here to view.

I want to extend "SelPrev" command,But I had some problem

@603419608 wrote: Hello everyoneI want to extend "SelPrev" command,But I had some problem,I want to know Rhino have selectively cache ?or SelPrev is how to find the last selected object....

View Article

RhinScript HTML box question

@Jarek wrote: Hi @Dale, @Clement, Do you know any way to close the modeless html dialog from the running script and NOT manually from the dialog buttons? (for example the maybe somehow the script in...

View Article


Scripting Thickness property in Rhino 6

@NavArch wrote: Hello, Is there a way yet to use Python to programmatically set the thickness property on surfaces? I did a quick search through the help and didn't see any methods available yet. I...

View Article

Odd Behavior...Python Discontinuity/Scale

@brobes05 wrote: Hi, not sure how to title this. I am getting an error when I extend two rectangles (one initial and a scaled version). For some reason, after I scale, the larger rectangle loses its...

View Article


Image may be NSFW.
Clik here to view.

Updating Rhino-Python in Atom failed

@rhinorudi wrote: Trying to upgrade from 0.7.1 to 0.8.2 fails in Atom on OSX 10.11.6 Screen Shot 2016-09-24 at 4.45.52 PM.png667x518 53.8 KB Is it just me? Thanks, Randy Posts: 3 Participants: 2 Read...

View Article

Image may be NSFW.
Clik here to view.

Working with Nurbs Curve in GhPython

@lawrenceyy wrote: This is a two part question: What is the ghpythonlib.component equivalent for NurbsCrv (the version where the input is point, weight and kink)? The NurbsCurve() method I'm getting...

View Article

Make my layer color my print color

@jessegould wrote: Hey guys, Very new to scripting and trying to ease my export workflow.I have a large layer setup similar to that of a CTB autocad file, however when I want to export to illustrator...

View Article
Browsing all 5750 articles
Browse latest View live