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

Good News and Thank You!

@cadmaster wrote: There are some great news about IronPython and VSCode: IronPython and the DLR will be joining the .NET Foundation! Don Jayamanne, creator of the Python extension for Visual Studio...

View Article


Cannot SelectObject referring to GUID

@Katsuya_Obara wrote: What I am trying to do is to get the object by GUID into python script and SelectObject as below. However, I get the error Runtime error (MissingMemberException):...

View Article


Function to check whether 2 lines are tounching in rhinoscriptsyntax?

@Katsuya_Obara wrote: I want to find function which can check whether 2 lines in the argument are touching or not. Does anyone know whether this function exist in rhinoscriptsyntax? Posts: 2...

View Article

Function to scale according to the area ratio in rhinoscriptsyntax

@Katsuya_Obara wrote: I want to scale surface based on the area ratio. I expect following function. function(srf_id, area_ratio) If I specify area_ratio = 0.5, returned geometry by this function have...

View Article

Image may be NSFW.
Clik here to view.

Creating BREP or Surface (or NURBS Surface) from a set of coordinates

@Bianchi wrote: I am attempting to create a BREP/Surface/Mesh using a set of point coordinates inside a list (which I can turn into Rhino.Geometry.Point3d objects and also to Curve objects), that...

View Article


RhinoCommon - shrinking Brep faces

@Helvetosaur wrote: Having some issues here with shrinking a single-face Brep here (V5, for compatibility reasons)… Using brep.Faces.ShrinkFaces() does indeed work, however it does not “shrink to...

View Article

AddTweenCurves function is missing (Python)

@kornesweers93 wrote: Hi, It seems that the AddTweenCurves function is missing. If i check the Curves.py document, AddTweenCurves and ChangeCurveDegree are not there. Is it possible to update the...

View Article

SelChain with preselected curve

@AleksandarSM wrote: Hello, is there a way to use preselcted curve for SelChain command? I made script for SELCHAIN command like this -SelChain _ChainContinuity=_Tangency _GapTolerance=0.15...

View Article


Image may be NSFW.
Clik here to view.

Navigating RhinoScriptSyntax Tree in Python Editor

@perseus wrote: The tree on the left side of the scripting window, seems to properly load most items in the different categories. But whenever I try to access something inside one of the...

View Article


External Program

@bknbalu wrote: Dear Experts I want to Open the file externally and create some objects in file and save it with specific name Nothing but running my tool in batch mode No interactive Rhino Session...

View Article

RhinoCommon Split Brep with multiple Breps

@Helvetosaur wrote: Having a bit of a brain fart here… In RhinoCommon, I want to be able to split a Brep with multiple Brep cutters and get all the split parts. The thing is when I split the Brep with...

View Article

Image may be NSFW.
Clik here to view.

Rectangle from line, modification

@Czort wrote: Hello, I am trying to write a script but my skills are not good enough. I can only do simple marcros. Could you guys help me with this please. rectangle macro.png1551x733 14.2 KB As you...

View Article

GetObjects options not shown when objects are preselected

@mpreisig wrote: I want to set properties of selected objects (using SetUserText). Because each object can have 5 different properties, I want to be able to select which property will be set when the...

View Article


Batch export command documentation

@Will_Wang wrote: Continuing the discussion from Batch export from a file: Is there a place where I can find documentation on the rhino commands? I understand the calling of rs.Command(’_Export’) but...

View Article

Function to create surface based on 1 curve and surface area

@Katsuya_Obara wrote: I want to make the function which takes curve and surface area then return area based on these input using rhinoscriptsyntax. Since I am new to rhinoscriptsyntax, does anyone...

View Article


Substitute/workaround for CrvDeviation

@Helvetosaur wrote: Since CrvDeviation - and its RhinoCommon companion Rhino.Geometry.Curve.GetDistancesBetweenCurves() - are fairly unreliable at this point and it doesn’t look like anything will get...

View Article

Exporting V-ray materials for 3ds Max?

@graphictim wrote: I am wondering if there could possibly be a way to write something for Rhino to export ether an entire scene from Rhino with it’s v-ray material properties, or perhaps export a txt...

View Article


Anastasia's problems installing GhPython

@piac wrote: Grasshopper forum user Anastasia reports: Hey, I put ghpython plagin in Components folder, restarted Rhino and Grass, repeated it 100 times, but it still doesn’t show up on grasshopper...

View Article

Image may be NSFW.
Clik here to view.

Extract origin point of annotation leaders

@yishida wrote: Hello, Want to extract the coordinate of “plane origin” of bunch of leaders and drop a point there using python script. element [3] of GetObjectsEx seems to give me a point on...

View Article

rs.VectorAngle to calculate 0 to 360 deg

@Katsuya_Obara wrote: I am trying to calculate angle between two vector. As return value, I want to get the angle from 0 to 360 following clockwise. However, looking at the result, return value is...

View Article
Browsing all 5752 articles
Browse latest View live