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

Bug - rs.SimplifyCurve() with flag errors out

@Helvetosaur wrote: If I run this code: import rhinoscriptsyntax as rs crvID=rs.GetObject("Select curve to simplify",4,preselect=True) rs.SimplifyCurve(crvID,4) #problem is with any flag, not just 4...

View Article


Redefining all blocks at once

@juancarreras wrote: Continuing the discussion from Method of defining material to blocks: You can ask some of the guys that are good at scripting in Python or Rhinoscript. There should be an easy way...

View Article


Updated one curve noise Script

@sun wrote: NoisifyCurves.rvb (6.0 KB)Dear all I need help to updated this scriptd, I like have one comand in teh end of run the script ask.DO YOU WANTED ELIMINATED THE FRIST CURVE YES/NO and the...

View Article

How to confirm one surface is included in other surface

@obakatsu wrote: Hi! I have been trying to find a way to confirm one surface is included in other surface. Can anyone help me to solve the problem.Thank you in advance!!! Following is the code:import...

View Article

Convert points to a cross or circle

@solosails wrote: Does anybody have a script that can take all points in a file and convert them into (preferably) a cross or if easier a square or circle? I am a sailmaker and often need to place...

View Article


One-Dimensional Array Query

@brobes05 wrote: Hello, I have a simple attractor script. When I append the 'i' and 'j' loop values to tuples in the main list, I am unable to use the tuples as point3D objects. I thought that many...

View Article

Finding an object center

@gideon wrote: using VBscript, how can I find an object's center similar to Gumball. I can't seem to find a command or group of commands that will do this. Posts: 8 Participants: 3 Read full topic

View Article

RS Wish: BrowseForMaterial method

@Jarek wrote: Is there a way I could have user browse from material from RhinoScript?Looked into RDK scripting but can only see a way to display material editor or get currently selected slot in the...

View Article


Rhino software architecture

@Dani_Abalde wrote: Hi,I wonder if there any resources where somehow detail the internal architecture of Rhinoceros. I mean the layers system: openNURBS, RhinoCommon, RhinoScript, plugins,...

View Article


Polar array of circles changing size incrementally on 360°

@Susanne_Stauch wrote: Hey everybody, I am no coder unfortunately and hope to find some help here. I am trying to make a polar array to cut holes in a lid for a salt shaker. I want the holes on one...

View Article

My document folders

@cadguy wrote: I'm trying to open a folder in my documents in front of the rhino program. I can get this to work in different locations other than the my documents folder. I get the right address on...

View Article

Key + Mouse Events

@tomnorris wrote: Hey, I was wandering if there is any way to add shortcuts to keys + clicks? I know there are shortcuts in Options>Keyboard but none that combine the mouse. For example I would...

View Article

Python script with a "preview" mode

@JimCarruthers wrote: What would be the correct general procedure for setting up a 'preview' mode for a script? In the preview state you'd be able to click on points and things to make changes. So do...

View Article


Rectangle origin on center

@brobes05 wrote: Hello. This is easy. I didn't post code because it is simple, 'how to draw a rectangle about the center of a point rather than from the corner'. Thank you in advance. Posts: 2...

View Article

Image may be NSFW.
Clik here to view.

Trim Extrusion/Polysurfaces so they no longer intersect

@ShynnSup wrote: Hello everybody. I have a set of solids like in the picture below and need to trim them so that they no longer intersect, but not only that, The trim has to be uniform by a...

View Article


Running Rhino headless and where to get started with automation

@Vice wrote: Hey all,I have an application where I want to use Rhino to generate complex solid models. I don't want to expose rhino to the user, I just want to use it as a 3d engine. Is this even...

View Article

Is there a way to generate a TextObject (the 3D version) with the scripting...

@Vice wrote: I see AddText but there is no AddTextObject. Is this possible in Rhino 6 WIP? Where can I download V6? Thanks Posts: 2 Participants: 2 Read full topic

View Article


How do I get an object from GUID?

@Vice wrote: I'm creating 3D text using the TextObject command, then I want to move it. I use LastCreatedObjects and I have the GUID. Now what? How do I get an object based on that GUID, or...

View Article

Updated script

@sun wrote: Dear allI need help to updated the script Arrange Tiles. I have one script to do arrange tiles but I need updated it you can help me in this point. I used the file ze.3dm to explain you...

View Article

Get list of Rhino layers

@paxeco wrote: Dear experts, I would like to know the python command to get the list of rhino layers names in a document. Thanks in advance, Ale Posts: 7 Participants: 3 Read full topic

View Article
Browsing all 5791 articles
Browse latest View live