Layer Color Palette Picker for Rhino (OKlch)
(by GJKim)

Resource File

Downloads:
95
Support Email

This script helps you assign layer colors more quickly and more consistently in Rhino.

Instead of choosing colors one by one from the standard color dialog, the script opens a visual palette window and lets you apply a color directly to a selected layer. It includes several preset modes such as Pastel, Medium, Strong, and Material Mode, so you can choose either a balanced color system or a more material-oriented set of colors.

Background

The color presets are based on OKLCH.

OKLCH is a color model where L means Lightness, C means Chroma, and H means Hue. Compared to ordinary RGB picking, it is much better for building color sets that feel visually balanced on screen. In this script, each row keeps Lightness and Chroma controlled while Hue changes across the palette, which makes the color distribution feel more even and easier to use for layers.

Material Mode is a practical preset built to resemble common architectural material tones such as stainless steel, wood, glass, steel, concrete, stone, and brick.

How to use

Run the script, select one layer, and click any color swatch in the palette window. The selected layer color will update immediately.

The interface includes preset modes, so you can switch between softer palettes, stronger palettes, and material-oriented palettes without editing the script.

Alias example

A convenient way to use this script is to register it as a Rhino alias.

For example, you can create an alias such as LAYCOR and assign this command:

_-RunPythonScript "C:\YourFolder\layercolor.py"

Then you can simply type LAYCOR in Rhino and launch the palette instantly.

If your path contains spaces, keep the quotation marks exactly as shown.

Notes

This script was generated with GPT and is meant to be practical and editable. Feel free to take it, modify it, extend it, and adapt it to your own workflow.

You can change the palette presets, rename the material rows, adjust the UI, or build your own office standard on top of it

-----

설명

이 스크립트는 Rhino에서 레이어 색을 더 빠르고 일관되게 지정하기 위한 도구입니다.

기본 색상 선택창에서 매번 하나씩 색을 고르는 대신, 스크립트를 실행하면 시각적인 팔레트 창이 열리고 선택한 레이어에 원하는 색을 바로 적용할 수 있습니다. Pastel, Medium, Strong, Material Mode 같은 프리셋이 들어 있어, 균형 잡힌 일반 색상 체계와 재료 중심 색상 체계를 모두 사용할 수 있습니다.

배경

이 팔레트의 기본 색상 구성은 OKLCH를 바탕으로 합니다.

OKLCH는 색을 L, C, H로 나누어 다루는 방식입니다. L은 밝기, C는 채도, H는 색상각을 뜻합니다. 일반적인 RGB 방식으로 색을 고르는 것보다, 화면에서 더 균형 잡히고 고르게 느껴지는 팔레트를 만들기에 유리합니다. 이 스크립트에서는 각 행마다 밝기와 채도를 일정한 규칙으로 제어하고, 색상각만 바꾸어 가며 팔레트를 구성했기 때문에 레이어 색이 전체적으로 더 정돈되어 보입니다.

Material Mode는 실무에서 자주 떠올리는 재료색을 빠르게 고를 수 있도록 만든 실용적인 프리셋입니다. 스텐레스, 나무, 유리, 철, 콘크리트, 석재, 벽돌 계열의 색을 포함하고 있습니다.

사용 방법

스크립트를 실행한 뒤, 색을 바꿀 레이어 하나를 선택하고 팔레트 창에서 원하는 색 칸을 클릭하면 바로 해당 레이어의 색이 변경됩니다.

프리셋 드롭다운을 통해 부드러운 계열, 중간 계열, 강한 계열, 재료 계열을 바로 바꿔가며 사용할 수 있습니다.

Alias 사용 예시

가장 편한 방법은 Rhino Alias로 등록해서 쓰는 것입니다.

예를 들어 LAYCOR 같은 alias를 만들고, 아래 명령을 연결하면 됩니다.

_-RunPythonScript "C:\YourFolder\layercolor.py"

이제 Rhino 커맨드라인에 LAYCOR만 입력하면 바로 팔레트가 실행됩니다.

경로에 공백이 있다면 예시처럼 큰따옴표를 그대로 유지하는 것이 안전합니다.

추가 안내

이 스크립트는 GPT로 생성한 스크립트이며, 자유롭게 가져가서 수정하고 확장해서 사용해도 됩니다.

팔레트 구성, 재료 색상, 인터페이스, 프리셋 이름 등을 각자의 작업 방식에 맞게 바꾸어도 되고, 사내 표준 레이어 색 체계로 발전시켜 사용해도 좋습니다.

Category: 

Resource Type
:

License: 

Paid Resource: 

Cost:

App Files

Reviews