• Login
sketchucation logo sketchucation
  • Login
🤑 SketchPlus 1.3 | 44 Tools for $15 until June 20th Buy Now

[Plugin] SectionCutFace

Scheduled Pinned Locked Moved Plugins
562 Posts 169 Posters 337.4k Views 168 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.
  • T Online
    TIG Moderator
    last edited by 23 Jan 2015, 10:37

    As Dave says... 😒

    SketchUp's native 'Section' tool is found under the Tools menu [or on the appropriate toolbar[s]].
    This places a SectionPlane which cuts sections through objects in the current context...
    These have no 'faces' at the cut-plane.

    BUT my 'SectionCutFace' tool only appears when one SectionPlane is selected, and then it appears in the right-click context-menu - no where else. Note how the available commands may vary, e.g. if the SectionPlane already has a SectionCutFace and the Updating option was chosen in this tool's settings dialog...

    It will add a group of 'faces' at the cut-plane - using the settings you have chosen.

    TIG

    1 Reply Last reply Reply Quote 0
    • E Offline
      ednewcome
      last edited by 26 Jan 2015, 18:54

      I love this plugin. It has revolutionised my Sketchup use! Many thanks. Ed.

      1 Reply Last reply Reply Quote 0
      • M Offline
        marceloccrestani
        last edited by 21 Feb 2015, 19:20

        Hello guys!

        I installed plugin but when I open Sketchup 2015, it shows this message attached

        Anyone can help me?


        Captura de tela 2015-02-21 17.23.18.png

        1 Reply Last reply Reply Quote 0
        • S Offline
          syahreenhishamudin11
          last edited by 20 May 2015, 06:39

          hi everyone. i got some problem to install this plugin. actually just wanna ask where to copy this plugin into my sketchup file? thanks

          1 Reply Last reply Reply Quote 0
          • T Online
            TIG Moderator
            last edited by 29 May 2015, 17:57

            @syahreenhishamudin11 said:

            hi everyone. i got some problem to install this plugin. actually just wanna ask where to copy this plugin into my sketchup file? thanks
            Like all PluginStore entries... it downloads as an RBZ archive.
            Use the native SketchUp > Preferences > Extensions - Install... button to install that RBZ.
            Once installed this particular tool only appears in the context-menu if you have just one Section-Plane Selected - read its Usage notes...

            TIG

            1 Reply Last reply Reply Quote 0
            • P Offline
              pois
              last edited by 5 Jun 2015, 16:28

              Tig... amazing plug in!

              But a problem I know has been discussed but I can't find a simple workaround. Simple object, clean geometry and shows as volume in the inspector, but I can not get it to honor the solid to poche the correct area. Any thoughts on how to message it?

              Thanks

              Dave


              Screen Shot 2015-06-05 at 12.26.34 PM.png

              1 Reply Last reply Reply Quote 0
              • D Offline
                Dave R
                last edited by 9 Jun 2015, 09:47

                Hmmm... It works correctly sometimes.
                Screenshot - 6_9_2015 , 4_51_39 AM.png

                Could you share the SKP?

                Etaoin Shrdlu

                %

                (THERE'S NO PLACE LIKE)

                G28 X0.0 Y0.0 Z0.0

                M30

                %

                1 Reply Last reply Reply Quote 0
                • T Online
                  TIG Moderator
                  last edited by 9 Jun 2015, 10:14

                  It tries to decide what is solid and what is not.
                  In your case something about the objects cut throws it off.
                  It is not God.
                  It makes mistakes.
                  However it is easily resolved.
                  Make the cut as a one-off [i.e. no to 'auto-update'], no to 'hide edges', yes to 'keep all edges', no to 'lock'.
                  When it makes it incorrectly you can just edit the group, draw over an unfaced edge and it should then get a face.
                  Paint the new faces with the material eyedropper-ed from nother face.
                  Select + <delete> on any the unwanted faces.
                  Hide edges using Erase+shift as desired.
                  Lock when done if desired.

                  TIG

                  1 Reply Last reply Reply Quote 0
                  • G Offline
                    gracacampelo
                    last edited by 9 Jul 2015, 18:41

                    Hi, when I try to install it manually it dosen't appear in the Extension Preferences Window, and every time i open sketchup again this error appears:
                    Error Loading File SectionCutFace.rb
                    Error: #<NameError: uninitialized constant TIG::SectionCutFace::DESC>
                    C:/Users/Graça/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/SectionCutFace.rb:50:in <module:SectionCutFace>' C:/Users/Graça/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/SectionCutFace.rb:17:in module:TIG'
                    C:/Users/Graça/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/SectionCutFace.rb:15:in `<top (required)>'

                    If i try it by the pluginstore and auto install it, it says: Error, can´t unZip.

                    Can you help?
                    Regards

                    1 Reply Last reply Reply Quote 0
                    • T Online
                      TIG Moderator
                      last edited by 10 Jul 2015, 10:11

                      The issue is in your Windows user-name, 'Graça'.
                      Having accented characters is user names has been well documented, it causes issues with some of SketchUp's Ruby API methods like FILE...
                      Many such errors have been addressed in recoding.
                      Indeed the SCF PluginStore ought to be better than most at resolving this.
                      I'll Private Message a beta version, which I know has additional error trapping...
                      In regard to the SectionCutFace issue... I'll also look at that and see what I can do - although I thought it was already 'future-proofed'

                      TIG

                      1 Reply Last reply Reply Quote 0
                      • T Online
                        TIG Moderator
                        last edited by 10 Jul 2015, 10:40

                        Here's v4.7 http://sketchucation.com/pluginstore?pln=SectionCutFace
                        It now traps for errors resulting from most Windows User-names which contain accented characters.
                        Note this fix only works in >= v2014...
                        This is because accented User-names can cause issues with FILE trying to get the Plugins folder in the AppData path, but in newer Ruby versions it is fixable...

                        TIG

                        1 Reply Last reply Reply Quote 0
                        • A Offline
                          AcesHigh
                          last edited by 11 Jul 2015, 14:31

                          @tig said:

                          The issue is in your Windows user-name, 'Graça'.
                          Having accented characters is user names has been well documented, it causes issues with some of SketchUp's Ruby API methods like FILE...

                          which is exactly why I hate this new location of plugins for Sketchup.

                          yeah, right, it solved a few issues regarding writing permissions in the "program files" folders. Yet, it created much bigger problems for anyone with non unicode characters in their username.

                          and solving the username problem is a MUCH MUCH BIGGER problem than solving permissions for Program Files.

                          in fact, nothing short of a complete Windows re-install will solve that, unless you are an advanced user like me and decide to try your luck with some obscure programs to move username folders AND registry editors to change ALL instances with the old username to new username in the Windows Registry...

                          Blame either Microsoft that allows non-unicode characters in the username or programmers that create programs that will be used by people around the world and do not realize usernames may have non-unicode characters.

                          ps: this rant was absolutely NOT blaming you for anything TIG... 😆

                          1 Reply Last reply Reply Quote 0
                          • M Offline
                            melene
                            last edited by 26 Jul 2015, 17:29

                            Hi there!
                            For me its impossible to installthe sectioncutface because sketchup doesnt create a "plugins" folder...
                            Any idea what to do?

                            (I'm using Sketchup Pro 14 in win 8.1. I also tried with Sketchup Make 15. No results..)

                            1 Reply Last reply Reply Quote 0
                            • D Offline
                              Dave R
                              last edited by 27 Jul 2015, 12:54

                              How are you trying to install it? And what do you mean SketchUp doesn't create a Plugins folder? It must do. The Plugins folder for sketchUp 2014 and 2015 is in User/AppData/Roaming... Did you look there.

                              In any case, if you are using one of the correct methods to install it, you don't need to access that folder anyway.

                              Etaoin Shrdlu

                              %

                              (THERE'S NO PLACE LIKE)

                              G28 X0.0 Y0.0 Z0.0

                              M30

                              %

                              1 Reply Last reply Reply Quote 0
                              • T Online
                                TIG Moderator
                                last edited by 27 Jul 2015, 13:51

                                Since the release of SketchUp version 8M2 the installation of RBZ based Plugins is handled 'automatically'.
                                Use the Preferences > Extensions > Install Archive... button.
                                Choose the Plugin's RBZ file, answer in the affirmative to the promts, and SketchUp does the rest...
                                Also note that since v2014 there is no Plugins folder inside the main SketchUp folder.
                                Instead each user gets their own Plugins folder made for them in their C:/Users/UserName/AppData/Roaming/... path - but you really never need to look in that - its creation and the finding of it to auto-install RBZ based Plugins is handled for you by SketchUp.
                                But if you must find it then use this snippet in the Ruby Console +<enter>:
                                Sketchup.find_support_file('Plugins')

                                Because you appear to have issues with some basics... please also note that this particular 'SectionCutFace' Plugin does NOT appear in any main-menu or toolbar - it only appears in the right-click context-menu if the current selection consists of one Section-Plane.

                                Also not that in v2015 the main-menu heading - previously called 'Plugins' - is now renamed 'Extensions', and it only appears if at least one loaded Plugin has added an entry into that menu.
                                Also note that some Plugins may not appear in this menu, and they can appear under any other main-menu headings [like 'Draw'], or as a Toolbar or are context-menu driven - so read the specific instructions for each Plugin...

                                TIG

                                1 Reply Last reply Reply Quote 0
                                • romboutR Offline
                                  rombout
                                  last edited by 3 Sept 2015, 21:32

                                  Sorry if this is a double question, couldnt find it quickly though.

                                  When i have a scene / model which consists of multiple layers already is it correct that sectioncut only look at the mesh on the layer0?

                                  im using su2015 make on mac yosemite 10.10.4

                                  1 Reply Last reply Reply Quote 0
                                  • D Offline
                                    Dave R
                                    last edited by 3 Sept 2015, 21:35

                                    All of your meshes, that is all edges and faces, should be on Layer 0 anyway. It's only components and groups that should get layer associations other than Layer 0.

                                    Even if you violate that most basic rule, SectionCutFace will add section cut faces for geometry that is not on Layer 0.

                                    Etaoin Shrdlu

                                    %

                                    (THERE'S NO PLACE LIKE)

                                    G28 X0.0 Y0.0 Z0.0

                                    M30

                                    %

                                    1 Reply Last reply Reply Quote 0
                                    • P Offline
                                      PP_RhuM
                                      last edited by 26 Jan 2016, 14:16

                                      Hi TIG and thanks for all your great plug-ins.

                                      I created an application as a SketchUp extension for parsing a specific model within an XML file and creating all the geometry of this model.
                                      Section planes can be contained within it and I wanted to know if it's possible to call your plugin through a command with needed parameters like this for example :

                                      sectionCutFace = TIG::SectionCutFace.new(section_plane, color, keepAllEdges, hideEdges, lock, autoUpdate, layer)

                                      Thank you for your answer.

                                      Bye.

                                      1 Reply Last reply Reply Quote 0
                                      • JQLJ Offline
                                        JQL
                                        last edited by 26 Jan 2016, 15:29

                                        I've been meaning to ask this for a long time but never thought of bothering you with this before: now seems a good chance.

                                        Is it possible to have the name and layer of the section cut face, being the same as the layer where the section resides?

                                        EXAMPLE:

                                        I have a "X PLT 1" layer only active in scene "X PLT 1"

                                        A section in layer "X PLT 1" would generate a SectionCutFace called "X PLT 1" and the Section cut layer would also be "X PLT 1".

                                        Current naming is automatic and I sometimes forget to change layer...

                                        www.casca.pt
                                        Visit us on facebook!

                                        1 Reply Last reply Reply Quote 0
                                        • T Online
                                          TIG Moderator
                                          last edited by 26 Jan 2016, 16:49

                                          How about this...
                                          The drop-down "Layer:" list defaults to a [new] top item:
                                          <Section's Layer>
                                          If that is chosen then the new SectionCutFace is assigned the selected Section's Layer, AND it is named as set out below...***
                                          then a new layer generated for this SectionCutFace:
                                          SCUT-123456
                                          then a possible Custom named if that's chosen a follow up dialog asks for a new name, if the Layer exists there is a warning and Yes to use it, No to increment it and Cancel to stop.
                                          <Customized>
                                          then the rest...
                                          Layer0 Layer1
                                          etc

                                          ***Aan extra input drop-down list "Name:", defaulting to:
                                          <After Section's Layer>
                                          with an additional options:
                                          <Customized>

                                          So if the user wants the SectionCutFace Layer matches the Section's Layer, and the SectionCutFace name can match the SectionCutFace Layer's name.

                                          If they choose the new unique Layer name it's made and assigned and the SectionCutFace is named to match that - just as now.

                                          If they give a Customized Layer name in the dialog, then as set out above, it's either made or reused, and assigned, and the SectionCutFace is named to match. If canceled or "" it aborts.

                                          If they choose a Customized SectionCutFace Name, then irrespective of the Layer naming, a dialog asks for it and it's used. If canceled or "" it aborts.

                                          TIG

                                          1 Reply Last reply Reply Quote 0
                                          • 1
                                          • 2
                                          • 17
                                          • 18
                                          • 19
                                          • 20
                                          • 21
                                          • 28
                                          • 29
                                          • 19 / 29
                                          • First post
                                            Last post
                                          Buy SketchPlus
                                          Buy SUbD
                                          Buy WrapR
                                          Buy eBook
                                          Buy Modelur
                                          Buy Vertex Tools
                                          Buy SketchCuisine
                                          Buy FormFonts

                                          Advertisement