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
    正在載入更多貼文
    • 從舊到新
    • 從新到舊
    • 最多點贊
    回覆
    • 在新貼文中回覆
    登入後回覆
    此主題已被刪除。只有擁有主題管理權限的使用者可以查看。
    • TIGT 離線
      TIG Moderator
      最後由 編輯

      @kloggs said:

      It won't down load because I don't have an app installed to download it. I see it says it needs debabeliser which is meant to automatically install, but that is obviously not happening. Ill try to download that first.
      I just don't understand what you have said... 😕
      If you download any extension's RBZ file from the PluginStore, then your web-browser should automatically download it and put it into your Downloads folder - as a single RBZ file.

      It is possible to break an RBZ - e.g. if you have your browser set up oddly - e.g. to extract contents of a compressed file, instead of simply downloading them; or you manually open the RBZ with a compression tool and mess around with its contents.
      None of this is needed.
      Note how an RBZ is actually a ZIP file with a different file-type suffix.

      First off check that your web-browser is NOT recognizing the RBZ as a ZIP file and extracting it somewhere.
      Check its settings...
      The fact you say it seems to be missing deBableizer suggests the RBZ is somehow being 'extracted' wrongly.
      Note that deBableizer is a helper script and it ships inside this toolset's RBZ.
      You do NOT need to get t separately, if everything is set up properly.

      Assuming you do manage to get the RBZ downloaded into your Downloads folder [i.e. it stays in one piece], then afterwards you simply get SketchUp itself to extract the RBZ's contents and put them into the correct locations for you...
      [Using its built-in Extension Manager > "Install Extension..." red-button - as I have explained in earlier posts...

      TIG

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

        @kloggs said:

        It won't down load because I don't have an app installed to download it. I see it says it needs debabeliser which is meant to automatically install, but that is obviously not happening. Ill try to download that first.

        After you download the file to your computer you should have 2Dtools_v7.6.rbz in your Downloads folder. In SketchUp, go to window>Extension Manager and click on the Install Extension button. Then navigate to the Downloads folder, select 2Dtools_v7.6.rbz and click Open. Then click Yes.

        As for deBabelizer, that will be installed automatically as TIG indicated.

        @unknownuser said:

        Dependencies: deBabelizer.rb [auto-installed with this plugin]

        Etaoin Shrdlu

        %

        (THERE'S NO PLACE LIKE)

        G28 X0.0 Y0.0 Z0.0

        M30

        %

        1 條回覆 最後回覆 回覆 引用 0
        • M 離線
          maszka
          最後由 編輯

          2d tool fillet works only with "zerO" value for radious. when I enter any digits to make round corner the value disappear and the fillet command ends with sharp corner. Any tips how to fix it?

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

            How are you inputting these fillet-radius values ?

            Activate the tool and type in the fillet's radius...
            Then pick the two edges to be filleted...

            Do NOT click in the measurements-box.

            Just type in the required value "in space" [using your locale's decimal-separator - . or ,]

            Read the status-bar prompts...

            It works fine for me...

            TIG

            1 條回覆 最後回覆 回覆 引用 0
            • S 離線
              Seanspace
              最後由 編輯

              Hi Tig

              Thank you for this amazing plugin. When I press the download button I only get the .rbz installer, I dont seem to get a zip file. Am I missing something here? The issue is that I can't access the hatch files? Any advice would be appreciated. Thank you so much for an awesome plugin!

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

                @seanspace said:

                When I press the download button I only get the .rbz installer, I dont seem to get a zip file. Am I missing something here? The issue is that I can't access the hatch files? Any advice would be appreciated.

                You're only supposed to get the rbz file. If you are downloading that directly to your computer, go to SketchUp>Window>Extension Manager and click on Install Extension (red button). Navigate to the downloaded RBZ file, select it, click Open...

                You could install the Sketchucation Extension Store (from the link at the top of the page) and let it automatically install extensions like this one for you. It'll help you keep extensions you've installed with it up to date and provide you with a bundle of extensions from SCF to install automatically when you move to a new computer or upgrade to a new version of SketchUp.

                Etaoin Shrdlu

                %

                (THERE'S NO PLACE LIKE)

                G28 X0.0 Y0.0 Z0.0

                M30

                %

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

                  There are no ZIP folders to download - an RBZ is a special ZIP folder used by SketchUp to contain all of an Extensions necessary files needed, and it is installed using the Extension Manager as Dave has explained...

                  Once the RBZ is installed the hatch image-files are located in subfolders in the 2Dtools subfolder, which is installed into your Plugins folder.
                  There are two subfolders - Hatching & HatchingExtra.

                  By default the 2Dhatching tool opens a file-browser dialog, starting the first subfolder and you can then choose one of those images to use as your hatch pattern [there are 49 JPG images and an explanatory ReadMe.txt file]: alternatively you can navigate up one level, then back down, into the second subfolder to access those extra hatches [there are 41 JPG images]...

                  TIG

                  1 條回覆 最後回覆 回覆 引用 0
                  • S 離線
                    skulizhnikova
                    最後由 編輯

                    Hello!
                    Is there any way to get public Api of 2d Tool? I want to use it for adding 2d text vie script

                    Thanks,
                    Svetlana

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

                      There is no API.
                      It is 'all rights reserved ©'.
                      However you can read the individual RB files in the 2Dtools subfolder to see how they work and 'borrow' parts of their code for use in your own RB file...
                      If you simply want to 'call' the 2dTextTool from your own script look at the 2D#loader.rb file to see what it loads...
                      Around line #119 it creates the command for "2D Text". It uses the command:
                      Sketchup.active_model.select_tool TextTool2D.new
                      Which will fail when replicated outside of the main module !
                      You need to use something like:
                      Sketchup.active_model.select_tool(Tools2D::TextTool2D.new)

                      If you want to use just a part of what it does you'll need to delve into the actual 2DtextTool.rb in the subfolder... there you can see how the user can input values in the dialog, make the component to suit and place it...

                      TIG

                      1 條回覆 最後回覆 回覆 引用 0
                      • S 離線
                        skulizhnikova
                        最後由 編輯

                        Thank you!

                        1 條回覆 最後回覆 回覆 引用 0
                        • E 離線
                          errror404
                          最後由 編輯

                          Hi TIG, i tried using the plugin (sketchup 2017), but I couldn't find any way to change the scale of the line style (only the width). I try making a custom one (which would solve my problem), but the dialog box to make the custom styles doesn't show up when I select it.

                          Thanks

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

                            You can change the styled-line's width, but you must make a new style for you self - e.g. you want the dashes to be longer and more gaps...

                            TIG

                            1 條回覆 最後回覆 回覆 引用 0
                            • E 離線
                              errror404
                              最後由 編輯

                              @tig said:

                              You can change the styled-line's width, but you must make a new style for you self - e.g. you want the dashes to be longer and more gaps...

                              Thanks... sometimes the dialog for the Custom Style doesn't come up.

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

                                You need to right-click in open space - if there's something below the cursor the dialog won't open, as the context-menu takes preference.

                                PS:
                                I just tested it in the latest version of 2020 and I see the issue !
                                Earlier versions should be OK...
                                Because the latest update adds the ability to invert a selection and make an empty group/component that 'steals' the focus for the custom dialog.
                                I'll look at circumventing it...

                                TIG

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

                                  Here's v7.7
                                  https://sketchucation.com/pluginstore?pln=2Dtools
                                  It has been adjusted to sidestep some v2020 issues re context-menus & right-click.
                                  The LineStyle and Hatching dialogs will now open with a TAB-key tap in all versions...

                                  TIG

                                  1 條回覆 最後回覆 回覆 引用 0
                                  • E 離線
                                    errror404
                                    最後由 編輯

                                    @tig said:

                                    Here's v7.7
                                    It has been adjusted to sidestep some v2020 issues re context-menus & right-click.
                                    The LineStyle and Hatching dialogs will now open with a TAB-key tap in all versions...

                                    Thanks!! the glitch is gone 😎

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

                                      Hi,

                                      Line and Text tools work well in 2D Tools v7.7 plugin. The other tools make Sketchup "not responding" and freeze it. Need "Force Quit" and restart Sketchup. Help do nothing when clicking on it. Ruby console remain empty with the none working tools.

                                      Mac OS
                                      Catalina 10.15.6

                                      Sketchup PRO
                                      20.2.171

                                      Thanks,
                                      Robert

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

                                        Please explain exactly the steps you take - with which tool[s] - to get this issue...

                                        TIG

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

                                          1- Open a new file in cm
                                          2- Set the view to "Iso"
                                          3- Pick the "Rectangle Icon" in the floating menu bar
                                          4- Click a first point at the origin
                                          5- Drag on the green axis
                                          6- Click again on the second point
                                          7- Sketchup freeze

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

                                            I just repeated your listed steps exactly, and the Rectangle tool worked perfectly for me.
                                            Have you reset the axes - they should be the default set up - ?
                                            What is your Z-plane set to ?
                                            When you say 'drag' are you holding the mouse button down ?
                                            Each of the 3 points should be picked with a click... the 3rd point also accepts a typed in size + enter
                                            What are your Model > Units settings - e.g. ensure snapping is off ??

                                            TIG

                                            1 條回覆 最後回覆 回覆 引用 0
                                            • 1
                                            • 2
                                            • 35
                                            • 36
                                            • 37
                                            • 38
                                            • 39
                                            • 40
                                            • 37 / 40
                                            • 第一個貼文
                                              最後的貼文
                                            Buy SketchPlus
                                            Buy SUbD
                                            Buy WrapR
                                            Buy eBook
                                            Buy Modelur
                                            Buy Vertex Tools
                                            Buy SketchCuisine
                                            Buy FormFonts

                                            Advertisement