Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement SUViewDraw #653

Open
noelwarren opened this issue Jun 18, 2021 · 2 comments
Open

Implement SUViewDraw #653

noelwarren opened this issue Jun 18, 2021 · 2 comments
Labels

Comments

@noelwarren
Copy link

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);
@thomthom thomthom added C API enhancement Live C API parity Missing functional parity with client SketchUp labels Jun 18, 2021
@jiminy-billy-bob
Copy link

+1000

@sketchupbot
Copy link

Logged as: SKEXT-3112

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants