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

Image may be NSFW.
Clik here to view.

RHI installer

@mikhail wrote: I am getting close at “wrapping” up my small project. And wanted to know how to make an installer file. I see the information here about the cmd.py files. developer.rhino3d.com Rhino...

View Article


Image may be NSFW.
Clik here to view.

I need advice for recursion script for route searching

@akitohotta3 wrote: Hi, I am new to recursion scripting, and am trying to script route searching. In normal situation it returns intersections. /* bool viewLineToGoalIntersected = false; for(int i =...

View Article


API references to Plane & CPlane interchangeable?

@Ncik wrote: Just getting into some cplane scripts (creation and sectioning) in python/rhinocommon and am getting confused. It seems that Plane and CPlane terminology is interchangeable. Is this...

View Article

Moving a Point to a new location via Vector

@ken.marold wrote: Could some please help me with this line of code? I’m trying to port it from Python to C# but I just can’t seem to get it right. self.pos =...

View Article

Traveling salesman / conditional / python functions / gcode generation

@asya.ilgun wrote: I am trying to add a function to an existing traveling salesman drawing function that will draw a continous line for 3d printing a randomly generated point cloud. According a given...

View Article


Set Default Template File using python?

@mikhail wrote: Is there any way to set a default template file for startup using python? I am getting tired of setting up peoples basic options when they start at our office. Or we get new hardware…...

View Article

Shorter syntax

@bermu wrote: Hi all, Could someone tell me how to make this python code shorter and more professionnal? Thank you in advance… import rhinoscriptsyntax as rs import ghpythonlib.components as ghcomp if...

View Article

Python ? why?

@Petrol wrote: Hi all, I’m totally ignorant with python, but sometimes i see some of you adding C+ or python in definitions.Is it faster or lighter to compute instead of conventional grasshopper def?...

View Article


Image may be NSFW.
Clik here to view.

Multiple curves Region union or Curve.CreateBooleanUnion issue

@Federico_Giacomarra wrote: Hi, I have an issue with the Region Union in Grasshopper with multiple curves input. I am not sure what is the problem but some of the regions are not actually appearing,...

View Article


How can I do edit box command?

@mak4203 wrote: hi (Height. Press Enter to use width:) how can I change this to the last entered value for box command ? Posts: 1 Participants: 1 Read full topic

View Article

Button Mouse Event Again

@ricardo.eira wrote: Hello, I know already have some topics with this question, but I did not see any solution so I’ll come back to the question: I need on while loop True, when the mouse button is...

View Article

Image may be NSFW.
Clik here to view.

Wanting to use ghpythonlib.parallel.run to speed up boolean operations

@djzelenko wrote: I’m trying to harness the power of ghpythonlib.parallel.run to speed up a bunch of boolean differencing I’m having to do on a project, however I’m not great at scripting. I’m getting...

View Article

Change UVW repeat

@akushnir wrote: Hello! How can I change UVW repeat from python code? thx very mutch Posts: 1 Participants: 1 Read full topic

View Article


DeleteLinesNested In blocks

@cbecta1 wrote: Hi people. I was just trying to batch delete lines that were left inside blocks and nested. Couldn’t do it with a macro, looks like block editor creates kind of a gap in the sequence....

View Article

Request: Could we get more options to attach metadata to the unroll class?

@PaulPoinet wrote: Hello, I am currently dealing with the Unroller class. I wish there would be more options to attach metadata to the geometry when unrolling. For example, I have two lists of text...

View Article


RhinoScriptSyntax Vs rhinocommon

@cottonbale wrote: Can someone validate that I am correct in saying that RhinoScriptSyntax is a subset of rhinocommon ? Thanks Paul Posts: 8 Participants: 3 Read full topic

View Article

Separate random walkers problem

@aysuaysoy wrote: Hi everyone, Is there a way to generate multiple random walkers with trace (separate polylines) who starts from the same point but going separate random directions, with grasshopper...

View Article


ZoomBoundingBox() on detail while redraw disabled not working

@bojdol wrote: Hi. I am creating layouts with a few of detail views on each. Each detail is set by using ZoomBoundingBox(). Everything is fine why redrawing is on. Problem starts with disabled redraw...

View Article

Image may be NSFW.
Clik here to view.

How to use 'is' keyword in GhPy?

@Will_Wang wrote: image.png911x21 2.3 KB That’s assigned to a variable obj when I type obj is Rhino.DocObjects.ExtrusionObject, I’m expecting that it would evaluate to True. But it’s not. I think I’m...

View Article

Compare Dictionarie

@ricardo.eira wrote: Hello, I have a dictionarie with some curve propeties (set by usertext) [<System.Guid object at 0x00000000000000C4 [148232bc-2865-4485-a6eb-4e2a83780164]>, ‘1’, ‘0’, 0.0]...

View Article
Browsing all 5749 articles
Browse latest View live