Command to repeat print a layout with different layers showing?
I have many sequentially named layers, and I want to make pdf pages with the same layout showing one by one the different layers in sequence. I use predominantly Rhino Script. What is the command to...
View ArticlePlugin command list not refreshing when reinstalling same beta version
I have a Python plugin that I rebuild and reinstall frequently during development. My workflow has been: Keep the package version the same, for example 0.0.2-beta. Add or modify commands in the...
View ArticleFulfill arguments for Rhino.Command -Print?
I need to automate the -Print command, so that I run the code and the .pdf files I need just appear in the designated folder. Where can I find details on how to import the various arguments...
View ArticleRunning a CPython script from a Rhino button/icon instead of IronPython?
Hi to all, I have created a simple Python script that reads data from an Excel file and uses this data to generate geometry in Rhino. Because Rhino’s built-in Python environment cannot easily read...
View ArticleBetter Object Properties Export
Hi all, I am trying to better export Object Properties for Analysis in Excel with these improvements: Unit consistency (always export to m regardless of input file unit). Area centroid X, Y, Z on...
View ArticleHow do I set the "Import fills as" from code?
Can the ImportFillsAs option be set from Python when importing a PDF? If this is not currently supported, could that option be exposed in the Import command? 4 posts - 2 participants Read full topic
View Article_-Print macro and print manually from GUI produce different size file?
I am trying to automate printing to pdf, because I have many sequential layers to print. I print from a A4 layout, in raster ; when I try to print in vector things that are in hatches do not appear...
View ArticleGrasshopper Python 3 component stuck on "Installing Python runtime"
Rhino 8.32.26160.13002, macOS, Apple Silicon. Diagnostics already done: Runtime py39-rh8 fully deployed (163 MB), binary python3.9 --version → OK (3.9.10) No Gatekeeper quarantine on the binary (xattr...
View ArticleAddOptionList silently drops punctuation values from keyboard list
I’m seeing what looks like an inconsistency with GetOption.AddOptionList. In the sample below: adding list values containing spaces fails, which I expected adding list values without spaces and with...
View ArticlePDF import: "Import" behaves different from "-Import"
I am working on a script to import PDF files. Using the Import command to import a PDF it works well, with both mm or inch templates. Using -Import works well when importing into a mm file, while...
View ArticleCode request: Mapping Widget toggle
Hello, this is a code request to help automate a workflow that I’m doing a lot of recently. It has to do with triggering the Mapping Widget when a target object is selected, checking for box mapping...
View ArticleList currently defined keyboard shortcuts
I realized I kept defining keyboard shortcuts that I already had, simply because I had forgotten about them. So I made a small script to print the full list. The output uses tabs, so it should be easy...
View ArticleAdd/remove alias silently resets Display Mode list at next check
Hi McNeel team, after a significant debugging session on some of our internal code, I seem to have find a really specifically odd bug. I have had Claude narrow it down through the MCP-link and have...
View ArticleSubObjectSelectionEnabled works for polylines, not solid faces
The attached 3DM file contains two solids, two polylines, and four TextDots. The script uses the TextDot positions as the four viewport pick positions. I am calling ObjectTable.PickObjects with...
View ArticleRhino 9 - Create Detail From Shape
Hello, inspired by the new SetDetailBorder command, here is a Python script for Rhino 9 that creates a detail based on the shape options provided via the command line. I hope you find it useful....
View ArticleSet Texture Blend Amount (Percentage) in RhinoCommon?
Subject: How to programmatically set Texture Blend Amount (Percentage) in RhinoCommon? Hi everyone, I am currently developing a Grasshopper plugin using C# and I’m working on a custom baking component...
View ArticleThe created surfaces do not join (Rhino 7 - Griddle 2.0)
Shaft_Collar.py (9.5 KB) Hi every body, I have created some surfaces in a small python script but it cannot be joined in Rhino. The purpose is to join them, create a mesh with no open edges, modify...
View ArticleRhinoCode build now requires ruiPath
An existing project that previously built without settings.ruiPath stopped working after updating Rhino 9 WIP. I reduced the current failure to a minimal .rhproj containing one Python command. Using...
View ArticlePython Edit Suggestion
1 → : The activity code files can be placed on the side. Sometimes, for some projects, I need to review multiple files to make comparisons. ====== 1 ====== 2 → : The code collector seems not to have...
View ArticleInstalling Phyton Runtime failed
Hi everyone, while dragging in the Python 3 Script component (or the ordinary Python Script component) it starts loading a few things, then it comes to “Installing Python Runtime” and it this point it...
View ArticleSyntaxWarning - py313-rh9\site-rhinopython\rhinoscript\utility.py:706
Hi there. Rhino shows this worning. C:\Users\XXXX\.rhinocode\py313-rh9\site-rhinopython\rhinoscript\utility.py:706: SyntaxWarning: invalid escape sequence ‘\s’ vector...
View ArticleHow do I change material base color image settings with Python?
Whenever I create a new material from a jpeg-image I drag onto an object in the rhino model, that image is by default set as the bitmap texture for the base color of a newly created material, named...
View ArticleScripteditor
Hi, Can i get some help with this? 8 posts - 3 participants Read full topic
View ArticleLags with mouse tracking on RhinoBeta
Hello, I am developing a « Move Normal to Surface » definition including a Grasshopper Python script. It is integrated in a larger definition aimed at facilitating jewelry design. Thanks to this post...
View ArticleIssue forcing custom OpenCV version in Python3
I am having an issue with trying to downgrade a version of OpenCV for a Python3 script in Grasshopper, as I need some functions which have been removed in the newer OpenCV version that ships with the...
View Article