Gui api in sketchup
-
hello.
Is possible to use some gui(graphical user interface) in sketchup ?
and is possible to program the gui in c++ ?
I wish find some plugin that do this for see how to do in c++ sources.
What do you advice to me ?
only opensurce clearly.Thanks.
-
Sketchup's API webdialogs allow you to make all manner of GUI BUT in html/javascript etc...
I know of no C++ GUI work - although the SDK does work that way... but it is focused on import/export of data etc... -
You could make a C Extension and make a GUI in C. But you'd have to make it for each OS...
-
If i can make a c++ extension(i don't know how) i can call c++ functions from the ruby gui!
is possible?
How i can make a c++ extension ?
There is some documentation or specifics?Thanks
-
Find the SUp SDK at Google [ http://sketchup.google.com/intl/en/community/developers.html ] that has some 'C' based stuff - here we concentrate mostly on Ruby with associated html/javascript for webdialogs etc...
-
@giuseppe500 said:
How I can make a C++ extension ?
... documentation or specifics? -
C not C++.
http://www.ruby-doc.org/docs/ProgrammingRuby/html/ext_ruby.html
http://www.rubyinside.com/how-to-create-a-ruby-extension-in-c-in-under-5-minutes-100.html(There is some changed needed for making it work with Ruby SketchUp. TBD got a sample project to get people started: https://github.com/TBD/OpenSUP/tree/master/SUExt
The SDK TIG linked to is C++, but that is only for reading and writing .skp files - not communication with SketchUp.
Advertisement