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

    JavaScriptObject - Publish your SketchUp models online!

    Scheduled Pinned Locked Moved Developers' Forum
    7 Posts 5 Posters 1.2k Views 5 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.
    • C Offline
      CountZero
      last edited by

      Hi,

      I want to introduce you to a new way to publish your 3D models online:

      "JavaScriptObject is an application to publish 3D models in a userfriendly way. It does not requiere any applets, plugins or similar. JavaScriptObject works with every browser, that can handle images and supports JavaScript" - http://finnrudolph.de/JavaScriptObject/Introduction

      JavaScriptObject uses a frame based approach to create the illusion of 3D objects and you can easily export frames from SketchUp via a Ruby plugin: http://finnrudolph.de/JavaScriptObject/SketchUp

      To keep it short: Just drop by and make sure, that you check out the examples:

      360Β° http://finnrudolph.de/JavaScriptObject/SketchUp#360DegreeExample
      XY Rotation http://finnrudolph.de/JavaScriptObject/SketchUp#FullXYRevolutionExample

      Enjoy and happy rendering!
      CountZero

      1 Reply Last reply Reply Quote 0
      • GaieusG Offline
        Gaieus
        last edited by

        Hi (ehm...) "Count Zero",

        Thanks for posting it. πŸ‘

        Gai...

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

          Very nice. πŸ˜„

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

          1 Reply Last reply Reply Quote 0
          • GaieusG Offline
            Gaieus
            last edited by

            Finally I had a look "deeper" inside. Some comments:

            Could there be a webdialog or something like that where you give the settings instead of having to edit the rb file every time you want to change something? Imagine at least the camera distance that may be needed to be changed for every single model.

            The other question is about this camera distance. What unit do you give it in there? I can't see any units mentioned there - I guess it's some default inches then. This camera distance will be the most problematic for most of the users IMO. How can they tell? Could it be modified to have (at least as a choice) like Zoom extent or the code could get the camera distance from where the actual viewport is? OR at least add a trigger to it and when one starts the script, it would "jump" there and the user could choose to proceed with that distance or make some further settings. Now it starts exporting immediately even if this setting is not correct.

            Finally, in SU, the vertical (blue) axis is the Z axis but I think you called it X axis in the comments inside the rb file.

            Gai...

            1 Reply Last reply Reply Quote 0
            • A Offline
              Aerilius
              last edited by

              This is a really good script!

              Until I found it, I had extracted the swivel feature by Google and got it to work how I want it. It's a little bit handwork and not the neat method, but I made an animation with scenes (4 scenes and a proper animation are enough). This way I can control the angle, zoom and the number of images (in export dialogue: frames per second).

              a quite uncommon use with a not circular path: http://aerilius-de.blogspot.com/2009/03/trifels-castle.html


              swivel.zip

              1 Reply Last reply Reply Quote 0
              • C Offline
                CountZero
                last edited by

                Hi,

                sorry for not answering for such a long time I was kind of "under fire" with other things.

                @ Gaieus: Yes, a webdialog would be a nice thing. I also agree to the problematic camera distance setting... Have to look deeper into that. The funny thing about switching the axis comes from SketchUp itself. It does not name the coordinate axes so I just guessed ;D

                I made some improvements to JavaScriptObject in the last time, but before I go any further I really need to know what features you need/ want or if you need such a script at all ;D So: Any feedback is welcome!

                You can see the latest version at http://javascriptobject.finnrudolph.de/ and it is now even compatible with the iPhone and iPod Touch: http://finnrudolph.de/Blog/JavaScriptObject_0.9_-_Now_compatible_with_the_iPhone_and_iPod_Touch

                1 Reply Last reply Reply Quote 0
                • Didier BurD Offline
                  Didier Bur
                  last edited by

                  Hi,
                  Nice plugin. It reminds me my vr_obj_exporter back in 2006, that I was too lazy to update since then...

                  DB

                  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