Skip to content

Geometry round trip not possibly #11

@DharmanGersch

Description

@DharmanGersch

It's really nice that jSwan casts to json, and it's so easy 🥇 I even often find myself telling other people how good it is, and that you can even serialize grasshopper geometry! 👏
image

And then i realize that i have to deserialize the geometry again at some point and it's not quite as convenient. In fact it's a little overwhelming 😧
image
And the binary geometry data is mysteriously inaccessible... 🔒

My dream is for DeJson to work like this
image
or even to directly return the geometry, but this would probably disrupt other uses.

Have you considered allowing the binary archive to cast to geometry? and the GH parameters to cast to their types? Even just simple types like points, vectors planes and polylines would be really convenient. Is this even possible? Because jswan is passing text around would this not be possible? the GeometryGym Revit add-in casts custom classes to breps with the native brep param.

image

If you think this is worthwhile or a possible direction i'd love to contribute and put in a PR 🤝

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions