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

    SketchUp WebExporter...

    Scheduled Pinned Locked Moved SketchUp Discussions
    sketchup
    3 Posts 3 Posters 394 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.
    • L Offline
      lukesb
      last edited by

      Hi Everyone...

      Is it possible to get the WebExporter to take images on a vertical axis instead of the horizontal, or even both..?

      Thanks

      Luke

      1 Reply Last reply Reply Quote 0
      • TaffGochT Offline
        TaffGoch
        last edited by

        Luke,

        The WebExporter plugin "facilitates" setting horizontal-rotation camera positions, exporting the pictures, and generating HTML javascript code for display on a website. If you examine the javascript code produced, and the image files created, you'll see that the web code is simply displaying a series of images, with mouse control.

        You can substitute whatever images you want (keeping the names straight, of course.) The web code will still display the series of images, with mouse cursor control. As you have noted, mouse control is for horizontal rotation. If your model approximates a horizontal direction, you can substitute images to do something like this, on José Manuel's blog:
        Modelado con SketchUp
        (Give the images time to load - it may take a little while.)

        If you're familiar with javascript, it shouldn't be too difficult to modify the script produced by the WebExporter plugin, to switch to a vertical axis. With the appropriate images, mouse control will provide the appearance of vertical rotation.

        That's the "manual" way of making such changes.


        To automate the process -- modifying the WebExporter plugin -- it appears that the rubyscript file is plain text, as are the support files (except for "RubyZip.dll" -- for compressing the produced files?) Since the plugin and the produced html files are plain text, it should be possible to produce a "new" vertical-rotation WebExporter plugin, using the original as a boilerplate.


        Getting the existing WebExporter plugin to do other than horizontal? Nope -- that's all it can do.

        Taff

        "Information is not knowledge." -- Albert Einstein

        1 Reply Last reply Reply Quote 0
        • J Offline
          Jim
          last edited by

          I suggested this approach a long time ago...

          It's basically the same as WebExporter, but for Blender and exports the camera at different altitudes as well.

          WebExporter could be expanded to do a lot of different animations; such as shadow studies and panoramic animations.

          Hi

          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