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

      This plugin crashes SU when used on an M1 Mac.

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

        These issues are known with M1 MACs - it's fine on other OSs and PCs.
        I'm working with a skilled MAC Ruby-scripter and I think we'll have a working solution this week, so parts are already fixed !

        TIG

        1 條回覆 最後回覆 回覆 引用 0
        • K 離線
          kostiaarh
          最後由 編輯

          I would like to ask for help with a small change to the 2D Fillet code.
          I do a little woodworking (cabinet) and would like some tools to make my job easier. I tried to change the code myself, but my knowledge in programming is very insufficient). So I am asking you to help me. Also, let me say up front that I know of other chamfering and rounding tools, but they don't work for me for various reasons. They do not create a solid arc or curve, and the chamfer function has no methods to set different chamfer distances.
          Now about the code. I would like to have a simple 3D Fillet/Chemfer. The tool should work with objects (group or component) regardless of nesting level. I added the code to the onMouseMove method and now it works.

          	
          def onMouseMove(flags, x, y, view)
          		###
          		ph = view.pick_helper
          		ph.do_pick(x,y)
          		@poss_edge = ph.picked_edge
          		###
          		
          		center_ip = Sketchup;;InputPoint.new
          		center_ip.pick(view, x, y)
          		view.model.active_path = center_ip.instance_path.valid? ? center_ip.instance_path ; nil
          		
          		if @state==0
          			if @alt ### chamfer
          ..................
          
          

          But here there is a problem) How to remove residual geometry? Look at the picture. Am I understanding this correctly? I need to find the residual face and push it to the parallel face. right? Or maybe there are other ways to do it differently?


          Знімок екрана 2023-08-26 144933.jpg

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

            I've enjoyed using 2D tools for years, especially LINE STYLE.
            Recently my Line Style tool doesnt work correctly. All it does is hide lines.
            In the past, you would right-click out in space beyond the model, and you'd get a context menu. (width, color, etc) That doesn't happen anymore. There's no menu.
            Other tools in the set seem to work OK. Any ideas? Anyone else having this issue?

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

              Down on the status bar, I see:

              2D Line Style: 1.0 Continuous_____Black. Right-Click(empty space)= Settings-Dialog. ,Enter>/Double-Click=End.

              But when I right click in empty space, there's no menu that pops up.

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

                @sketchydog said:

                Recently my Line Style tool doesnt work correctly.

                What version of SketchUp?

                I just tested it in SketchUp 2023 and it works fine.
                Click on the picture

                Etaoin Shrdlu

                %

                (THERE'S NO PLACE LIKE)

                G28 X0.0 Y0.0 Z0.0

                M30

                %

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

                  I starting to rewrite it to be compatible with newer SketchUps...
                  It was never published,
                  In the newer version - tTry the tapping the TAB key instead of right-clicking in open-space.
                  Changes to SketchUp messed with right-clicking !
                  Try the latest version from the PluginStore...
                  But I've PM'd my v8 RBZ to you and Dave R for your info...

                  TIG

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

                    @dave r said:

                    @sketchydog said:

                    Recently my Line Style tool doesnt work correctly.

                    What version of SketchUp?

                    I just tested it in SketchUp 2023 and it works fine.
                    [attachment=0:3jtn2osm]<!-- ia0 -->2dt.gif<!-- ia0 -->[/attachment:3jtn2osm]

                    Dave- I'm on 2022.0.354 64 bit on PC

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

                      @tig said:

                      I starting to rewrite it to be compatible with newer SketchUps...
                      It was never published,
                      In the newer version - tTry the tapping the TAB key instead of right-clicking in open-space.
                      Changes to SketchUp messed with right-clicking !
                      Try the latest version from the PluginStore...
                      But I've PM'd my v8 RBZ to you and Dave R for your info...

                      TIG
                      Tab doesn't do anything.
                      What I get when right clicking in empty space (with nothing selected) is a context menu that has:

                      Invert Selection
                      Make Component
                      Make Group

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

                        @sketchydog said:

                        I'm on 2022.0.354 64 bit on PC

                        Please update your forum profile.

                        Etaoin Shrdlu

                        %

                        (THERE'S NO PLACE LIKE)

                        G28 X0.0 Y0.0 Z0.0

                        M30

                        %

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

                          @sketchydog said:

                          @tig said:

                          I starting to rewrite it to be compatible with newer SketchUps...
                          It was never published,
                          In the newer version - tTry the tapping the TAB key instead of right-clicking in open-space.
                          Changes to SketchUp messed with right-clicking !
                          Try the latest version from the PluginStore...
                          But I've PM'd my v8 RBZ to you and Dave R for your info...

                          TIG
                          I just downloaded that RBZ. I'll let you know in a second.

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

                            @tig said:

                            I starting to rewrite it to be compatible with newer SketchUps...
                            It was never published,
                            In the newer version - tTry the tapping the TAB key instead of right-clicking in open-space.
                            Changes to SketchUp messed with right-clicking !
                            Try the latest version from the PluginStore...
                            But I've PM'd my v8 RBZ to you and Dave R for your info...

                            TIG
                            YES! Now TAB works for the menu!
                            Right click gives me the three items listed previously.
                            THANK YOU FOR THIS AND FOR YOUR AWESOME SERVICE TO OUR COMMUNITY!

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

                              @TIG
                              There's an annoying bug in fillet tool:
                              When the tool has to extend existing edges it creates new colinear overlapping
                              ones above existing. Ideally ONE not broken edge is expected. Any chance to fix it please?
                              Also, is it possible to grant an option to NOT create Cpoints at fillet centers at all?
                              P.S. Hereby is skp file. try to fillet the edges on the left with radius of 10.
                              Thanks


                              kkkk.skp


                              SketchUp_YZ3z7DNGfh.png

                              1 條回覆 最後回覆 回覆 引用 0
                              • A 離線
                                alskaro
                                最後由 編輯

                                Hello ! Thank you very much for this really promising plugin and for all the others !
                                I'm on an 2019 i7 mbp and only the line is working with 7.7 version, rectangle and others make the wheel spins forever and I must force quit... Am I doing something wrong? Do you have any idea ?
                                Thank you sir,
                                have a nice day

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

                                  @alskaro
                                  What is your actual OS ?
                                  Is there any output in the Ruby Console ?
                                  There are some issues with some of the tools in newer MAC OSs.
                                  A fix has not yet been published.

                                  TIG

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

                                    @TIG any possibility to fix the overlapping lines bug please (described on 7 Dec 23, 3 posts above)? Or at least any comment? Thank you in advance

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

                                      @rv1974 17b9ef9a-2149-4f90-9899-898cedd08453-SketchUp_TcrN0WVpCS.gif
                                      The plugin creates new (extended) edges without deleting the old (shorter) ones.
                                      Some additional extra steps (Edge inspector) are needed every time the fillet tool was used which is ridiculous. Its important because it creates overlapping profiles if this faulty linework will serve as paths in Profile Builder.

                                      TIGT 1 條回覆 最後回覆 回覆 引用 0
                                      • R rv1974 referenced this topic on
                                      • TIGT 離線
                                        TIG Moderator @rv1974
                                        最後由 編輯

                                        @rv1974

                                        There's several things wrong with the 2Dtoolset in the latest SketchUp versions, but I've attached a corrected RB file, which you should substitute in the 2Dtools subfolder and restart SketchUp to sync.
                                        It will break the 'signing' but provided your Extension Manager's Loading Policy is set to 'Unrestricted' it will load OK...
                                        It fixes the duplicated lines issue you've reported...
                                        2DfilletTool.rb

                                        TIG

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

                                          thank you very much

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

                                            You can add chamfer tool same auto cad

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

                                            Advertisement