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

Extract mesh wires

I need to do some analysis on sets of curves that could be the extracted wireframe of a mesh(or just some curves, which I’ve done already.) I’d like to extract the wireframe from a mesh, but OMIT the...

View Article


Going from mesh vertex index to point

How do I get from the index of a mesh point to its 3D point in Rhinocommon? Or just how to iterate over every face in a mesh, doing something looking at the vertices of each? I was messing around at...

View Article


How to get value on button click

Close button click handler def OnOKButtonClick(self, sender, e): if self.m_textbox.Text == "": self.Close(False) else: self.Close(True) I need dialog don’t closed when i click button and get value is...

View Article

GHpython: Generartive spawning circles

Hi, I’m trying to generate circle spawning from one base circle where a circle is spawned from this base circle and from this circle, another circle is spawned etc until the circles fill up the curve...

View Article

Rhino 7 multipipe python version

Hi there, Is it possible to script with multi-pipe in ghpython or rhino python? I didn’t figure out a way. is it because it’s an external package? 2 posts - 2 participants Read full topic

View Article


Image may be NSFW.
Clik here to view.

Fix "No module named rhinoscriptsyntax" in pyCharm

Hi There, I am trying to use pyCharm as an IDE for editing rhinoscriptsyntax. I’ve added the path below as a path variable. %AppData%\Roaming\McNeel\Rhinoceros\7.0\Plug-ins\IronPython...

View Article

Mesh detail views missing from exported pdf

Hello, When creating a layout we created multiple detail views for the different angles of a model via pageview = sc.doc.Views.GetPageViews()[0] pageview.AddDetailView(name, top_left_pos,...

View Article

Problem with scripted PDF import (Mac)

Hi there, i am trying to import a pdf file from disc and suppress the command options on mac. Below snipped is run from a script saved on disk and works fine under Windows but not under Mac: # build...

View Article


Image may be NSFW.
Clik here to view.

Tan on single curve

Hi all, it would be possible to find a line of tangency of two different points on the same single curve? ps (using python or rhinocommon) 2 posts - 2 participants Read full topic

View Article


Get information out of an inactive Detail view - possible?

Hello! I’m unsure if this is the right category, but anyway: In the same manner as annotations can be associated to points inside a Detail (and even move with it) - is it possible in Python (or even...

View Article

How to use a grasshopper component inside a python plugin

How to use a grasshopper component inside a python plugin. 2 posts - 2 participants Read full topic

View Article

Image may be NSFW.
Clik here to view.

List input problem?

Hi ! I’m certainly no pro when it comes to python inside of Grasshopper, but I’m encountering something that makes me feel like a total stranger. The setup I got can hardly be more simple : my_list =...

View Article

Image may be NSFW.
Clik here to view.

Create its own Help Command for PythonScript

Edit the help webpage in Rhino plugin seems to be possible: Create its own Help Command for Rhino Plugin Rhino Developer Hi @gaspard.bourgeois, Provide command specific help, just override the...

View Article


Image may be NSFW.
Clik here to view.

Chaos game rhinopython

Hi there! I am trying to generate chaos game code in rhinopython. I am trying to create something similar in photo that i uploaded. I was able to find this python code for chaos game but i don’t know...

View Article

How to extend list of curves to a bounding box

(topic deleted by author) 1 post - 1 participant Read full topic

View Article


Class field and random

(topic deleted by author) 1 post - 1 participant Read full topic

View Article

Save multiple polysurface to individual obj file with batch script?

Hi! I have multiple buildings in one file, and I’d like to export them into individual files, each containing one building. Is that feasible in Rhinoscript? Many thanks! 4 posts - 2 participants Read...

View Article


Image may be NSFW.
Clik here to view.

System.AccessViolationException when iterating RenderMaterials

Hi! I’ve been having difficulties when iterating RenderMaterialTable and got this error. My aim is to know if a specific render material exists in the currently opened file to modify it. 9 posts - 2...

View Article

Need additional button for specific color code

I Need a additional button in toolbar which will apply gray color with RGB 135,135,135 to a selected object. Can someone please help me into this? Thank you in advance. 4 posts - 2 participants Read...

View Article

New GH component to run other scripts?

Hello, I remember a release of a GH component that enables running a script outside Rhino/GH and reporting the solution back into GH. But I don’t remember how is it called and where I can find it?...

View Article
Browsing all 5823 articles
Browse latest View live