Would be cool if you could have a tool that would take a color from an imported image and apply it to an object, curve, or hatch.
-Paul
Would be cool if you could have a tool that would take a color from an imported image and apply it to an object, curve, or hatch.
-Paul
When you click the Display Color dropdown, you get an option called âOtherâ
In the Select Color dialog upper right corner is the eye dropper toolâŚ
True, but is there a way to access this via the command line?
Iâm a user with low vision so itâs less efficient for me to rely on small icons and the visual interface of the color pickerâŚ
Can you unmark this as the solution, please?
I think it was @wim who marked it as solution.
I only replied to the topic and cannot mark a post as solution in your topic.
I generally donât mark posts in threads as a solution (we have an in-house feature for dealing with such so I really donât mind threads being solved or not) but I unchecked that nowâŚ
Youâll probably need to provide quite a bit more information about this. Moving this thread to âDeveloperâ for nowâŚ
-wim
Old topic of yoursâŚ
Oh, well thatâs embarrassingâŚ
Why?
Oh, I thought it had been answered. Iâll experiment with PowerToys and report back! Thanks for that tip!
For any developers who look at this thread what Iâm really wanting is just the ability to type âEyedropperâ and then be able to pick a color from an image and apply it to a curve, object, or hatch.
As an architectural designer i use Rhino 2D as much as 3D and like to keep things within Rhino. (The Adobe interface is terrible for people with low vision, so I avoid it). Sometimes I might drop in an image (like in my earlier thread) and want to grab a color from it. If I want to do this, say, seven or eight times, the color picker can start to feel slow and cumbersome.
Itâs maybe not a workflow that Rhino was initially intended for, but I do have a lot of friends in architecture who like to do their drawings and graphics in Rhino, and so having more efficient and sophisticated 2D capabilities in my mind would really elevate the program in general (see earlier threads about text tools, a pen-style tool similar to illustrator, etc.)
But for the purposes of this thread, iâm really just looking for the ability to efficiently grab color from an image and apply it to an object. I could see this being useful for rendering and stuff too if you want to use a reference image and keep things quick and dirty.
I think you could create a script / macro which modifies the color of a selected object.
You can paste the color from the powertools eyedropper.
Ideally there would be an eyedropper available through the command lineâŚ
The spacesin the rgb value from eyedropper is causing problems and youâd almost have to type the numbers by hand.
Python opencv has an eyedropperâŚ
Hi @pdfaze, you might try attached python script to get started:
EyeDropper.py (926 Bytes)
To run this as a command, create a new alias using:
_Options > Rhino Options > Aliases > New
Then use eg. âEyedropperâ as alias and this as Command Macro:
! _-RunPythonScript "C:\YourPathToTheScript\EyeDropper.py"
note that youâll need to write the correct path in above macro, where youâve saved the script to.
_
c.