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

Switching from ghdoc to RhinoDoc?

@Bogdan_Chipara wrote: Hi, If i have some geometry and i manipulate it in ghdoc, is it possible to push it in RhinoDoc, without baking? (because i get “does not exist in ObjectTable”, of course)...

View Article


Return the Number of Layout Views in Rhino File

@eric.bunn wrote: Is there a way to determine how many layout views exist in an open Rhino File? I want to auto assign a name and give it an increment number += 1 greater than the number of layouts...

View Article


Rhinocommon method for getting current working directory

@vincentfs wrote: Hi everyone, Is there a rhinocommon method (python) to get the current working directory for the *.3dm file (not the *.py file)? Thanks, Vincent Posts: 3 Participants: 2 Read full...

View Article

How to do _SelDup followed by _Delete using RhinoCommon methods?

@ivelin.peychev wrote: I currently use this: rs.Command("_SelDup") rs.Command("_Delete") This selects only the duplicate segments and deletes them, leaving curves that can be joined into a closed...

View Article

Parametric Equations

@mombandre wrote: Hi. Rhino is new for me, but I’m used to Python. I read on the internet that it is possible to create scripts inside the software, so here it go my question: I would like to know if...

View Article


Add a default DimensionStyle when missing

@clement wrote: Hi @alain, i have documents from other countries where all build in dimension styles are missing and only some chinese character named ones are present. So i try to add eg. “Millimeter...

View Article

Input full name in grasshopper python components docstring

@jason.chen wrote: Tutorial: creating a Grasshopper component with the Python GHPY compiler First of all, thanks for this tutorial. Does anyone know for docstring in grasshopper python component, can...

View Article

None can not be converted to a Plane - Break a While Loop

@Ncik wrote: G’day everyone, The code below will not break out of the while loop cleanly upon pressing ESC. It gives the message “None can not be converted to a Plane” and seems to indicate something...

View Article


Image may be NSFW.
Clik here to view.

Mesh.IsManifold returns true for non-manifold meshes

@thomas.k wrote: i’m trying to understand what exactly the output of Mesh.IsManifold means. Therefore I have created a series of simple examples. closed mesh lid of the box is incorrectly oriented...

View Article


Image may be NSFW.
Clik here to view.

My repo of collected RhinoScripts

@kleerkoat wrote: dunno if i posted this before but here is my repo on github with a bunch of collected RhinoScripts. Almost all of them were written by forum members i hope they don’t mind me posting...

View Article

Difference between inner and outer loop of a brep?

@ivelin.peychev wrote: What’s the difference? Posts: 5 Participants: 2 Read full topic

View Article

Image may be NSFW.
Clik here to view.

BrepFace.CreateExtrusion = create confusion!

@ivelin.peychev wrote: surFace_list = [] extrusion_distance = 1500 pt0 = Rhino.Geometry.Point3d(0,0,0) pt1 = Rhino.Geometry.Point3d(0,0,extrusion_distance*-1) extrusion_pth =...

View Article

MeshFaceList logic

@ccancino wrote: Hello, I’m trying to use Rhino.Geometry.Collections.MeshFaceList.ExtractFaces method which asks for self: MeshFaceList, faceIndex: int as input. The script editor outputs that...

View Article


Extract Mesh Faces with Naked Edges

@ccancino wrote: @stevebaer could you help me with this: #python to extract mesh faces with naked edges import rhinoscriptsyntax as rs import os.path from os import path import Rhino mesh =...

View Article

Move Point with RhinoCommon

@ivelin.peychev wrote: Any hint why this doesn’t work? ################################# ### TEST Move point by vector ### ################################# import System import rhinoscriptsyntax as...

View Article


Image may be NSFW.
Clik here to view.

Surface.Domain

@ivelin.peychev wrote: Is this X,Y,Z or UV direction? image797×612 20.7 KB Please put it there, it’s unclear. Thanks. Posts: 6 Participants: 2 Read full topic

View Article

Rhino.Geometry.BoundingBox.Min change?

@ivelin.peychev wrote: (topic withdrawn by author, will be automatically deleted in 24 hours unless flagged) Posts: 1 Participants: 1 Read full topic

View Article


Python scripts run noticeably slower in Rhino 6 as compared to 5

@eric.bunn wrote: Can anyone tell me why the same scripts run noticeably slower in Rhino 6? Graphics issue? Posts: 1 Participants: 1 Read full topic

View Article

Script logic for setting up for UE4

@wynott wrote: I’m looking to set up a script to help more quickly iterate on getting the model into Unreal. Main issue right now is material reassignment at the other end. I’m thinking of a script...

View Article

Image may be NSFW.
Clik here to view.

Reading text from turned off layer

@djordje wrote: I have a couple of texts in 3D space on “Numbers” layer. image1059×577 4.46 KB I would like to read each one of them with aDoc.Objects.FindByLayer("Numbers"). An interesting bug...

View Article
Browsing all 5781 articles
Browse latest View live