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

Valid Vector3d endpoint in all directions? [Solved]

@RIL wrote: [[Solved]]: Yes, after testing it appears that it is so. Will this always give med a valid (vector) endpoint, anywhere in any direction in the world coordinate system? Given a unit vector...

View Article


Image may be NSFW.
Clik here to view.

Help with how to insert z value of a point alongside the point for flor plans?

@BrettD wrote: Hello everyone. I've changed from autocad to rhino to draw floor plans and elevations of buildings using 3d pointclouds, I have the Arena4d plug in for rhino 5 and its working great. I...

View Article


Can I use Packages like Numpy and Pandas in Rhino?

@Yang_Cao wrote: import numpy as npimport pandas as pd I tried to install through cmd, but it didn't work for Rhino. Should I find the environment of it? Thanks! Posts: 2 Participants: 2 Read full topic

View Article

Rhino for Mac / Python script for batch-converting .stp to .obj

@Jonas_Ehstein wrote: I tried to write the following script for opening all files from one folder and saving them in an other one.However, it's not working and I can't figure out what I'm doing wrong....

View Article

Image may be NSFW.
Clik here to view.

Rhino.ClosedCurveOrientation

@Cyver wrote: Hi all, I need to determine orientation of curves, i use Rhino.ClosedCurveOrientation , but if my planar curves are aligned n X or Y axis Rhino.ClosedCurveOrientation return 0 ( Unable...

View Article


Returning a singular column from a 2D array?

@Kevin2 wrote: Hi all, I am trying to make a script that returns a singular column from a 2 dimensional array, which would be used as data to draw various things in Rhino. However, I always encounter...

View Article

How to get user input while a method is running?

@Bogdan_Chipara wrote: For example, if I have GetObject() which is prompting the user to select an object.But, instead of selecting an object the user inputs a number.In this situation I want...

View Article

RhinoScript from EXCEL with Option Base 1

@bkassel wrote: Working on a project in which RhinoScript is being called from with an EXCEL spreadsheet. For example to create a line from 0,0,0 to 1,0,0 the code would be: 'WARNING!!'Base 1...

View Article


Image may be NSFW.
Clik here to view.

Intersection of Curve with Surface

@Kanisha_Patel wrote: Python for Rhino - Intersection of a Curve with a Surface Hi all -- I am looking for some help on a script that essentially will use ray shoot to calculate the walkable surface...

View Article


Selection within a command

@Sean_Lamb wrote: I am looking to make a selection during a command by using a script (python ideally). For example, suppose i run a command that takes a point as input. how do i script the selection...

View Article

Image may be NSFW.
Clik here to view.

Import CSV

@onrender wrote: Hello, I would like to use data (text, numbers) from CSV and organize everything into a dictionary. "import csv" standard python function does not work. Is only the rs.OpenFileName()...

View Article

Import 3dm to point

@RogueCmdr wrote: Is it possible to set the x,y,z of an importing 3dm using this? string script = string.Format("_-Import \"{0}\" _Enter", path);Rhino.RhinoApp.RunScript(script, true); Posts: 3...

View Article

loadFromRemoteSources

@onrender wrote: Hello, I would like to use the following code however I got the error message that; Message: An attempt was made to load an assembly from a network location which would have caused...

View Article


Help with Rhino Scripting

@Abhi_Kondagunta wrote: Really new to Rhino, was trying to figure out if there was a way for me to select all objects and then rename them all to "Test" with a script. Thanks! Posts: 9 Participants: 2...

View Article

Trouble importing csv data

@Christopher_Gornall wrote: Here is my python code (which runs in python fine); import math as ma import csv brand ='phillips' filename = 'C:\Users\gornall72\Desktop\import.csv' with...

View Article


How to find the flattest area of a poly surface in rhino?

@Freddy_Martinez wrote: Given a set of xyz points, I want to find clusters of points that have the smallest variation in the z value. Basically how to find the flattest area of a collection of points....

View Article

Creating an object from one layer onto another layer

@Christopher_Gornall wrote: I am trying to add a sphere off of the two points I made but on a different layer. the new layer would be named Audio Evaluation. The dataset part of the script can be...

View Article


Waiting for idle state after open

@SzaboLaszlo wrote: Hi, I have a small script what open 3dm file and save printscreen: “Dim objRhino Set objRhino = CreateObject(“Rhino5x64.Application”) If Not (objRhino Is Nothing) Then...

View Article

I'm new to scripting and need help with a task

@Ben5 wrote: 1.pdf (9.5 KB) 2.pdf (12.3 KB) 3.pdf (12.9 KB) 4.pdf (12.8 KB) 5.pdf (12.9 KB) 6.pdf (13.3 KB) Hello, I’ve made some macros before, but I wish to do some things to save some time at work…...

View Article

Rhino Remote Panel with Python

@apoorvgoyal wrote: I am getting started with RHINO plug in development using Python, and am wondering if there is a way to create a new remote panel for the plug-in. I want to be able to control a...

View Article
Browsing all 6013 articles
Browse latest View live