sketchucation logo sketchucation
    • Login
    ℹ️ Licensed Extensions | FredoBatch, ElevationProfile, FredoSketch, LayOps, MatSim and Pic2Shape will require license from Sept 1st More Info

    Gui api in sketchup

    Scheduled Pinned Locked Moved Developers' Forum
    7 Posts 4 Posters 1.0k Views 4 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • G Offline
      giuseppe500
      last edited by

      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.

      1 Reply Last reply Reply Quote 0
      • TIGT Offline
        TIG Moderator
        last edited by

        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...

        TIG

        1 Reply Last reply Reply Quote 0
        • thomthomT Offline
          thomthom
          last edited by

          You could make a C Extension and make a GUI in C. But you'd have to make it for each OS...

          Thomas Thomassen — SketchUp Monkey & Coding addict
          List of my plugins and link to the CookieWare fund

          1 Reply Last reply Reply Quote 0
          • G Offline
            giuseppe500
            last edited by

            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

            1 Reply Last reply Reply Quote 0
            • TIGT Offline
              TIG Moderator
              last edited by

              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...

              TIG

              1 Reply Last reply Reply Quote 0
              • Dan RathbunD Offline
                Dan Rathbun
                last edited by

                @giuseppe500 said:

                How I can make a C++ extension ?
                ... documentation or specifics?

                see: [Info] C/C++ Ruby extensions & SketchUp plugins

                I'm not here much anymore.

                1 Reply Last reply Reply Quote 0
                • thomthomT Offline
                  thomthom
                  last edited by

                  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.

                  Thomas Thomassen — SketchUp Monkey & Coding addict
                  List of my plugins and link to the CookieWare fund

                  1 Reply Last reply Reply Quote 0
                  • 1 / 1
                  • First post
                    Last post
                  Buy SketchPlus
                  Buy SUbD
                  Buy WrapR
                  Buy eBook
                  Buy Modelur
                  Buy Vertex Tools
                  Buy SketchCuisine
                  Buy FormFonts

                  Advertisement