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

Image may be NSFW.
Clik here to view.

rs.IsDimension() complaint

The method rs.IsDimension() is mis-named. It should be named rs.IsAnnotation() - because it includes not only all types of dimensions, but also text and leaders. This means that if I want to find all...

View Article


Image may be NSFW.
Clik here to view.

Getting text object bold/italic/underline info via RhinoCommon

In the text editing/properties box, there are buttons for Bold, Italic, and Underline: These are “modifiers” added by Rhino to the text, they do not represent changing type styles. Looking at all the...

View Article


Is there a new Script for Camera Lens?

Morning, Does anyone know if there is an updated version of the Cam Lens Script. This is the one I am currently working with. Cam_Lens_091013 Cheers, Ian 1 post - 1 participant Read full topic

View Article

Blend Curve Method Overloads

Hi, Is there a way in python to define a blend curve that has a blend continuity to a set curve, and for the other point (the end) to be at a point? For example, specifying tangent blending to a...

View Article

Batch opening of multiple files

I have a list of 50-ish files, each one requires to do small adjustment. Picking files one-by one from a long list is painful and risking omitting some. Are you guys having any trick to make Rhino...

View Article


Batch Insert Step files with Insert Options as Rhino Block Instance

Hello. All, Similar to Batch Import Python script in the forum. I was looking at ways to Batch Insert Step files 100’s of them as Block Instance with Default Insertion Point as (0,0,0) Could it be...

View Article

Image may be NSFW.
Clik here to view.

Simple python script not working

2 posts - 2 participants Read full topic

View Article

Image may be NSFW.
Clik here to view.

Splitting / Trimming with Python

I have a spiral shaped cut around a cylinder, where I want to remove the strip that is in the spiral shape. I am trying to do this programmatically with python, but I’m not so sure where to begin with...

View Article


Code errors not thrown in DisplayConduit Functions

Hi all, I’ve noticed that when working with the display conduit class in python, errors in functions such as PreDrawObjects(), DrawOverlay, PostDrawObjects etc are not shown with the usual...

View Article


Image may be NSFW.
Clik here to view.

Automatic snapshots in different Rhino viewpoints. Python script

Hi everyone, I am struggling to create a python script within GH to make snapshots automatically from Rhino baked geometries to .png files. I found this amazing script made by @AndersDeleuran which...

View Article

Connect SQ LITE 3 with Eto form

I have code with sqlite 3 with python. It include 2 class with eto form is “PRIN” and “STAB” (Class “STAB” only for call show modal for class “PRIN”) and 1 database ‘STAB.db’ with sq lite 3 (Just...

View Article

Image may be NSFW.
Clik here to view.

rs.GetPoints() - base_point argument not hooked up?

I was playing around with something and I stumbled on this… I looked at the code for rs.GetPoints() and although the method’s input arguments do include an optional argument base_point (starting...

View Article

Image may be NSFW.
Clik here to view.

(Number Of Face And Creased Edge) doesn't Cahnge?

is there way to to Meake MeshFromSubD And the results SuBDFromMesh the Topology of First SubD SubdfromMesh.gh (12.7 KB) (Number Of Face And Creased Edge,…SmoothEdge) doesn’t Cahnge? in this example...

View Article


Search for text fields only containing 2 decimals places

Hi All, I am trying to find a way to search an entire model containing approx. 100,000 Text Fields and highlight the location of where the Text Fields only containing 2 decimals places occur. Does any...

View Article

Image may be NSFW.
Clik here to view.

Modify material names in RhinoScript

I used “Rhino.MaterialName” method in RhinoScript to modify the material names. Those changes shows up in layer panel, but not in material editor. And when I save and reopen the file. All changes are...

View Article


Image may be NSFW.
Clik here to view.

Issue creating RHI Python installer in rhino 7

Hi, I’d like to create a new installer for my Rhino.Python commands, For now i have 2 commands that work properly inside Rhino 7. I created the __plugin__.py where I put the 3 lines described here....

View Article

Create OrdinateDimension by RhinoCommon

Dear all, I am trying to create an ordinate dimension by scripting. Since ordinate dimensions are not available in in the rhinoscriptsyntax I want to solve this problem by rhino common (I should say...

View Article


Image may be NSFW.
Clik here to view.

Mesh Extrusion Bug?scr

Hi, When extruding curve to mesh using Rhinocommon(Rhino.Geometry.Mesh.CreateFromCurveExtrusion), it adds one unit on both top and bottom. Please see the post below. Mesh Extrusion not working as...

View Article

Create curve in open3d using json data in python

Hi I am stuck in create a curve in open3d using a json data…any one guide me how to create curve in open3d… Thank you 1 post - 1 participant Read full topic

View Article

About JoinArrays in RhinoScript

Is it using ReDim preserve behind the scenes ? … or is it using some more efficient mechanism ? 1 post - 1 participant Read full topic

View Article
Browsing all 5806 articles
Browse latest View live