sketchucation logo sketchucation
    • 登入
    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!
    🔌 Smart Spline | Fluid way to handle splines for furniture design and complex structures. Download

    [Plugin] Gradientator v1.21

    已排程 已置頂 已鎖定 已移動 Plugins
    54 貼文 24 Posters 47.4k 瀏覽 24 Watching
    正在載入更多貼文
    • 從舊到新
    • 從新到舊
    • 最多點贊
    回覆
    • 在新貼文中回覆
    登入後回覆
    此主題已被刪除。只有擁有主題管理權限的使用者可以查看。
    • bomastudioB 離線
      bomastudio
      最後由 編輯

      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 條回覆 最後回覆 回覆 引用 0
      • utilerU 離線
        utiler
        最後由 編輯

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


        2015-11-13_1316.png

        Just Curious...

        1 條回覆 最後回覆 回覆 引用 0
        • Dave RD 離線
          Dave R
          最後由 編輯

          @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 條回覆 最後回覆 回覆 引用 0
          • TIGT 離線
            TIG Moderator
            最後由 編輯

            @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 條回覆 最後回覆 回覆 引用 0
            • utilerU 離線
              utiler
              最後由 編輯

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

              Just Curious...

              1 條回覆 最後回覆 回覆 引用 0
              • utilerU 離線
                utiler
                最後由 編輯

                😉 Worked a treat, guys. Thanks!!!

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

                Just Curious...

                1 條回覆 最後回覆 回覆 引用 0
                • pilouP 離線
                  pilou
                  最後由 編輯

                  Works fine! 😄

                  domino.jpg

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

                  1 條回覆 最後回覆 回覆 引用 0
                  • G 離線
                    GianfrancoGalli
                    最後由 編輯

                    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 條回覆 最後回覆 回覆 引用 0
                    • sdmitchS 離線
                      sdmitch
                      最後由 編輯

                      @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 條回覆 最後回覆 回覆 引用 0
                      • J 離線
                        JaysonBata
                        最後由 編輯

                        why is it not functioning to my sketchup 2017? 😞

                        1 條回覆 最後回覆 回覆 引用 0
                        • Dave RD 離線
                          Dave R
                          最後由 編輯

                          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 條回覆 最後回覆 回覆 引用 0
                          • D 離線
                            dlightsey
                            最後由 編輯

                            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 條回覆 最後回覆 回覆 引用 0
                            • Dave RD 離線
                              Dave R
                              最後由 編輯

                              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 條回覆 最後回覆 回覆 引用 0
                              • I 離線
                                its3Dmade
                                最後由 編輯

                                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 條回覆 最後回覆 回覆 引用 0
                                • TIGT 離線
                                  TIG Moderator
                                  最後由 編輯

                                  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 條回覆 最後回覆 回覆 引用 0
                                  • S 離線
                                    sywong425 Newcomers
                                    最後由 編輯

                                    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 條回覆 最後回覆 回覆 引用 0
                                    • Dave RD 離線
                                      Dave R
                                      最後由 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 條回覆 最後回覆 回覆 引用 0
                                      • 1
                                      • 2
                                      • 3
                                      • 2 / 3
                                      • 第一個貼文
                                        最後的貼文
                                      Buy SketchPlus
                                      Buy SUbD
                                      Buy WrapR
                                      Buy eBook
                                      Buy Modelur
                                      Buy Vertex Tools
                                      Buy SketchCuisine
                                      Buy FormFonts

                                      Advertisement