sketchucation logo sketchucation
    • Login
    πŸ€‘ SketchPlus 1.3 | 44 Tools for $15 until June 20th Buy Now

    [Info] WebDialogs - The Lost Manual on GitHub

    Scheduled Pinned Locked Moved Developers' Forum
    5 Posts 3 Posters 203 Views 3 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.
    • thomthomT Offline
      thomthom
      last edited by

      In order to better maintain The Lost Manual I am moving it from a long single page PDF/forum post/blog article to a better structured GitHub repository with Wiki articles detailing issues, how-to and best practices as well as sample files and Issue tracker.

      It's still rough around the edges as information is ported from the old manual and lingering notes, but please join in on the contribution and share your insight! Get your fork out!

      Link Preview Image
      GitHub - thomthom/sketchup-webdialogs-the-lost-manual: Collection of unofficial documentation of SketchUp's WebDialog class.

      Collection of unofficial documentation of SketchUp's WebDialog class. - thomthom/sketchup-webdialogs-the-lost-manual

      favicon

      GitHub (github.com)

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

      1 Reply Last reply Reply Quote 0
      • H Offline
        honkinberry
        last edited by

        Oh the hours I could have saved had I had this guide earlier!!!!
        Thank you.

        One other issue that is bedeviling me, is Security.
        Specifically, loading remote Javascript, having local HTML fire a remote Ajax call, etc.
        It seems that on the Windows side, with Domains, there can be all sorts of weirdness with cross-domain security policies, and I just never know where to start. And it seems allow_actions_from_host has no effect.
        When I come across it again, I'll let you know the specifics.

        --J

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

          I wonder if allow_actions_from_host is related to the skp: "protocol"?

          I've never had to deal with that method, so I'm not sure.

          There's always a challenge in dealing with cross-domain calls - even outside WebDialogs. I'm just glad I've not had to deal with it - so far. (Famous last words.) But if you do come across anything then please do post back your findings. It's so much better if we can create a good community that shares the knowledge so people can avoid reinventing the wheel.

          Recently I've lost count of how many people I've talked to who's developed a communication bridge between SketchUp Ruby and WebDialogs. It's something that we should have an open source framework for. (Or a better API... πŸ˜‰ )

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

          1 Reply Last reply Reply Quote 0
          • M Offline
            mptak
            last edited by

            I think this will inspire me to finally make the leap fully into github! Thank you ThomThom.

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

              @mptak said:

              I think this will inspire me to finally make the leap fully into github!

              πŸ‘ πŸ‘

              Excellent! I'd really like to see the SketchUp community making more use of tools such as GitHub and BitBucket etc. πŸ˜„

              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