compute.rhino3d
compute.rhino3d copied to clipboard
HopsBitmap or Generic input output
Hello
Can we add a new Params: HopsBitmap
like this?
class HopsBitmap(_GHParam):
"""Wrapper for GH_Bitmap"""
param_type = "Bitmap"
result_type = "System.Drawing.Bitmap"
# Coercer function can be added if needed for type conversion
coercers = {
"System.Drawing.Bitmap": lambda b: b,
}
(https://github.com/mcneel/compute.rhino3d/blob/d34dfa14161aaeb43f0692505dccf7ad30bc84c8/src/ghhops-server-py/ghhops_server/params.py)