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

    [Plugin] Gradientator v1.21

    Scheduled Pinned Locked Moved Plugins
    54 Posts 24 Posters 45.7k Views 24 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.
    • D Offline
      dtrarch
      last edited by

      Thx a bunch Mitch.
      Just plain fun to mess with. 👎 👎
      Works too ☀

      dtr

      1 Reply Last reply Reply Quote 0
      • bomastudioB Offline
        bomastudio
        last edited by

        In SketchUp 2015 I get the following error after the install:

        Error: #<SyntaxError: C:/Users/nessuno/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/gradientator.rb:79: formal argument cannot be an instance variable
        ...ck("get_data") do |@grad_dialog, action_name|

        ... ^>
        C:/Users/nessuno/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/rubytoolbar/rubytoolbar.rb:144:in load' C:/Users/nessuno/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/rubytoolbar/rubytoolbar.rb:144:in rt_load'
        C:/Users/nessuno/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/rubytoolbar/rubytoolbar.rb:190:in block in <module:RubyToolbar>' SketchUp:1:in call'

        I solved changing row 79 to the end of the do block in this way

        @grad_dialog.add_action_callback("get_data") do |grad_dialog, action_name|
        			if action_name == "begin_gradientating"
        				@grad_dialog = grad_dialog
        				@coloronename = @grad_dialog.get_element_value("color_one_name")
        				@colortwoname = @grad_dialog.get_element_value("color_two_name")
        				@colorthreename = @grad_dialog.get_element_value("color_three_name")
        				@grad_dialog.close
        				gradientate(@coloronename,@colortwoname,@colorthreename,@faces,@model)
        			end
        			if action_name == "close_this_window"
        				@grad_dialog.close
        			end
        		end
        
        1 Reply Last reply Reply Quote 0
        • utilerU Offline
          utiler
          last edited by

          So do I. Would love to try this plugin....


          2015-11-13_1316.png

          purpose/expression/purpose/....

          1 Reply Last reply Reply Quote 0
          • Dave RD Offline
            Dave R
            last edited by

            @utiler said:

            So do I. Would love to try this plugin....

            Andrew, did you try the solution offered by sdmitch? I just tried it and that makes it work in SU2015.
            Screenshot - 11_13_2015 , 4_59_02 AM.png

            Etaoin Shrdlu

            %

            (THERE'S NO PLACE LIKE)

            G28 X0.0 Y0.0 Z0.0

            M30

            %

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

              @utiler said:

              So do I. Would love to try this plugin....
              The post just before yours offers a solution http://sketchucation.com/forums/viewtopic.php?p=575140#p575140, and @sdmitch gave an even simpler version a few posts earlier http://sketchucation.com/forums/viewtopic.php?p=541222#p541222
              Just edit the RB using a plain-text editor like Notepad++, then find the do |@grad_dialog, text around line #79, and remove the @ so it's do |grad_dialog,.
              Save the RB and restart SketchUp...
              Since the @grad_dialog is defined earlier it is not necessary to redefine it in the do block, so using ANY name which doesn't start with a @ will work !

              TIG

              1 Reply Last reply Reply Quote 0
              • utilerU Offline
                utiler
                last edited by

                Thanks Dave / TIG. Trust me to jump into a new plugin without reading through recent posts.... Cheers, I'll give it a crack tonight!

                purpose/expression/purpose/....

                1 Reply Last reply Reply Quote 0
                • utilerU Offline
                  utiler
                  last edited by

                  😉 Worked a treat, guys. Thanks!!!

                  I'll post in a few days what I needed it for. Glad to share.... 😉

                  purpose/expression/purpose/....

                  1 Reply Last reply Reply Quote 0
                  • pilouP Offline
                    pilou
                    last edited by

                    Works fine! 😄

                    domino.jpg

                    Frenchy Pilou
                    Is beautiful that please without concept!
                    My Little site :)

                    1 Reply Last reply Reply Quote 0
                    • G Offline
                      GianfrancoGalli
                      last edited by

                      hi, just landed on this post. the plugin is not working in make 15/16. i can select it in both Make 15 as 16, but it's not doing anything.
                      i've used v1.21. downloaded it to C:\Users\YOUR USERNAME\AppData\Roaming\SketchUp\SketchUp 201X\SketchUp\Plugins

                      thanks for your thoughts!

                      1 Reply Last reply Reply Quote 0
                      • sdmitchS Offline
                        sdmitch
                        last edited by

                        @gianfrancogalli said:

                        hi, just landed on this post. the plugin is not working in make 15/16. i can select it in both Make 15 as 16, but it's not doing anything.
                        i've used v1.21. downloaded it to C:\Users\YOUR USERNAME\AppData\Roaming\SketchUp\SketchUp 201X\SketchUp\Plugins

                        thanks for your thoughts!

                        http://sketchucation.com/forums/viewtopic.php?f=323%26amp;t=45951%26amp;p=601292#p541222

                        Nothing is worthless, it can always be used as a bad example.

                        http://sdmitch.blogspot.com/

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

                          why is it not functioning to my sketchup 2017? 😞

                          1 Reply Last reply Reply Quote 0
                          • Dave RD Offline
                            Dave R
                            last edited by

                            The script needs some editing to work. Scroll up a few posts and read what sdmitch wrote. Edit the .rb file to make that change and it'll work. this is in SU2020 after editing the script and installing it.
                            Screenshot - 5_3_2020 , 9_31_05 AM.png

                            Etaoin Shrdlu

                            %

                            (THERE'S NO PLACE LIKE)

                            G28 X0.0 Y0.0 Z0.0

                            M30

                            %

                            1 Reply Last reply Reply Quote 0
                            • D Offline
                              dlightsey
                              last edited by

                              Does anybody have the repaired file. When I open the RBZ file using note pad, I get a bunch of garbage. I have tried all the standards when opening.

                              Thanks,

                              1 Reply Last reply Reply Quote 0
                              • Dave RD Offline
                                Dave R
                                last edited by

                                Download the .rb file from the first post of the thread and make the edit according to the this post.

                                Etaoin Shrdlu

                                %

                                (THERE'S NO PLACE LIKE)

                                G28 X0.0 Y0.0 Z0.0

                                M30

                                %

                                1 Reply Last reply Reply Quote 0
                                • I Offline
                                  its3Dmade
                                  last edited by

                                  I have tried this fix but when I go to notepad or any word process to open I get this -(on PC)

                                  PK   쉄B4‹"Ût
                                    $     gradientator.rbYûsÛ6þٝéÿ€Ò7gi,ÓŽÓÞñܼsžKš'éM'ÓÑ€$(¡¦­¸±ÿ÷û IP–œô&±FÝÅ>¾}p—½_Èšá?gµ\V…`F©¬Ò*Y£yQ\³¹(…æF`›Yh!RU(ÍæšgR”†©’-EÍTÎržŠ;þö›]öÊïàÛ“kVq%˜&Ž…LEY‹Œ5e&4Î?Ó‚‰ÇÏÔr©Êš=1Fˤ1R•?©’–…N%/Þ-¸O
                                  y)ØÃøˆ}(+¥
                                  H½v4‰5qÙh³z©´˜@p0­UnV8Kà†W2鈓
                                  "ÆËŒ­¤Y¨Æàû5Ÿ*-jÜòB7[qVóÒàž&Ë´h2YÎ'í)âYÈ¥Äu!3±N’†è"üä‰,¤¹¶¬siJb—+ÒFŵ‘iSpͪFW*¸žÓ•  ¶.-/²€½`U4s	Ö0%¯»’µ4laLurxˆÝͲŽëKaÒE“Úƒqª–‡WR¬ŒªdW‹êÇ|úðøá_ÍôûþùÃÏs`Ç«ñqûàg¡kâ_*#ê¿h7ÐvÀžd¤â«p›{ð†g‚ýW$ÏaP5gдüƒ',EÊ0ð;¡ã€ §÷j›E®%m¯ÉYeY^¦¢_õ<T&sÒ>Ybů™õ[x;´—ò‚Ô·yÄæ
                                  '㢆¹Ôµ™°¥Ì²Vž‚צ=½’EÁCÍÒS’gÓ¹¦v"bÒòyY5&QŸHRÞ_Ù¹Íæ@ËX¦Uu©ˆ«O.š¼&Z;”Ÿ°IæÏYÂ3Hþ’<…óà6£•æU…mÎ/ (Xª¬¡{Á
                                  Æ¡‘8=÷¢rcEON•D“d/
                                  µê.J+µ(DêvZ\h5$K»ÖâCÈ$z.½­r­–ì­–à‘.y'KxÊbö¦IÁ°ƒƒ4…©¿cïEŸ”rä•ò”×2e0fâCþ";øEÐ^Ëe'«*‹ëo¿ùö-~o$übÏÇGëd8u±w³0
                                  èÉÎ.„1†Ôóó‹‹§oß½ ¥”² j]	Ü;Q
                                  ddåîýʾàf‘4>vÁ ŒKæƒLðÿ/-ù)Q·¬3‘“úóXU¢\IÜw5‚5whûN—éB¤—äp×LUäY–ÿ+¥æ…ðäwûøœy%d`ô÷øÈ2Ú‘9½kuâ7ÆFÍrvÊî´"Xš;Îã%ð†‚C¢_TÖ
                                  t°àWÝe+±ý»Tˆ|éS7l‹ÙÏÔ;3ÍÝU d´»©Èê"Žœ$Z˜F—P¢ÌZ=†]E‹vw£ ¹3»Þki'‘¥p©š\ßgPºvv"ÑŒÐ~É/q$™b{`=JmÊc
                                  ܆¼«;#õ
                                  †` ¸š}8gyÁçä7µ0t÷ºläî­‘4KS{I?xjªŒ[ßsÖ¯)†ˆ“u¨­»µ6ÅkAâC¸Mà•Ú•‰;E¶¥53µ¤¿/¹f ÈQ­CÅD}´àg„lˆj½N‹ª™/<Ø¤É3BMÜ‹$çä. °’Tȵ•…ÃQ„¯?ÓKâOY+RKÕûÌnÄ
                                  ±¬güÇΧON^âØ˜ÝöÂ]X¯©	…Ö”ÿó÷2™•{¦Å>*,Û	ëö][Pñ; ÑL[9Øç„QÎáWÓ);Ú;ïq$á.ÃìnÓ_«†Jro|e+ÕÈ`T-‘æª
                                  ²`k”O¹¨¹#‡\!ùœSÔ±—ôrByãä¡«w*ö˜ílf3$/ê.CˆlNrŠ£öwŸH£¨ŽIm”óRiç‡á‡ípðnT[DFh„‰ÖûNCÅ&WÖŠ6Ó¹èÝÁ~¿»¸+Œ4”+ð7WŸh$ÅÚèkv	Kûç+™™Å„-„œ/P…Èñ‰šjÒ6½›’êg™ã5eÎON;Þq)V£(¼7"'‡*Á#Â×ãMØÃ#|ÿ
                                  ¾?r5^'—7³„§—sDX™Íl¶EÏÒ¿(Èï­AìUÂâœÁÇ­ôj!¡ôIe
                                  ¡©ü|„£v–CE!©ÞvUàpUŽ«¥Ó5Óia5fÜúØŒØÐFÑ·üñhÌ2Ån¿¹äKqãRÅ[°JÑY!gó¤Êyd÷ºÜyl5¦JáN°LÄž
                                  ,5³+^4bÙí3ì·,¼³z*f¥þìßD…J¬?G‡N)…ç¬%Üz¯1Ü|2¸ÁdM’‰C±‰Üq ?“;ÛÔoyÏgfÎøCåoóéAè¿òÕ³-¾Ð;RÙê|ºÒ²¦Î«t¿
                                  ^vPaQš Œö±?JÐùÚ\Sšâs›uPt¡p•qZ®¤³‚£\õ¨9øu)#儬hAÚ rGP+]t^—`6îýß>§Žñ;(PNNžÑrL;¬í¶…Yv«•Z6PˆI,—úz‹<6bY9)60+æ¾Æa,Ný­£M÷¢}±í9=M{¥¸	Á‰ž'£h¿g·ÅÝ~4¬ÏÉ¡6>IÀÆ?ŸYn§‡N„³ˆµ×
                                  r·hPö$õŠ<¶ª³)¯3ý¿Þ¿y.ÏŽ;ºÔà!«‡â!‘& «½SúrvJÕRc^WbñÉþƯ¸[Îò¦tY‘ë¢I®	ÑGcöù÷Fh²iT_V'-ˆ=¦"x# =òÀX(ß®#ðr·dÝÞaóŒBå|îFÞ¸œºk¦Lè³ÓÄý½sÉÝ;
                                  {pÂ;õù^fÓu@<ÛÛzÓþÛí›	o&ØaãŸ&øpÁ$¿†ä©«œá“Æ ýŽ ,i Ɂ½#%{ûoûWöVìO?£†¹ …NˆÃÖ‡Ö÷6fN*èñ¨÷à
                                  uÂB­¨çáE×?TÙ.{O€Ú¶F3ìAÃì1HƒÜ±–;\æè‡ß'†Bß´5&E¤ƒòÚu=ú»ºÙd×9k«ä7˜­Ž·óZìQž@a‚Úl9a°;vL‹>9¸R°R•9IZ~{TsÃ%/<럠íÁ‰­£°£T†æ‰® ÉÉ"(wlä·?úÂc2‡
                                  @Ë÷ðF؉Í}GZSÙCðÛšE]¬ï~帝°‹WOiµ“ž ËáŠùµ5‚÷Ûè‡ãŽƒ|–×8ÐÊ;ZÛÂáaÏ¡½çô`‹]»ÃÇ®öœè…ê;ލMÝ`¤ŠžÒºuèóRþ!l©‚è³­œ›T}õÕAÙó)M/©0S1Í+™!ÝفÍ&ºz£¦QÚJ—ç–èêÚõQ7£Aùªkq©Éæ1gP«@?õBæ†Ã—Fã°6p‡ñáhv½vŠ4><è$Ö %Où~JÖ;›d²RÙ•¯¥vG²!½ŽÃýôÈK6	GëÙhá+IÝ‘l@¬¥~/±Ö—º
                                  W–Ò e Ã]HT·mË.~o¸}Oä‹ßR"ᅝñN‡`öJÝ´«+ó¶µUa¾VøýFÆK!*ÔëÕ(ÅEEÎ5ÂAÑ´Ì5»[Ô°oÕÁõA0\€2ý”M‹+©š‘Ö”Jg‚¼ÔM`\桤 (éøŸíQ6+;‘;2
                                  T¬W¦9…íïig?(*ël)×}6¼8NД}¶%²³¾mnèû
                                  s>ҏ_§o/Î_ÿ·òYg‰ªçëØãžÙÃŽkh…¡Ãà“ä†ñ~e§Ó3–ЗÛxÉ+zVÞ°òãѯá”íCyàæ‘ÆO…h8“‰¤™Ïí[÷Ú‹Þ´å¬Ú8ñGŽ¿´Rì~]ú–-x‘cñ®£ÃÏcÛ›8ˆÞ
                                  ’Qñï £ÅõÖÓnÏÏTƒgÇá3ŠÁÛ8äó„½£@uœ<`ÚXÙß=<ä|z÷|²v>žOúTäÇ­u7oW¨ì픵
                                  gÒ~¨;qƒÂ¾‡Öš¼xI3éBŸÜ¨s´À³ØM~Ó§½Ýþ32‡
                                  ér›5µ}7A3\†•—%¢U|â©AdÙ~YRÞ"9H éÊ'Ûi[ït<œŽhÁšÀFîm«3#½ÒÂ… g|­`?ò¸»ð”}ÍyÒ„
                                  €¬[¨¹µ_ƒÎ»–},­šÎs`Ó ‰<˜^V¶ÆÚ„SvÚì‡	‚xÖPSÒ ×
                                  x»šPé š³ãȪm‰ãžgA
                                  3jÕ²åRlñm®ü¶’èjUÞB(Ùôtí‹êÿ—.‰ßÓµym0Sê1š²ßö€ïmLN¾¦è&O2S—Úý¦Mi©Í²=7QÔ¡”§l“Œ[„ƒwô•Õ&Ñö§,,t6F;z4Ù*”Š5ÃmÒV[“Ý§Š®¹W©}
                                  5N|…J’/«$ù’J’-3Å.E¹·Hë¯üîm’ÃNxLÃçÁ¶7[_%ïÒëñà}‡hçˆ4i·/ôh¨U61m¦|ˆfX³Bq$ÆG/ñ#Nxm™Ñlöòüõ‹Ùlì;uÛ{”Í(ú£íX]¢×;‘«×Ä;9	;›ÀíµH’@„­0¼áúÒ5ónnæÎÄÿPK    쉄B4‹"Ût
                                    $                  gradientator.rbPK      =   ¡
                                  

                                  -Mark

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

                                    An RBZ file is a type of Compressed ZIP file - hence the PK at the start of the opening in Notepad++
                                    You cannot edit it that way.

                                    Take the RBZ and install it, that should leave you with an RB file containing the script's code.
                                    Edit that RB file as explained in earlier posts, using Notepad++.

                                    Replace that RB in the Plugins folder and restart SketchUp to se the changes.

                                    An alternative is to use the RB file directly, or rename the RBZ with a .ZIP file-type suffix and extract its contents.
                                    The result will contain the RB code file etc - proceeded as directed previously...

                                    TIG

                                    1 Reply Last reply Reply Quote 0
                                    • S Offline
                                      sywong425 Newcomers
                                      last edited by

                                      how do i install this plugin to SketchUp pro 2022? i tried to add it from extension manager but it didn't appear after i enabled it.

                                      1 Reply Last reply Reply Quote 0
                                      • Dave RD Offline
                                        Dave R
                                        last edited by Dave R

                                        @sywong425 said:

                                        how do i install this plugin to SketchUp pro 2022? i tried to add it from extension manager but it didn't appear after i enabled it.

                                        Scroll up a few posts to one made by SDMitch which shows the fix to make this work. I haven't tried it in SU2022 but I'll give it a try.

                                        Etaoin Shrdlu

                                        %

                                        (THERE'S NO PLACE LIKE)

                                        G28 X0.0 Y0.0 Z0.0

                                        M30

                                        %

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

                                        Advertisement