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

    [Plugin] SectionCutFace v2.0

    Scheduled Pinned Locked Moved Plugins
    65 Posts 23 Posters 65.8k Views 23 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • GaieusG Offline
      Gaieus
      last edited by

      When I use the script, I generally paint ever face within the group with the same material it cuts. So an animated script wouldn't add too much to my workflow if these faces couldn't retain the new material I gave them 😄

      Anyway, some different (enhanced?) method for section planes/cuts could be interesting if they were able to be exported (say in rendering engines and such). AFAIK it is not possible now.

      Gai...

      1 Reply Last reply Reply Quote 0
      • M Offline
        Matt666
        last edited by

        Hi TIG !
        Thank you for this script, I use it every day, it has become indispensable!

        Before this version, the edges of the Section were visible. They are unvisible now. Is there a way to create sections retaining visibility of the edges, without "edit / unhide / all"?

        I understand that you have hidden edges, they are visible if you use a different section color. Edges are nevertheless useful for dimensions.

        Thank you !

        Frenglish at its best !
        My scripts

        1 Reply Last reply Reply Quote 0
        • M Offline
          Matt666
          last edited by

          Excellent ! Thank you TIG !

          Frenglish at its best !
          My scripts

          1 Reply Last reply Reply Quote 0
          • TIGT Offline
            TIG Moderator
            last edited by

            @matt666 said:

            Hi TIG !
            Thank you for this script, I use it every day, it has become indispensable!

            Before this version, the edges of the Section were visible. They are unvisible now. Is there a way to create sections retaining visibility of the edges, without "edit / unhide / all"?

            I understand that you have hidden edges, they are visible if you use a different section color. Edges are nevertheless useful for dimensions.

            Thank you !

            You could temporarily switch all hidden geometry 'on' whilst you are dimensioning and then switch it 'off' later...

            However, if you really want the cut's edges to be always visible you can do this...
            Edit the script using Notepad or a similar plain text editor [NOT a word processor !]. Find/replace this part about 400 lines down...

            
            if f.typename == "Edge"      ###v1.4
                  f.hidden= true         ###v1.4 <<<<<----<<<<<
            end #if                      ###v1.4
            
            

            Change the single line to be 'false' rather than 'true' and then the edges won't be hidden...

            
                  f.hidden= false
            
            

            Leave the rest alone & save it. You you might want to make a copy of the script before the edit in case you are clumsy and it won't work afterwards!
            Otherwise you are sorted.

            .

            TIG

            1 Reply Last reply Reply Quote 0
            • O Offline
              orei
              last edited by

              hi my friends!!! what is the best solution to erase quickly the side of the section that i don't wanna see? do the cutsectionface, and then.. intersect the block with the rest of the model and then.. erase the other side? there isn't a script or a command, that when use cutsectionface tool, automatic erase the other part of the model??

              Thanks a lot

              1 Reply Last reply Reply Quote 0
              • pilouP Offline
                pilou
                last edited by

                @unknownuser said:

                what is the best solution

                Rectangle selection from left to right 😉

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

                1 Reply Last reply Reply Quote 0
                • O Offline
                  orei
                  last edited by

                  sorry... but i don't understand.. why you say: rectangular selection fron left to right?? upper left and lower right.. or other side??

                  And.. with this selection.. what i do?? i need to do this.. when in the process??

                  sorry.. but i'm really confused..

                  1 Reply Last reply Reply Quote 0
                  • J Offline
                    Jim
                    last edited by

                    I just wanted to say thanks for this plugin. I've been using it extensively over the past few days and it's just great.

                    I can't show the entire assembly, but here's one small component as an example.


                    ballcheckvalve2.jpg


                    ballcheckvalve3.jpg

                    Hi

                    1 Reply Last reply Reply Quote 0
                    • Y Offline
                      Yanman
                      last edited by

                      @tig said:

                      SectionCutFace.rb v2.0: update fixes an occasional visibility glitch with the cut-face's location relative to the section-plane, and layers are now sorted below the layers 'CUT-nnnn' and 'Layer0' (or the default layer-name if not EN).

                      thank you very much

                      1 Reply Last reply Reply Quote 0
                      • massimoM Offline
                        massimo Moderator
                        last edited by

                        Hi TIG, i've tried this plugin on SU6 free and didn't work for me. I had this error on ruby console:

                        Error: #<ArgumentError: wrong number of arguments(2 for 1)>
                        C:/Programmi/Google/Google SketchUp 6/Plugins/SectionCutFace.rb:361:in offset' C:/Programmi/Google/Google SketchUp 6/Plugins/SectionCutFace.rb:361:in face'
                        C:/Programmi/Google/Google SketchUp 6/Plugins/SectionCutFace.rb:458
                        C:/Programmi/Google/Google SketchUp 6/Plugins/SectionCutFace.rb:458:in `call'

                        Then i've installed it on SU7 pro (with no other plugin installed) and it worked fine.
                        A plugin conflict?
                        Thanks.
                        Massimo

                        1 Reply Last reply Reply Quote 0
                        • TIGT Offline
                          TIG Moderator
                          last edited by

                          Unknown error - unlikely clash...
                          Try again with a very simple box or two and see if it works...
                          If so, please publish what it actually fails on, so I can see what might be the problem...

                          TIG

                          1 Reply Last reply Reply Quote 0
                          • utilerU Offline
                            utiler
                            last edited by

                            Hi TIG, having a problem with SectionCutFace2.0... see attached video.
                            For some reason the cut plane is located but the layer and face color is not applied..... any ideas?

                            Cheers, 👍


                            SectionCutFace2.swf

                            purpose/expression/purpose/....

                            1 Reply Last reply Reply Quote 0
                            • massimoM Offline
                              massimo Moderator
                              last edited by

                              @tig said:

                              Unknown error - unlikely clash...
                              Try again with a very simple box or two and see if it works...
                              If so, please publish what it actually fails on, so I can see what might be the problem...

                              My try was made with a very simple box...

                              1 Reply Last reply Reply Quote 0
                              • TIGT Offline
                                TIG Moderator
                                last edited by

                                @utiler said:

                                Hi TIG, having a problem with SectionCutFace2.0... see attached video.
                                For some reason the cut plane is located but the layer and face color is not applied..... any ideas?
                                Cheers, 👍

                                Has the new faces been put onto the section-cut ? When you select the face-group can you try moving so it becomes visible... or try to reverse the section-cut's direction... Does it have just edges or a 'default coloured' face etc, or is it as expected. Get its Entity Info to see if it's on the layer that was specified (also if not check that layer was made and put into the list).

                                I suspect that the face is getting made OK but it is too near the section plane and doesn't show up - what size is this test box - scale might have an effect ? When the face-group is made it cannot be exactly on the section-cut's plane as that would mean it wasn't visible in the section (!), so it's moved a fraction of a mm into the cut so you can then see it. Try selecting the group and moving it say 0.5mm into the cut so that it becomes visible...

                                Let me know the results... 🤓

                                TIG

                                1 Reply Last reply Reply Quote 0
                                • TIGT Offline
                                  TIG Moderator
                                  last edited by

                                  http://forums.sketchucation.com/viewtopic.php?p=172583#p172583 now has v2.1 which fixes the two problems mentioned in recent posts...

                                  TIG

                                  1 Reply Last reply Reply Quote 0
                                  • utilerU Offline
                                    utiler
                                    last edited by

                                    @tig said:

                                    @utiler said:

                                    Hi TIG, having a problem with SectionCutFace2.0... see attached video.
                                    For some reason the cut plane is located but the layer and face color is not applied..... any ideas?
                                    Cheers, 👍

                                    Has the new faces been put onto the section-cut ? When you select the face-group can you try moving so it becomes visible... or try to reverse the section-cut's direction... Does it have just edges or a 'default coloured' face etc, or is it as expected. Get its Entity Info to see if it's on the layer that was specified (also if not check that layer was made and put into the list).

                                    I suspect that the face is getting made OK but it is too near the section plane and doesn't show up - what size is this test box - scale might have an effect ? When the face-group is made it cannot be exactly on the section-cut's plane as that would mean it wasn't visible in the section (!), so it's moved a fraction of a mm into the cut so you can then see it. Try selecting the group and moving it say 0.5mm into the cut so that it becomes visible...

                                    Let me know the results... 🤓

                                    2.2 works a treat, TIG You're the bomb!!!!!

                                    purpose/expression/purpose/....

                                    1 Reply Last reply Reply Quote 0
                                    • J Offline
                                      Jim
                                      last edited by

                                      Report - here is a model where version 2.3 fails with the following message. Might have to due with some very small faces on the radius of the hole.

                                      
                                      Error; #<NoMethodError; undefined method `set_visibility' for nil;NilClass>
                                      C;/Program Files/Google/Google SketchUp 7/Plugins/SectionCutFace.rb;383;in `face'
                                      C;/Program Files/Google/Google SketchUp 7/Plugins/SectionCutFace.rb;451
                                      C;/Program Files/Google/Google SketchUp 7/Plugins/SectionCutFace.rb;451;in `call'
                                      
                                      
                                      

                                      197.jpg


                                      gsb.skp

                                      Hi

                                      1 Reply Last reply Reply Quote 0
                                      • TIGT Offline
                                        TIG Moderator
                                        last edited by

                                        http://forums.sketchucation.com/viewtopic.php?p=172583#p172583
                                        Has v2.4 - error was caused by layer visibility setting if no pages/scenes set - now trapped.

                                        TIG

                                        1 Reply Last reply Reply Quote 0
                                        • E Offline
                                          Ecuadorian
                                          last edited by

                                          Such a fine ruby deserves a "digg". Or, in forum terms, a bump. Actually I meant to do it an hour ago but got busy reading some funny soapbox operas in the corner bar that happened back in July.

                                          Thank you, TIG!

                                          -Miguel Lescano
                                          Subscribe to my house plans YouTube channel! (30K+ subs)

                                          1 Reply Last reply Reply Quote 0
                                          • B Offline
                                            burgz4
                                            last edited by

                                            OK totally stressing out, i have cut sections in my sketchup model and now i cant render them in any of my pacakges kerwythea and Artlantis. So i found this website which seems to be the answer to my problem but i cant down load the the plugin as i cant find it any where. I have also herd about Zorro 2 which i also can not find. CAN ANY ONE HELP

                                            1 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 3
                                            • 4
                                            • 3 / 4
                                            • First post
                                              Last post
                                            Buy SketchPlus
                                            Buy SUbD
                                            Buy WrapR
                                            Buy eBook
                                            Buy Modelur
                                            Buy Vertex Tools
                                            Buy SketchCuisine
                                            Buy FormFonts

                                            Advertisement