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

How to convert vector into line that is not printed

@onrender wrote: Hello there, Little bit I am confused now. I want to use Angle 2 function but actually I do not want to the two lines appear on screen? Previously I created 2 vectors but I have...

View Article


Aera Macros

@Frederic_Brun wrote: Hi everybody, I'm new on the forum so excuse me if I do anything wrong. I'm an architecte drawing plans on Rhno and I'm looking for a way to create a macro that could be able to...

View Article


Rail Revolve with Python

@Michael_Smith1 wrote: Hello, I am somewhat new to python scripting and RHINO, so hopefully this is an easy question. (or at least that I am able to explain it well. I can do a rail revolve manually...

View Article

Angle2 function - Solved

@onrender wrote: Hello, I am facing a little bit of problem with Angle2 function. The final list won't be as expected. I mean for now. This function sort the values from smaller to greater number but...

View Article

How do I get the geometry information in a script?

@Bogdan_Chipara wrote: How do i get the data shown in "Object Properties, Details..." using a script?I need the things listed under "Geometry:" Posts: 3 Participants: 2 Read full topic

View Article


GetString INCLUDING spaces (instead of the space bar ending the command)

@MaxMarschall wrote: Hello everyone, I have a task where I want to ask the user to input an entire sentence - this will of course include spaces.If I use rhinoscriptsyntax.GetString(), the input ends...

View Article

RhinoCommon transformation failure

@Helvetosaur wrote: Hi there, The test script below is part of a bigger project. I am trying to rotate a group of objects relative to the world Top view, then shear them over -45° relative to the...

View Article

Orienting Objects Algorithm

@George3 wrote: I am registering two meshes with respect to two lists of points using the python function, OrientObject(object_id, reference, target, flags=0); however I've noticed that reordering...

View Article


Python / pywin32

@eddi wrote: Unable to access IRhinoScript (from ComObject) with Python (I do not mean IronPython)Is there a way or a magic command ......? Posts: 2 Participants: 2 Read full topic

View Article


Import Matlab Engine

@Peter_Novysedlak wrote: Hi all, I would like to import Matlab engine to Rhino Python Editor. I have connected Matlab and Python on my computer using the Mathworks recomendations and it works in...

View Article

Image may be NSFW.
Clik here to view.

Hatch Selection Error

@moosejuicezeus wrote: I seem to have uncovered a bug where the extents of a hatch are not properly detected. I came across the bug when calling the ObjectTable.FindByWindowRegion method in a Python...

View Article

Image may be NSFW.
Clik here to view.

Python "PlaneCurveIntersection" - index out of range" Error

@adams-m wrote: Hello all, I'm writing a script where I need to find the intersection of a series of created section curves with the centreline (World XZ plane)... I've got the folllowing code, but...

View Article

An object's parent or children

@gootzans wrote: Hi, Show me how to find an object's parent or children, using Python Script in RhinoCommon. Posts: 13 Participants: 3 Read full topic

View Article


Extracting object data based on layer python

@Christopher_Gornall wrote: Hey, I'm getting a little hung up. I am trying to extract the point data from various objects in a layer (all simple rectangles). so I am trying to choose the layer by...

View Article

Autocomplete in Intellij

@Ivan_Malek wrote: Hi, I'm fairly new to coding and completely new to Rhino. Since I'm already a bit familiar with Intellij Idea, I'd like to write my scripts there, but can't find the...

View Article


Line on surface normal [SOLVED]

@onrender wrote: Hello, I would like to create a 10mm line that perpendicular to a planar curve and its start point is on the curve start point. rs.Line requires two 3d points and no idea how to...

View Article

Bug MiterType do not work with multiple sections

@onrender wrote: Hello, Could you please have a look at my code as it seems Sweep One Rail / Miter type does not work if I select multiple sections. import rhinoscriptsyntax as rs import Rhino import...

View Article


Image may be NSFW.
Clik here to view.

Export By Layer And ExportWithOrigin

@Timothee_Holla wrote: Hello Everyone, I am quite new to Rhino and I am certainly not a very good scripter. I need to export a projet by layer to the SAT format. I used this script that I found here :...

View Article

Learn scripting for rhino, where to start?

@hitenter wrote: Hi, I want to try scripting.simple macros were always fine for me but lately they make my wip crash or behave unexpected. usecase: renderbatch I used to do it like...

View Article

Atom reset engine

@tmsmendez wrote: Continuing the discussion from Problem working with externally defined class: Hi @Alain, Is there a way to reset the engine using Atom? Reloading modules is not so convenient if you...

View Article
Browsing all 5756 articles
Browse latest View live