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

    [Plugin] 2D Tools

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

      His error indicate a syntax error.

      Sketchup::set_status_text ("Length"), SB_VCB_LABEL instead which Ruby 1.8.6 throws an error at now that it's stricter than previous version.

      Possible he has used different tools than you?

      @Wyatt: exactly when you do get these errors? What tools/operations are you doing?

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

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

        I don't know, Thomas. I've gone through all of the 2D tools just now and didn't get any errors.

        Etaoin Shrdlu

        %

        (THERE'S NO PLACE LIKE)

        G28 X0.0 Y0.0 Z0.0

        M30

        %

        1 條回覆 最後回覆 回覆 引用 0
        • W 離線
          wyatt
          最後由 編輯

          Ok, figured it out. The 2D tools that don't work for me are these:
          http://forums.sketchucation.com/viewtopic.php?t=21445

          v4.6 works fine. Are the plugins on the other thread an earlier build?

          1 條回覆 最後回覆 回覆 引用 0
          • TIGT 線上
            TIG Moderator
            最後由 編輯

            As Thomthom says v8 is more unforgiving of having only part of the arguments parenthesized - I will check my code and reissue to suit... B U T . . .
            However, there is no occurrence of the text Sketchup::set_status_text ("Length"), SB_VCB_LABEL ANYWHERE in the current 2DlineTool.rb - it's always the correctly syntaxed Sketchup::set_status_text((db"Length"),SB_VCB_LABEL) ??? 😕
            So I am a bit mystified - do you have the correct version downloaded from the main page zip file...

            TIG

            1 條回覆 最後回覆 回覆 引用 0
            • thomthomT 離線
              thomthom
              最後由 編輯

              o_O

              Peculiar. Though, I did find the syntax alien to be TIG's...

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

              1 條回覆 最後回覆 回覆 引用 0
              • TIGT 線上
                TIG Moderator
                最後由 編輯

                @thomthom said:

                o_O
                Peculiar. Though, I did find the syntax alien to be TIG's...

                It was 'wrong' in some older versions.... BUT not in the more recent ones - and they coincidentally suits v8 too............

                TIG

                1 條回覆 最後回覆 回覆 引用 0
                • F 離線
                  Fredquentin
                  最後由 編輯

                  Thank's a lot

                  Reg@rds Fred

                  1 條回覆 最後回覆 回覆 引用 0
                  • TIGT 線上
                    TIG Moderator
                    最後由 編輯

                    Here's v4.7 http://forums.sketchucation.com/viewtopic.php?p=185760#p185760
                    The MAC TAB-key press glitch is trapped using key-up check instead of key-down in 2DlineTool.
                    MAC 'help' openURL glitch fixed.

                    TIG

                    1 條回覆 最後回覆 回覆 引用 0
                    • kenK 離線
                      ken
                      最後由 編輯

                      TIG

                      Some how I don't think this is what you wanted.

                      And thanks.

                      Ken


                      ScreenHunter_01 Sep. 23 06.41.jpg

                      Fight like your the third monkey on Noah's Ark gangway.

                      1 條回覆 最後回覆 回覆 引用 0
                      • TIGT 線上
                        TIG Moderator
                        最後由 編輯

                        @unknownuser said:

                        TIG
                        Some how I don't think this is what you wanted.
                        And thanks.
                        Ken

                        Ken - somehow the zip got messed up! 😳
                        I'll post v4.7 again!

                        TIG

                        1 條回覆 最後回覆 回覆 引用 0
                        • TIGT 線上
                          TIG Moderator
                          最後由 編輯

                          😳 v4.7 zip was messed up!
                          It's now fixed http://forums.sketchucation.com/viewtopic.php?p=185760#p185760 - please re-download...

                          I know that it has been downloaded a few times in the corrupted form.
                          If you have it then either don't install it or if you already have done so, then please remove all of the 'wrong' files from the Plugins folder...
                          Otherwise you'll get multiple toolbar-buttons etc...

                          In the Plugins folder you should only have just two related files - deBableizer.rb and 2D#.rb - AND also a 2DTools folder containing lots of things.

                          Everything else with '2d' is their name [files (~22nr) and folders (2nr)] is wrong and needs removing.

                          The CadFathersIcons.zip file is also wrongly located and needs removing to tidy up.

                          Also there will be a folder called Icons that unfortunately might have merged with other tools' folder of the same name - it does no harm to have the extra image files in there... BUT to tidy up remove any files in it with '2D' in their name - if that empties the folder then you can also delete that.

                          Similarly the Hatching folder has been misplaced - it's unlikely to have merged - but check if it only contains image files starting with 'PATT' and a ReadMe.txt file - if so the whole folder can go...

                          Sorry for this mess up... 😳

                          TIG

                          1 條回覆 最後回覆 回覆 引用 0
                          • jeff hammondJ 離線
                            jeff hammond
                            最後由 編輯

                            confirmed, tab now works on mac.

                            i didn't know that's what tab was supposed to do. ha
                            that makes 2D tools even more awesome ☀

                            thank you

                            dotdotdot

                            1 條回覆 最後回覆 回覆 引用 0
                            • B 離線
                              Brett McAllister
                              最後由 編輯

                              Hi Tig
                              I noticed the edit 2d text function no longer works in version 8.
                              The option to edit the text shows up in the context menu but doesn't pop up a dialog box.
                              This is the error I got.
                              Error: #<NameError: undefined local variable or method db' for TextTool2D:Class> 2DtextTool.rb:379:in edit'
                              Running windows xp sp2

                              Cheers
                              Brett

                              1 條回覆 最後回覆 回覆 引用 0
                              • D 離線
                                dedmin
                                最後由 編輯

                                When trying to use Edit 2D text I got this:

                                Error; #<NoMethodError; undefined method `db' for TextTool2D;Class>
                                C;/Program Files/Google/Google SketchUp 8/Plugins/2Dtools/2DtextTool.rb;379;in `edit'
                                C;/Program Files/Google/Google SketchUp 8/Plugins/2Dtools/2D#loader.rb;186;in `activate'
                                C;/Program Files/Google/Google SketchUp 8/Plugins/SectionCutFace.rb;437;in `call'
                                C;/Program Files/Google/Google SketchUp 8/Plugins/SectionCutFace.rb;437
                                
                                

                                WinXP SP3

                                1 條回覆 最後回覆 回覆 引用 0
                                • TIGT 線上
                                  TIG Moderator
                                  最後由 編輯

                                  @brett mcallister said:

                                  Hi Tig
                                  I noticed the edit 2d text function no longer works in version 8.
                                  The option to edit the text shows up in the context menu but doesn't pop up a dialog box.
                                  This is the error I got.
                                  Error: #<NameError: undefined local variable or method db' for TextTool2D:Class> 2DtextTool.rb:379:in edit'
                                  Running windows xp sp2
                                  Cheers
                                  Brett

                                  You should have deBabelizer.rb in the Plugins folder. It's in the main zip file?

                                  TIG

                                  1 條回覆 最後回覆 回覆 引用 0
                                  • TIGT 線上
                                    TIG Moderator
                                    最後由 編輯

                                    @dedmin said:

                                    When trying to use Edit 2D text I got this:

                                    Error; #<NoMethodError; undefined method `db' for TextTool2D;Class>
                                    > C;/Program Files/Google/Google SketchUp 8/Plugins/2Dtools/2DtextTool.rb;379;in `edit'
                                    > C;/Program Files/Google/Google SketchUp 8/Plugins/2Dtools/2D#loader.rb;186;in `activate'
                                    > C;/Program Files/Google/Google SketchUp 8/Plugins/SectionCutFace.rb;437;in `call'
                                    > C;/Program Files/Google/Google SketchUp 8/Plugins/SectionCutFace.rb;437
                                    > 
                                    

                                    WinXP SP3

                                    Not sure about the SectionCut error ???
                                    You should have deBabelizer.rb in the Plugins folder. It's in the main zip file?

                                    TIG

                                    1 條回覆 最後回覆 回覆 引用 0
                                    • TIGT 線上
                                      TIG Moderator
                                      最後由 編輯

                                      v4,7 error... However, I have now managed to reproduce the glitch 😒 with v8 ... and v4.8 will be issued shortly 😒 ...

                                      TIG

                                      1 條回覆 最後回覆 回覆 引用 0
                                      • D 離線
                                        dedmin
                                        最後由 編輯

                                        @tig said:

                                        @dedmin said:

                                        When trying to use Edit 2D text I got this:

                                        Error; #<NoMethodError; undefined method `db' for TextTool2D;Class>
                                        > > C;/Program Files/Google/Google SketchUp 8/Plugins/2Dtools/2DtextTool.rb;379;in `edit'
                                        > > C;/Program Files/Google/Google SketchUp 8/Plugins/2Dtools/2D#loader.rb;186;in `activate'
                                        > > C;/Program Files/Google/Google SketchUp 8/Plugins/SectionCutFace.rb;437;in `call'
                                        > > C;/Program Files/Google/Google SketchUp 8/Plugins/SectionCutFace.rb;437
                                        > > 
                                        

                                        WinXP SP3

                                        Not sure about the SectionCut error ???
                                        You should have deBabelizer.rb in the Plugins folder. It's in the main zip file?

                                        Reinstalled the 4.7 and now the error is this:

                                        Error; #<NoMethodError; undefined method `db' for TextTool2D;Class>
                                        C;/Program Files/Google/Google SketchUp 8/Plugins/2Dtools/2DtextTool.rb;379;in `edit'
                                        C;/Program Files/Google/Google SketchUp 8/Plugins/2Dtools/2D#loader.rb;186;in `activate'
                                        
                                        
                                        1 條回覆 最後回覆 回覆 引用 0
                                        • TIGT 線上
                                          TIG Moderator
                                          最後由 編輯

                                          I've now got these new v8 errors trapped in '2D Text' and '2D Line Style' "edit" modes - see v4.8 http://forums.sketchucation.com/viewtopic.php?p=185760#p185760

                                          Double checking that no other methods are rubbished by the less forgiving PC-Ruby in v8... 😒

                                          EDIT: There shouldn't be any others - but that's not to say you lot won't find something that's broken... keep looking 😕

                                          TIG

                                          1 條回覆 最後回覆 回覆 引用 0
                                          • D 離線
                                            dedmin
                                            最後由 編輯

                                            Thanks,TIG! 👍 👍

                                            1 條回覆 最後回覆 回覆 引用 0
                                            • 1
                                            • 2
                                            • 12
                                            • 13
                                            • 14
                                            • 15
                                            • 16
                                            • 39
                                            • 40
                                            • 14 / 40
                                            • 第一個貼文
                                              最後的貼文
                                            Buy SketchPlus
                                            Buy SUbD
                                            Buy WrapR
                                            Buy eBook
                                            Buy Modelur
                                            Buy Vertex Tools
                                            Buy SketchCuisine
                                            Buy FormFonts

                                            Advertisement