Add my components to current components tabs(category) of grasshopper?
hi everyones how did add my components to current components tabs (category) of grasshopper ?(visual studio) for example add to category ( interest or params or …) @Mahdiyar c# public class...
View ArticleHow to make Angular dimension by Python Rhino
Hi all I wanna make an Angular dimension on Rhino by Python can anyone help. 2 posts - 2 participants Read full topic
View ArticleWrite Point Name and Coordinate Value to .txt File
Dear All, In Python, I tried to write points in Rhino with their Objectname and Coordinates as a list to a .txt File. However, I don’t know how to combine the objectname string with the coordinate...
View ArticlePlace Coordinate value as a point in rhino file with incrementing number/string
Dear All, I wrote a small script in python to place points with incrementing values in a rhino drawing. Problems occur when I try to loop the while statement and try to increment the variable. I wrote...
View ArticleRhino Crash when using rs.OpenFileNames on Rhino 6
Hello i have an issue in Rhino 6 when using: rs.OpenFileNames if i don’t select any files Rhino 6 immediately crash. This problème doesn’t append with rs.OpenFileName (without the s) and doesn’t...
View ArticleIronpython runtime list
Hi, while retriving data from csv file to populate the listbox, i got the ironpython,runtime.list appearing in my listbox? How do I convert this list?. Working with Rhino python. 5 posts - 2...
View ArticleGhPython Windows form
Hello I try this example but the problem when i close the window Grasshopper also closed and i can’t open it again. import sys import clr clr.AddReference("System.Drawing")...
View ArticleSave document without opening it
(topic deleted by author) 1 post - 1 participant Read full topic
View ArticleHandle program-level dialogs in batch processing
I am trying to batch process a list of Rhino files. Rhino is one step in a longer processing chain, so I’m trying to use a .bat script to launch rhino with /runscript="-RunPythonScript…". I’m running...
View ArticleMoving named views
Hey! I’m noticing a similar issue in R7 with the script not moving named views. In my case I’m only trying to move views vertically. It moves the camera vertically of the active view, but the named...
View ArticleGrasshopper breakpoint while loading GhPython
C:\Program Files\Rhino 7\Plug-ins\Grasshopper\Components\GhPython.gha - the error occurs here - so How can I fix it image824×510 71.3 KB image794×472 57.2 KB image837×541 88.8 KB 3 posts - 2...
View ArticlePrecision of float values in list
Hello, I must collect coordinate points (x, y, z) and therefor used a list to store them as tuples. Although I use the round function to just get values with two decimals, the values in the list are...
View ArticleHow to contral the orientation of offset with rhinoscriptsyntax
I meet a problem when I am programming with rhinoscriptsyntax.Basically, I need to offset a curve to the direction that contrary to it (like the picture show). But when I use the OffsetCurve command,...
View ArticleIs it possible to save rendered viewport image when current viewport is shaded?
Hi, I am wondering is it possible to save viewport image in local drive when I am working in different viewport. For example, I want to save rendered viewport image in my local drive even though my...
View ArticleQuestion regarding rs.ViewDisplayMode
Hi! When I run rs.ViewDisplayMode, it automatically changes view settings in rhino. but is it possible to just get the image without actually changing viewport in rhino? For example, when I run view =...
View ArticleSave view-port in local path in grasshopper using a different display mode
Dear Rhino Community, I am trying to assist a friend with this request, their goal is to save their view-port in their local path in grasshopper, using a different display mode. For example, when they...
View ArticleMaking loop and using our own code
Dear all. I am looking to find out how can I connect my Phyton code with my model. To explain more, I wanna use my code to learn from simulation and send data to my model. could you please let me know...
View ArticleRE: Save view-port in local path in grasshopper using a different display mode
Save view-port in local path in grasshopper using a different display mode Scripting Is this not the same as Question regarding rs.ViewDisplayMode and Is it possible to save rendered viewport image...
View ArticleHow to create a script that puts text in an object
i have quite a few objects where the focus is not on the object. When creating text, the newly created text will be outside the object. is there a way to create a python script that puts these text in...
View ArticleHow to create physically Based Material with Python
I’ve been going through past posts about the creation of materials in Rhino with python and it doesnt seem very straight forward. I was wandering if anyone knows how to create and add a PBR texture to...
View Article