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

    Camera import and control

    Scheduled Pinned Locked Moved Newbie Forum
    sketchup
    23 Posts 6 Posters 4.9k Views 6 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.
    • M Offline
      mbarker
      last edited by

      @tig said:

      I'd expect the old RB file still to work OK in v2015.
      However, how are you making the camera-data file ?
      Try Notepad++ and set the file's encoding to UTF8-without-BOM...
      Report back...
      Dear TIG
      Worked a little more with the script and camera file and I am back in business!!
      Thanks!! 😄

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

        Hi TIG
        I found the old dialog regarding the file TIGimportcamera.rb
        I have updated the last Sketup update, but I can't get the script to work this time.
        Can you help me?

        Also, I would love to donate for having successfully used the script for many years! 🙂
        How can I donate?

        Kind regards,
        Mikkel

        TIGT 1 Reply Last reply Reply Quote 0
        • TIGT Offline
          TIG Moderator @mbarker
          last edited by TIG

          @mbarker
          I've replied to you in a PM

          I just tried it on v2024 and it works fine... although most of it is over a decade old !
          It imports a text file with a camera-view on each line.

          The camera-view entry must be as follows...
          name,xeye,yeye,zeye,xtarget,ytarget,ztarget,rollangle,fovangle
          there can be an optional value added after 'fovangle':
          ,image
          But you probably aren't wanting to use that.

          The values in the entry must be separated with the constants that are set in the RB file:
          Edit the ICVSEP and ICDSEP constants to suit your typical file's locale value-separator [' ',;:\t] and decimal.separator [. or ,]...
          In the example I show it's as a comma , separator and a .
          You might use a space or ; and a , to suit locale.
          Please check you are setting up you file correctly.

          As I said it works fine given the correct input.
          To attach an RB file just drop it into the message
          TIGimportcamera.rb

          There are donation buttons against many authors entries in the PluginStore and ExtensionStore³

          TIG

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

          Advertisement