Skip to content

HopsBitmap or Generic input output #658

@seghier

Description

@seghier

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions