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

Image may be NSFW.
Clik here to view.

Understanding Functions

@Shridhar_Mamidalaa wrote: hi all,i am trying to understand how functions and classes work.i have set a small goal to educate myself. so i m trying to do this... dividing circles and adding circles on...

View Article


Do all doc objects have a 'local' transform?

@nathancoatney wrote: I recently worked on a texture mapping project in which I retrieved the texture mapping transform from a doc object using Rhino.DocObjects.RhinoObject.GetTextureMapping(). Do all...

View Article


How do store object text as a variable with rhino python?

@180mph wrote: Hello, I am new here and new to python as well. Sorry in advance if this has been discussed or if my question doesn't belong here. The fun part:I have been tasked with creating a script...

View Article

Rhinoscript-ing orienting a plane on a surface

@JimCarruthers wrote: I'm doing a script where I want to orient a block relative to a surface according to the following parameters: -There is a plane slicing through the target surface in which the...

View Article

Open second instance of rhino and control both

@Norsemen23 wrote: Hi All, I am working on writing a script to extract some curve geometry from one rhino file and I would like to import it into a second, pre-existing rhino file and perform some...

View Article


Set ViewProjection (Bug ?)

@hans1 wrote: Hello,I'm working on my first RhinoScript, but, there is a problem.Rhinoscript Helpfile tells me :ViewProjectionReturns or sets a view's projection mode. A view's projection mode can be...

View Article

Splitting surface by u,v cordinats

@kasper_steenstrup wrote: Meaby i have mised it, but are there any way of splitting or taking a subsuface by u v cordinats, it could look somthing like import rhinoscriptsyntax as rs surface =...

View Article

Image may be NSFW.
Clik here to view.

RhinoCommon equivalent of "Explode"

@Helvetosaur wrote: I seem to be missing something here. In the file attached, there is one polycurve consisting of two segments, the split points are indicated with points. Each of the two subcurves...

View Article


Image may be NSFW.
Clik here to view.

How to use downloaded libraries?

@Petras wrote: Hi, Where should I copy downloaded libraries for python in order to use in Rhino, python? For example I want to use "pybulletphysics-master" and where should I copy these files: Thank...

View Article


Trying to make a chain

@rhinorudi wrote: Looking for some tips on doing this correct. I have a chain link as a closed polysurface and a curve. I want to array along curve the link and rotate every 2nd link 90ª . So I can...

View Article

New Python user - GUI on a Mac?

@agmckenna wrote: I'm starting to get my head around Python, but trying to find a way to access som eGUI elements that could be combined together in a simply form/dialog? I've installed Atom and have...

View Article

External editor possibility

@xliotx wrote: I code mainly in ghpython and would like to use emacs as an external editor. Is there a way to import the rhinoscriptsyntax as well as rhino common command in a way that can be used in...

View Article

Image may be NSFW.
Clik here to view.

Command/Python for create new empty layer?

@radio412 wrote: Hello, I am using Atom with Python to script. I have a python script I wrote to export OBJ files. This is still working fantastic as per my previous forum questions and the helpful...

View Article


Setting Active Viewport down to precise rectangle area

@krsnadas wrote: Is there any scriptcontext method that could be used to set the active viewport's visible area precisely say using 4 3d points of a rectangle. I'm looking for something similar to...

View Article

"pipe" command or any profile curve extrusion along curve, in RhinoCommon

@tsiddikee wrote: I want to extrude curve along curve. I have to create curved beams and specific profiles with specific profile curves. I need to do it in RhinoCommon.What is the rhinoCommon way of...

View Article


Quirky Indenting in Rhino Python Editor

@krsnadas wrote: Well, this is a little embarrassing but this piece of code for a tile render script seems to be acting bizarre. The problem seems to be within MoveTarget. The function returns the...

View Article

How do I install modules where Rhino mac python can see them?

@nicoles wrote: Hey there! I'm okay with python, and pretty into Rhino, but for the life of me, I can't figure out how I go about installing modules so that the python that works with Rhino can see...

View Article


Image may be NSFW.
Clik here to view.

Donut donut donut :) (but more about Cplane)

@julz wrote: Hi everyone,how can we simply create a point from a "dynamic" cplane in a loop (in python) ?in the attached exemple, i just try to describe a simple circle while revolving from Zfor...

View Article

Image may be NSFW.
Clik here to view.

GhPython problem

@603419608 wrote: Hello everyoneWhen I use the Data Tree encountered a small problem,I am surprised x.Branch (paths [1]) return data type 'List [object]'instead of List,Needs by list [Branch (i)]...

View Article

Cannot access MouseCallBackEventArgs in GHPython

@jpullutasigiza wrote: Hello - I cannot access the MouseCallbackEventArgs in GHPython but in RhinoPython it works perfectly fine. Any suggestions? from Rhino.UI import * import scriptcontext as sc...

View Article
Browsing all 6023 articles
Browse latest View live