• Login
sketchucation logo sketchucation
  • Login
ℹ️ GoFundMe | Our friend Gus Robatto needs some help in a challenging time Learn More

Adding Zoom functionality to Sketchup Web Exporter plugin

Scheduled Pinned Locked Moved Extensions & Applications Discussions
extensions
4 Posts 2 Posters 653 Views
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.
  • D Offline
    David Gooch
    last edited by 24 Aug 2009, 15:23

    I was wondering if anyone could suggest a way to add zoom functionality to the sketchup web exporter. I have done various searches in the on this site and in the google forums to no avail.

    I have seen this youtube video in this post for improving the exported imagery which is really neat:

    favicon

    (www.sketchucation.com)

    which is great but I would like to be able to zoom in the 3d view using the mouse wheel like on the 3d warehouse

    Error 404 (Not Found)!!1

    favicon

    (sketchup.google.com)

    I need to try and achieve this without relying on any browser plug-in or web connection using html/css/javascript alone. Any thoughts or suggestions would be greatly appreciated

    1 Reply Last reply Reply Quote 0
    • D Offline
      David Gooch
      last edited by 28 Aug 2009, 10:05

      Does anyone have any suggestions?

      1 Reply Last reply Reply Quote 0
      • J Offline
        Jim
        last edited by 28 Aug 2009, 11:16

        Hi David,

        Adding a level of zoom is possible. The Web Exporter creates a series of images by moving the Camera in a circle around the target. Images are produced at an incremental angle as the Camera moves. The radius is set using either the model extents (or the selection extents, not sure.)

        So it would be possible to decrease the radius and continue to generate another series of images.

        You then need to modify the html/javascript template files and add the zoom ability to the user interface code.

        Of course, it may also be possible to perform the zoom using only the initial set of images, and this would need to be done using the javascript part of the plugin.

        It's possible, but also not trivial (to me who knows little javascript, at least.)

        Hi

        1 Reply Last reply Reply Quote 0
        • D Offline
          David Gooch
          last edited by 28 Aug 2009, 12:30

          Hi Jim,

          Thanks for your reply. I would prefer to add the zoom functionality in the javascript which is probably easier said than done! for me anyway. I was planning to export higher res images than those exported by default using the web exporter plugin.

          Will have a play around with your suggestion and post back.

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

          Advertisement