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

Image may be NSFW.
Clik here to view.

Reverse an equation

@Helvetosaur wrote: Hi all, I have the following formula for calculating the “scallop height” (h) with a spherical cutter of radius ®, given the “stepover” (x). h=r-\sqrt{r^2-(x^2/4})...

View Article


VBA from/to Python

@ivelin.peychev wrote: Hi, Hypothetical question. Is it possible to pass on data from vba to python and get output. I know you can use shell and get the output from python print() but is there a way...

View Article


Image may be NSFW.
Clik here to view.

Script path for plugin made with rhino command

@keerthana wrote: I’m interested in creating a few rhinocommand scripts to create a plugin This link explains the process clearly developer.rhino3d.com Creating Rhino Commands Using Python This guide...

View Article

Image may be NSFW.
Clik here to view.

Need help to this script c# shell and offset mesh(solid)

@architect.civil5 wrote: need help to this script c# shell and offset mesh(solid) have error z.jpg1315×548 247 KB z2.jpg1315×548 230 KB shell mesh offset solid inC#.gh (11.0 KB) Posts: 5 Participants:...

View Article

Python grasshopper

@kai.yeh wrote: Hello guys, I’m recently making my customized component in python grasshopper, but I’d like to know if there is any way to do the ‘custom preview’ in python like the same in...

View Article


Rhino for Creative Coding

@Tim_Williams wrote: Wanted to share some experiments I’ve been doing using python in Rhino for creative coding. Typically done in something like processing or openFrameworks, Rhino’s robust geometry...

View Article

Help, I don't understand Rhino.Geometry.Nurbscurve.Simplify

@Holo wrote: Hi guys, it appears I don’t understand how to use this, can you please take a look? import rhinoscriptsyntax as rs import scriptcontext import Rhino curve=rs.GetObject("")...

View Article

Originate Points on a circle in space

@falola.yusuf wrote: I have a circle in 3d space, i want to randomly generate a specified number of points on its circumference. which Python Rhino API could be of use please? @Helvetosaur Posts: 4...

View Article


Image may be NSFW.
Clik here to view.

Result forces on a grid

@flokart wrote: Hi all, thr picture below reprecents a grid which stand on the green lines. The red lines are different fitting forces. I need only the result forces on the green lines but i have no...

View Article


Image may be NSFW.
Clik here to view.

Import CSV and make table in rhino

@kieffer wrote: Hello , I made a script to place table in rhino. It’s simple but maybe can help. Work with Excel , OpenOffice , Google Sheets 02.png401×593 16.8 KB 01.png574×598 4.24 KB Import-csv.py...

View Article

Help: Compiling rs.ViewDisplayMode(view=strView, mode=strMode) error when...

@Holo wrote: Hi guys, I can not get this to work. I am working on Holomark3 and the compiled script “crashes” each time (just stops running and returns so I can continue working in Rhino), and now I...

View Article

Rotate Object using a vector

@falola.yusuf wrote: Hi, I have a polygon and I want to rotate it to a particular plane. Is this possible on Rhino? @Helvetosaur @nathancoatney Posts: 2 Participants: 2 Read full topic

View Article

Check if a point inside a Brep Meshod

@tigberlin89 wrote: Hi all, I am Looking for a method inside the Ironpython documentation to check if a Point is inside a Brep or not. Something similar to the Grasshopper componant. Is there...

View Article


Image may be NSFW.
Clik here to view.

How to auto get point on arc curve

@xiix.xoox wrote: how to auto get point on curve with condition right and bottom of curve. ass.PNG967×668 8.68 KB Posts: 6 Participants: 3 Read full topic

View Article

VBScript - import and move to layer

@onlyforpeace wrote: hi, i’m not sure to understand the post before, in fact i don’t understand all the post… my problem, is that i want to import a file in my rhino file, but i want to put all the...

View Article


How to create Array[T] without specifying length

@ivelin.peychev wrote: I want to create a method that given a list of strings creates nodes in a TreeView. Apparently TreeNode could be an Array -> TreeNode[] But I can’t figure out how to define...

View Article

Predefined filename and location with RhinoPDF

@Nico_de_Meester wrote: Hi It try to script in python a PDF output from the current view to a predefined map and file name but I doesn’t get to the result I like. import rhinoscriptsyntax as rs def...

View Article


Image may be NSFW.
Clik here to view.

rs.IsObjectSelectable vs rh_obj.IsSelectable()

@clement wrote: Hi @Pascal, i think the rs.IsObjectSelectable() method is slightly wrong. Please create a new file, add one curve and select it, then run this example: import Rhino import...

View Article

Call VB script function from Python script

@dmitrey15 wrote: Hello, I have a script from VB programmer stored in .rvb file, that is preloaded in each Rhinoceros session, and would like to call from my Python script some functions defined in...

View Article

Find Perpendicular Intersection on Curve from independent test point

@shanew06 wrote: Hi All, I have a curve and I have a test point (not on the curve). I want to find the point(s) on the curve where a line from the test point to the curve would intersect the curve...

View Article
Browsing all 5778 articles
Browse latest View live