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

Multiple detail view selection

I’m wondering is it possible to select all detail views in the whole document and change its print width which is set to “no print” by default. 5 posts - 3 participants Read full topic

View Article


LinearDimension DistanceScale issue?

Hi, I try to update linear dimension distance scale. I want to update linear dimensions over a detail (layout) which its scale have been changed. When I use RhinoObject.CommitChanges(), visually it...

View Article


Image may be NSFW.
Clik here to view.

System.Guid different value

Hi how could I get the same green reference in another block where the variable arrive as an input but give the red box? System_guid.gh (18.1 KB) 2 posts - 2 participants Read full topic

View Article

Image may be NSFW.
Clik here to view.

Developable loft weird result

Hi Why developable loft don’t follow the arcs? dev_loft.gh (7.4 KB) 1 post - 1 participant Read full topic

View Article

Image may be NSFW.
Clik here to view.

Combine Trimmed Surfaces that share the same untrimmed reference surface

Hi All, I’m wondering if there is a way to obtain a single surface from multiple trimmed surfaces that all have the same untrimmed reference surface. To provide an example, I have 2 surfaces that are...

View Article


Image may be NSFW.
Clik here to view.

Modify Rhino PBR Material With GH Python Component

Hello, I’m using the new Rhino 8 Material nodes to create custom materials from within GH but the features missing are being able to control the Roughness, Opacity/Transparency of said materials. I am...

View Article

Image may be NSFW.
Clik here to view.

Using CreateInterpolatedCurve properly

Anyone know why this little loop is happening when I use CreateInterpolatedCurve am I using it properly ? I derive a series of points and sort them by x axis value; this is the list...

View Article

Alias or Shortcut for rotate around center 90 degrees in X or Y or Z axys

Hello, I would like to hit a shortcut or alias and to rotate an object around it’s center for 90 degrees. Example: hit F1 (or aliaz ‘z’) - rotate 90 around Z axys hit F2 (or aliaz ‘zz’) - rotate 90...

View Article


Best resources to learn python for rhino 7

I’m a complete beginner to coding and I want to learn python to help me have some simple scripts to help speed me up at work. Does anyone know the best place to start learning for me. 2 posts - 2...

View Article


Image may be NSFW.
Clik here to view.

Try to Fill GroupBox

Hi All, def OnRadiobuttonChange(self, sender, e): self.m_group.Content = self.m_slider self.Resizable = True in the example image above, I have three objects, RadioButton, GoupBox, Button at each...

View Article

Creating LSCM texture maps in Rhino API

Hi all, I am trying to create a grasshopper python component script to do the following: take an input mesh create a least squares conformal texture mapping for it store the coordinates in texture...

View Article

Image may be NSFW.
Clik here to view.

'Guid' object has no attribute 'Z'

Hi all. I’m very new to scripting in Grasshopper, and am hoping someone could give me a quick solution to why this isn’t working. I have a list of points, and am trying to write a python script to...

View Article

Ghhops-server-py python version

Hi @eirannejad! Can you please confirm what is the latest python version supported by ghhops-server-py? compute.rhino3d/src/ghhops-server-py at 7.x · mcneel/compute.rhino3d · GitHub 1 post - 1...

View Article


Image may be NSFW.
Clik here to view.

Read export directory from options.defaultfiledialogdirectories

Hi everybody! A simple question from a begginer Is it possible to compare the current documentPath with Rhino.Options.DefaultFileDialogDirectories.ExportDirectory in Rhino Python script? I mean, if...

View Article

Image may be NSFW.
Clik here to view.

Generating Four Sublists of Points with Adjacency Conditions in GHpython

O = b ▭ = a when I want to run this code some seeds in one of the sublists can not select a point from list b because the condition (the distance between the selected point and two other points in the...

View Article


Image may be NSFW.
Clik here to view.

Python recursive script problem

Hi friends, after a long time I am trying to get back into Rhino / Python. Are there any good recommended tutorials, I am struggling mostly with all the different Classes and Geometry Types in Rhino /...

View Article

Image may be NSFW.
Clik here to view.

rs.SurfaceVolume Help topic confusing

Currently the Help topic looks like this: The description of the return doesn’t make sense to me. What it returns is a tuple of two numbers. This description is referenced from the rhinoscriptsyntax...

View Article


SubDObject Volume Calculation

Hello fellow rhino users, I have the following python code to calculate volume of certain objects. I can get the volume of meshes, polysurfaces and surfaces but cannot get the volume of the subds....

View Article

Image may be NSFW.
Clik here to view.

System.Threading.Tasks.Parallel error in c#

hi everyone can help to this error when used System.Threading.Tasks.Parallel.For Loop in this code? using System.IO; using System.Linq; using System.Threading.Tasks; private void...

View Article

How to run and visualize the parallel codes in Rhino environment?

Hi, After grafting the curves to animate the movement, I computed them into a list. I have achieved it, but the parallel list operations are not visible in the rhino environment. How can I animate all...

View Article
Browsing all 4118 articles
Browse latest View live