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

    [Plugin] SectionCutFace

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

      I think you're expecting something this plugin doesn't do nor is it intend to do. This plugin doesn't modify the existing entity it just creates a new one which is the face on the section plane. If you expect to end up with the entity actually cut, you need Zorro instead.

      Etaoin Shrdlu

      %

      (THERE'S NO PLACE LIKE)

      G28 X0.0 Y0.0 Z0.0

      M30

      %

      1 條回覆 最後回覆 回覆 引用 0
      • J 離線
        juanchiarq
        最後由 編輯

        @dave r said:

        I think you're expecting something this plugin doesn't do nor is it intend to do. This plugin doesn't modify the existing entity it just creates a new one which is the face on the section plane. If you expect to end up with the entity actually cut, you need Zorro instead.

        Thank you Dave, that worked almost perfectly for me, the only bad thing is that I have to fill every wall to get a black filled effect when I uses de Section Cut, and also when I do a manual cut the SketchUp crash, I don't know why... 😕

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

          Not without seeing your model.

          Etaoin Shrdlu

          %

          (THERE'S NO PLACE LIKE)

          G28 X0.0 Y0.0 Z0.0

          M30

          %

          1 條回覆 最後回覆 回覆 引用 0
          • Y 離線
            yi_design
            最後由 編輯

            awsome!

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

              Hi, I love this tool however I occasionally get a problem when trying to add section cut face. It will sometimes only fill in the faces of a few of the objects, and then some faces are left open. Is this a glitch? has anyone else experienced this and does anyone know a workaround.

              Thanks

              Luke

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

                If you are having intersecting objects it can't always double-guess which should be solid and which should be void.
                This was discussed not so long ago. http://forums.sketchucation.com/viewtopic.php?p=406295#p406295
                It'd be impossible to have an algorithm that'd be right 100% because what you see as solid might be more logically void and vice versa...
                If you leave the option ON to keep all edges a manual fix is relatively straight forward.
                Sometimes tiny or gigantic objects cause intersection issues too, but that's rare...

                TIG

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

                  I have a question, sometimes when using this plugin I take the section view into Layout and when I try and Dimension the section the Dimension tool will not snap to any points around where there is a cut face. Am I doing something wrong?

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

                    There are no edges on a native Section-cut, so you can't snap to anything.

                    The SectionCutFace tool adds edges/faces to the selected Section-cut, but by default unfaced edges will be removed - so set 'Keep Un-Faced Edges'==Yes to keep them.

                    Also all edges are 'hidden' by default, so they are not there to snap to either - so set 'Hide Edges'==No so you can see them.

                    Then you should have some edges to snap on to in the Section-cut...

                    TIG

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

                      Thanks TIG, This just saved a colleague a ton of time.

                      1 條回覆 最後回覆 回覆 引用 0
                      • J 離線
                        Jorocco
                        最後由 編輯

                        Thanks TIG for this excellent plugin.

                        I have a section in my drawing that creates two separate closed shapes. You could imagine a plane sectioning a donut. SectionCutFace creates the section face for only one of these shapes. The other one is left alone. I was wondering if there were any options or workarounds to get the other shape filled in with a face.

                        Thanks,
                        John

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

                          @jorocco said:

                          Thanks TIG for this excellent plugin.

                          I have a section in my drawing that creates two separate closed shapes. You could imagine a plane sectioning a donut. SectionCutFace creates the section face for only one of these shapes. The other one is left alone. I was wondering if there were any options or workarounds to get the other shape filled in with a face.

                          Thanks,
                          John
                          I must imagine the form.. if you have two overlapping shapes the tool has to decide which parts are solid and which are void.
                          There's a discussion and example images in an earlier post in this thread.
                          Sometimes it guessing wrong when there are several possibilities.
                          If your forms don't overlap, or are properly intersected solids without ambiguous 'internal partitions' then you won't get this.
                          However, it is relative simple to fix in a post process...
                          Set the options to include unfaced edges, show edges etc.
                          After the section-face is made temporarily set your view to Monochrome mode; then edit its container [group] and remove any unwanted faces by selecting them + delete OR to add missing faces over-draw an edge to auto-form a face etc where it's wanted. Because all of the edges are coplanar they should all potentially auto-face with an edge-over-draw... but sometimes SketchUp can't cope with complex outlines and you'll have to add temporary 'diagonal lines' across the required face outline to form several facets; when you have all of the face pieces made you can erase the unwanted coplanar temporary edges to merge them back into a single face.

                          TIG

                          1 條回覆 最後回覆 回覆 引用 0
                          • J 離線
                            Jorocco
                            最後由 編輯

                            @tig said:

                            @jorocco said:

                            Thanks TIG for this excellent plugin.

                            I have a section in my drawing that creates two separate closed shapes. You could imagine a plane sectioning a donut. SectionCutFace creates the section face for only one of these shapes. The other one is left alone. I was wondering if there were any options or workarounds to get the other shape filled in with a face.

                            Thanks,
                            John
                            I must imagine the form.. if you have two overlapping shapes the tool has to decide which parts are solid and which are void.
                            There's a discussion and example images in an earlier post in this thread.
                            Sometimes it guessing wrong when there are several possibilities.
                            If your forms don't overlap, or are properly intersected solids without ambiguous 'internal partitions' then you won't get this.
                            However, it is relative simple to fix in a post process...
                            Set the options to include unfaced edges, show edges etc.
                            After the section-face is made temporarily set your view to Monochrome mode; then edit its container [group] and remove any unwanted faces by selecting them + delete OR to add missing faces over-draw an edge to auto-form a face etc where it's wanted. Because all of the edges are coplanar they should all potentially auto-face with an edge-over-draw... but sometimes SketchUp can't cope with complex outlines and you'll have to add temporary 'diagonal lines' across the required face outline to form several facets; when you have all of the face pieces made you can erase the unwanted coplanar temporary edges to merge them back into a single face.

                            Well, my donut example was maybe not the best because I created such a shape as a test, and the sections were added perfectly. I have attached my actual drawing. There are three closed shapes in this section, and the plugin has correctly filled two in red. However the shape that's like an upside down 'U' has not been filled in. I will experiment with the instructions you've given in your reply (I'm having a little trouble following it but maybe with some practice...) but wanted to clarify the problem.

                            Thanks,
                            John


                            a section with three closed portions

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

                              John

                              I'm unsure why this might be failing - indeed it looks like it ought to work 😕
                              It's not perfect, but if you use the settings I suggested then you should get something that is quickly editable/fixable...

                              TIG

                              1 條回覆 最後回覆 回覆 引用 0
                              • N 離線
                                nramadhiny
                                最後由 編輯

                                installed the plugin in the right location and the ruby console have successfully loaded it, but when I clicked 'Add section cut face' on the right-click menu, it wouldn't show the dialog option. Even resulted that the command "add section-cut face-parameter" vanished when I moved my cursor somewhere. Help me!

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

                                  @nramadhiny said:

                                  installed the plugin in the right location and the ruby console have successfully loaded it, but when I clicked 'Add section cut face' on the right-click menu, it wouldn't show the dialog option. Even resulted that the command "add section-cut face-parameter" vanished when I moved my cursor somewhere. Help me!

                                  Which Mac version? Do you have both read and write permissions set for the Plugins folder for your username?

                                  Etaoin Shrdlu

                                  %

                                  (THERE'S NO PLACE LIKE)

                                  G28 X0.0 Y0.0 Z0.0

                                  M30

                                  %

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

                                    Put the .rb file in the root HD.../plugins folder, NOT the 'users' equivalent.
                                    The 'plugins' folder needs to have full read+write permissions.

                                    I don't understand what you say about the Ruby Console 😕
                                    Once the script is in the correct plugins folder and you restart Sketchup you need do no more...
                                    It auto-loads.
                                    When you have just one Section-Plane selected, then a context-menu entry [which will run the tool] is added to the context-memu's list of commands.
                                    Do NOT try to [re]load or run it from the Ruby Console - this will break things !

                                    On picking the tool from the context-menu... a dialog appears and you choose options, on OK it processes and adds a SectionCutFace group [obviously you need to be cutting through something to get a face forming etc]... 😒

                                    TIG

                                    1 條回覆 最後回覆 回覆 引用 0
                                    • C 離線
                                      caronte01
                                      最後由 編輯

                                      Thanks TIG. I use this plugin a lot with Layout.

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

                                        first of all thank you TIG on this ruby, but I have one small problem like the one below!please fix it, I used SU8

                                        http://i589.photobucket.com/albums/ss336/duchuy1303/sectioncutface04_zps445e13ed.gif

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

                                          I don't see a problem with that. Could you actually explain the problem you are having?

                                          Etaoin Shrdlu

                                          %

                                          (THERE'S NO PLACE LIKE)

                                          G28 X0.0 Y0.0 Z0.0

                                          M30

                                          %

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

                                            What problem?
                                            Is it the colors' lists' lengths ?
                                            The list of available colors is all current model-materials and then all 'standard colors'.
                                            The default is 'Black'.
                                            The list will be longer that SketchUp's native inputbox can handle 'on-screen' BUT if you select the field and type the first letter of the color desired - e.g. you want 'White' so press W - it jumps to 'Wheat' then use the up/down arrow-keys to select the one desired - 'White'...
                                            You can always accept the defaults and later edit the grouped faces and give them any color/material you like... Also you can edit the current Style for the SectionCut so the edge color and width are also changed...

                                            TIG

                                            1 條回覆 最後回覆 回覆 引用 0
                                            • 1
                                            • 2
                                            • 7
                                            • 8
                                            • 9
                                            • 10
                                            • 11
                                            • 28
                                            • 29
                                            • 9 / 29
                                            • 第一個貼文
                                              最後的貼文
                                            Buy SketchPlus
                                            Buy SUbD
                                            Buy WrapR
                                            Buy eBook
                                            Buy Modelur
                                            Buy Vertex Tools
                                            Buy SketchCuisine
                                            Buy FormFonts

                                            Advertisement