Skip to content

Implement SUViewDraw #653

Open
Open
@noelwarren

Description

@noelwarren

This is a feature request for the SketchUp live C-API

We are working on something that requires drawing a lot of geometry to the viewport. Our implementation generates the geometry in C but because we can only (safely) draw using the ruby API we have to wrap this in Geom::Point3d objects and wrap those in ruby arrays. After calling the view.draw method I know the implementation of the draw method then has to check the type of each individual object passed.

It would be far faster to do this all in C. I'm proposing the following functionality (Obviously requiring the creation of SUViewRef).

SUViewDraw(view, mode, data);

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions