sketchucation logo sketchucation
    • Login
    🤑 SketchPlus 1.3 | 44 Tools for $15 until June 20th Buy Now

    Interacting with a Sketchup file from another program

    Scheduled Pinned Locked Moved Developers' Forum
    21 Posts 7 Posters 5.8k Views 7 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.
    • P Offline
      pigbite
      last edited by

      Hi,

      I am new to the Sketchup dev world and am not sure what is possible with the API, plug-ins etc.

      We are currently using Sketchup to model sun path and shadow activity on buildings for solar shading control applications. I am wondering if there is a way of embedding a Sketchup file in an external program (e.g. a web page) and maintaining the ability to animate it and see the effect of shadows. I know there is the web viewer but all that does is produce a set of screen shots. What I want to be able to do is allow the user to enter a date/time and see the effect of the shadows on a building. If possible I would then like to animate the model to show blinds raising/lowering in response to the sun.

      Is anything like this possible? As a newbie to the forums please just let me know where the best place to repost this is and I will do so.

      Many thanks in advance,

      Jez.

      1 Reply Last reply Reply Quote 0
      • numbthumbN Offline
        numbthumb
        last edited by

        Hi,
        TBH don´t know about embedding a SU file in an external application, but there is a possibility of monthly or annual sun path visualization via SunTools plugin for SU : http://bldgsim.wordpress.com/2009/09/22/suntools-plugin-version-2-0-for-sketchup-available-now/

        Comfortably numb...

        1 Reply Last reply Reply Quote 0
        • P Offline
          pigbite
          last edited by

          Cheers Numbthumb,

          The plugin looks useful from the perspective of the design and O&M documentation we produce however what I am really looking for is the ability to dynamically interact with Sketchup as an embedded solution. Ultimately I want to be able to give building managers a 3D tool for building state visualisation rather than the clunky flat, 2D interfaces they have now.

          Thanks for your help though!

          Rgds

          Jez

          1 Reply Last reply Reply Quote 0
          • numbthumbN Offline
            numbthumb
            last edited by

            Thanks for the heads-up, Simon - BTW nice avatar 😄
            ( and pardon me for being OT )

            Comfortably numb...

            1 Reply Last reply Reply Quote 0
            • simon le bonS Offline
              simon le bon
              last edited by

              @numbthumb said:

              Thanks for the heads-up, Simon - BTW nice avatar 😄
              ( and pardon me for being OT )

              You're always welcome dear Numbthumb. Everything's cool
              😉 simon
              PS: my avatar picture comes (as very often) from a serie I don't remember which one, delivered by the Big Picture Boston Globe

              1 Reply Last reply Reply Quote 0
              • simon le bonS Offline
                simon le bon
                last edited by

                Hi pigbite,

                I think you are talking about the following tool:

                http://www.1001shadows.com/en/images/news01.gif

                1001Shadows

                (all the products by 1001 are very well known and famous 😉 )

                +simon
                Re: I'm not a seller of these products: just a fan 😄

                1 Reply Last reply Reply Quote 0
                • numbthumbN Offline
                  numbthumb
                  last edited by

                  Hmmm, nice Bavarian "Dirndl" indeed 😉
                  If I decide to change my avatar, I´ll ask for your advice 😄

                  Comfortably numb...

                  1 Reply Last reply Reply Quote 0
                  • simon le bonS Offline
                    simon le bon
                    last edited by

                    Your avatar is fine. And I can feel you are not going to change it for another one so easily 😉 Am I wrong?
                    Here is just in case ( please feel completely free to not use it ) a one I have chosen for you. (I haven't found something with exactly the same spirit as yours) 😆

                    http://i274.photobucket.com/albums/jj245/Spendauballet/generalPicts/th2o14_25124453.jpg

                    http://i274.photobucket.com/albums/jj245/Spendauballet/generalPicts/o14_25124453.jpg

                    Cheers, simon

                    1 Reply Last reply Reply Quote 0
                    • daleD Offline
                      dale
                      last edited by

                      Hey those are nice jugs....of beer I mean 👿

                      Just monkeying around....like Monsanto

                      1 Reply Last reply Reply Quote 0
                      • Chris FullmerC Offline
                        Chris Fullmer
                        last edited by

                        I do not think there is a way to work with SketchUp the way you are describing. There is the SDK that allows you to work with the model, but not SketchUp.

                        A possibility that does come to mind though is that I think you might be able to export images of the model through the SDK. So maybe you could allow the user to enter their data. THen your app could alter the model according to the user's data. And it could export images for each frame. You would probably have to manually alter the model for each frame. Then export each image, and write your own viewer to turn those images into an animation.

                        I'm not sure its possible, but it sounds plausible to me, though its a bit of a workaround I think.

                        Chris

                        Lately you've been tan, suspicious for the winter.
                        All my Plugins I've written

                        1 Reply Last reply Reply Quote 0
                        • daleD Offline
                          dale
                          last edited by

                          Now back to Sunpaths. The SunTools plugin has caused some conflicts with other programs I believe Thea is one. I have used it before with good results but never on a webpage. There was a website that had this very thing, I'll see if I can find it as I posted it's location on another forum once.
                          PS (Sorry about the beer "Stein" hijack)

                          Just monkeying around....like Monsanto

                          1 Reply Last reply Reply Quote 0
                          • numbthumbN Offline
                            numbthumb
                            last edited by

                            Hey dale, it says Error 404 - File Not Found. Where do I find that?
                            Oh, and cheers, Simon! 😉

                            Comfortably numb...

                            1 Reply Last reply Reply Quote 0
                            • daleD Offline
                              dale
                              last edited by

                              Here is a link to the site mentioned above.
                              http://astro.unl.edu/naap/motion3/animations/sunmotions.html
                              I don't know if it will be of any use for what you are asking, but it's a cool little tool, so I thought I would post it.

                              Cheers

                              Just monkeying around....like Monsanto

                              1 Reply Last reply Reply Quote 0
                              • daleD Offline
                                dale
                                last edited by

                                I think I fixed the link, it works on mine now. Sorry.
                                Nice avatar!!!!!

                                Just monkeying around....like Monsanto

                                1 Reply Last reply Reply Quote 0
                                • numbthumbN Offline
                                  numbthumb
                                  last edited by

                                  Thanks! Yes, it works here, too.

                                  Comfortably numb...

                                  1 Reply Last reply Reply Quote 0
                                  • simon le bonS Offline
                                    simon le bon
                                    last edited by

                                    Hi Dale,
                                    Your "Motions of the Sun Simulator" is bookmarked _ 👍 😉

                                    Hi numbthumb,
                                    I can't believe you have taken it 🤣
                                    the picture is taken from a very smart set: Oktoberfest 2010 😉
                                    and I have recover the set mine come from: Singapore 2010 Youth Olympics

                                    @thread users: sorry for my little bumping 😄

                                    simon

                                    1 Reply Last reply Reply Quote 0
                                    • Chris FullmerC Offline
                                      Chris Fullmer
                                      last edited by

                                      I think the original poster got scared off. Hopefully he'll come back. This was an interesting topic.

                                      Lately you've been tan, suspicious for the winter.
                                      All my Plugins I've written

                                      1 Reply Last reply Reply Quote 0
                                      • simon le bonS Offline
                                        simon le bon
                                        last edited by

                                        Come on Chris, it is not a big disturbing, just a little be-bop-bump of happiness.

                                        It seems that Pigbite had registered mainly to find an answer to this specific question. As I was thinking he was going to miss the answers, I had send him a PM to tell him about my answer (1001shadows). And the message had been read. So he has surely read also your reflexion around the subject (using SDK (software development kit)...which is too much for me 😕 )

                                        I now shut my mouth. ++simon.

                                        1 Reply Last reply Reply Quote 0
                                        • Chris FullmerC Offline
                                          Chris Fullmer
                                          last edited by

                                          Oh I'm not really that worried about the off topic. He'll come back if he wants I suppose.

                                          Lately you've been tan, suspicious for the winter.
                                          All my Plugins I've written

                                          1 Reply Last reply Reply Quote 0
                                          • P Offline
                                            Pout
                                            last edited by

                                            I think you could so something like this with Hypercosm.
                                            We are working on letting a Sketchup model (well an export of that model) evolve in time on a webpage

                                            some pics of the alpha stage:
                                            img1.png
                                            img2.png
                                            img3.png

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

                                            Advertisement