sketchucation logo sketchucation
    • Login
    โ„น๏ธ Licensed Extensions | FredoBatch, ElevationProfile, FredoSketch, LayOps, MatSim and Pic2Shape will require license from Sept 1st More Info

    Mac Plugins in home folder

    Scheduled Pinned Locked Moved Developers' Forum
    3 Posts 3 Posters 232 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.
    • J Offline
      Jim
      last edited by

      Just saw this code at the end of the examplescripts.rb file in the Examples folder in Plugins. It means SketchUp looks for ruby files in the user's home folder, but only if the Example Scripts extension has been enabled. Of all the places to include this... "hidden" at the end of a seemingly unrelated extension. Wasn't there a discussion related to this, possibly with Podium or one of Whaat's tools?

      
      if( ENV["HOME"] )
          homedir = File.expand_path("~")
          $;.push homedir
      end
      
      

      Hi

      1 Reply Last reply Reply Quote 0
      • T Offline
        tfdesign
        last edited by

        There was definitely a problem with rb scripts and home folders with Podium on OSX. I think where the developers were going 'wrong', and if they were missing this extension, was that the whole point of placing a plugin in the home folder was that other users on the same Mac (if there were to be any), couldn't use the licence that was purchased by that user. I can see the point of that, because the makers of Podium need to make a profit in order to innovate- fair play.

        But if this is the case, well spotted! All us Mac users will be a lot happier if it turns out that you've found the holy grail! ๐Ÿ˜„

        My book "Let's SketchUp!" Download from here

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

          The holy grail would be if people just followed the instructions of the API docs...

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

          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