sketchucation logo sketchucation
    • Login
    Oops, your profile's looking a bit empty! To help us tailor your experience, please fill in key details like your SketchUp version, skill level, operating system, and more. Update and save your info on your profile page today!
    🛣️ Road Profile Builder | Generate roads, curbs and pavements easily Download

    Plugin Gradientator V1.21 on Mac

    Scheduled Pinned Locked Moved Plugins
    4 Posts 2 Posters 71 Views 2 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
      MarieEve Martel
      last edited by

      Re: [Plugin] Gradientator v1.21

      I have read all the tricks and followed the tutorial to try and fixe the problem when trying to install the plugin (gradientator), in Sketchup Pro 2023, but I'm working on a Mac, and so all the pathways described do not work in my environment.

      Can anybody tell me precisely how on Mac I can "recode" the famous "@" in that one line of code ? I've searched online to teach myself how to change the code of a plugin on a Mac and can't find anything useful. I'm not a computer Wiz, so I'm looking for something simple if possible.

      Thank you so much ! 😊

      Mary Eve

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

        @MarieEve-Martel
        If you read the old 'help' posts...
        Open the RB file in your Plugins folder, using a plain-text editor [not a wordprocessor]
        Find the line...
        @grad_dialog.add_action_callback("get_data") do | @grad_dialog, action_name |
        change it to
        @grad_dialog.add_action_callback("get_data") do | grad_dialog, action_name |
        Save it back into your Plugins folder.
        After a restart SketchUp should load the good code...

        TIG

        M 1 Reply Last reply Reply Quote 0
        • M Offline
          MarieEve Martel @TIG
          last edited by Rich O Brien

          @TIG

          So yeah, like I said, I had already read the posts about changing the "magical phrase". Problem is, no one explained how to find the plugins folder on a Mac (in the Library, but not following the pathways described at all). I ended up finding it, and changed the code with "TextEdit", saved the change, and reopened SKP again, but this is what I get, a one colour flat "gradient" (when I chose 3 colours - and before anyone asks, I had pressed "ok" to get the green colour, I only reselected the same colours agains because when you click "ok" the gradientator boxe dissapears):

          Capture d’écran, le 2024-08-01 à 19.51.14.png

          If anyone nows what's going on, I would greatly appreciate to know and how to fixe this.

          Many thanks !

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

            @MarieEve-Martel

            To find your Plugins folder do the following...
            Open the Ruby Console from Extensions > Developer...
            In its bottom a pane type or copy/paste this line of code.
            Sketchup.find_support_file('Plugins')
            It should return the path to the folder...
            Use that to find/navigate to your Plugins folder...

            If you have the SketchUcation tools installed there is a submenu item...
            Extensions > SketchUcation > Open Plugins Folder...
            Clicking on this opens your Plugins folder - so it's less of a hassle...

            TIG

            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