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

    [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.
    • M Offline
      MartinK
      last edited by

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

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

        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 Reply Last reply Reply Quote 0
        • TIGT Offline
          TIG Moderator
          last edited by

          @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 Reply Last reply Reply Quote 0
          • J Offline
            Jorocco
            last edited by

            @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 Reply Last reply Reply Quote 0
            • TIGT Offline
              TIG Moderator
              last edited by

              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 Reply Last reply Reply Quote 0
              • N Offline
                nramadhiny
                last edited by

                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 Reply Last reply Reply Quote 0
                • Dave RD Offline
                  Dave R
                  last edited by

                  @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 Reply Last reply Reply Quote 0
                  • TIGT Offline
                    TIG Moderator
                    last edited by

                    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 Reply Last reply Reply Quote 0
                    • C Offline
                      caronte01
                      last edited by

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

                      1 Reply Last reply Reply Quote 0
                      • D Offline
                        duchuy2001
                        last edited by

                        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 Reply Last reply Reply Quote 0
                        • Dave RD Offline
                          Dave R
                          last edited by

                          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 Reply Last reply Reply Quote 0
                          • TIGT Offline
                            TIG Moderator
                            last edited by

                            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 Reply Last reply Reply Quote 0
                            • M Offline
                              mrossk
                              last edited by

                              I wonder if he was joking about your British spelling of "colour"?

                              https://www.mkaplanfinefurniture.com/

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

                                If he really needs 'Color' it'd be easy enough to open the .rb file in Notepad [or a similar plain-text editor] and do a Find/Replace on 'Colour' >> 'Color', indeed he can 'translate' the prompts/dialogs etc to say what ever he wants... 'Couleur' if he were French, 'Farbe' if German, etc...

                                BUT I suspect something less obscure, and easier to fix ? πŸ˜’

                                TIG

                                1 Reply Last reply Reply Quote 0
                                • D Offline
                                  duchuy2001
                                  last edited by

                                  Actually my english is not so good!
                                  My problem can not open the list to select the color !
                                  Thank TIG !

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

                                    I notice that your Sketchup version appears unusual... can you correct it or confirm what version you are actually using... Why not upgrade to a more recent version. Many tools are designed to make use of capabilities only available in newer versions of Sketchup...

                                    The list should simply highlight, and then 'drop-down' [see the earlier tips on access off-screen names - by typing in the first letter and then using the arrow-keys to move the selected item up/down].
                                    Try the tool with the Ruby Console open.
                                    Are there any error messages?

                                    I am at a loss as to why the list is not working...

                                    Do you have any Materials that contain a '|' in their name?
                                    This could break the list[s], because Sketchup uses '|' to separate the items a list.
                                    However, it should only make a list containing non-existent materials as it would be split wrongly.
                                    However, if there are '|' characters in names, try renaming them in the Materials Browser dialog without a '|'.
                                    Then retry the tool.

                                    If you are still stuck with 'Black', but you want a different color for the cut-line change that simply in the Style settings after making the 'cut'. Also you can edit the Section-Cut-Face group [double-click], then Select-All [Ctrl+A] and then use the Material paintbucket tool to change the color of the selected faces to anything you wish - from available materials or by making a new material as desired...

                                    TIG

                                    1 Reply Last reply Reply Quote 0
                                    • V Offline
                                      vinzdou
                                      last edited by

                                      wanna see

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

                                        @vinzdou said:

                                        wanna see
                                        Please explain yourself sensibly...
                                        You 'want to see' what ? πŸ˜•
                                        There is Google Translate readily available to you on the Internet, of you don't speak English... and surely more that two real English words could be strung together to convey something a little more meaningful πŸ˜’

                                        TIG

                                        1 Reply Last reply Reply Quote 0
                                        • N Offline
                                          Nortti
                                          last edited by

                                          I have a MacPro OS X 10.6.8 running SketchUp Pro 8. I have used the plugin 'Section-CutFace' a number of times before(in this model even), but now it makes SketchUp crash every time, but only in this model. When I activate the plugin I get a spinning wheel for awhile and then it crashes. The model I am working in is 9.9mb, I have 'disabled' all other plugins, repaired my disk and permissions. Yet, it still will not work! Any suggestions are greatly appreciated. Thanks!

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

                                            @Nortti

                                            You give few clues as to what it is you are doing...
                                            What are you trying to 'cut'?
                                            An image would help...

                                            You must appreciate that it's an 'intersection'.
                                            If there are thousands of faces to intersect and form a new set of faces from then it can take some time.
                                            If Sketchup becomes unresponsive it doesn't mean it's crashed.
                                            It's just putting all of its resources into making the new geometry...
                                            What do you mean by crash??
                                            However, a full Bugsplat! does mean issues!!
                                            Limiting the 'on' layers to objects that will be 'cut' is a way of optimizing the processing - every visible object in the section-planes context must be considered for 'cutting' otherwise... even when it's not cut...

                                            Have you also purged-unused and fixed-problems under Model-Info > Statistics ?

                                            Also remember that Sketchup can't cope with very tiny or very very large geometry... does your model include any of this ?

                                            TIG

                                            1 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 7
                                            • 8
                                            • 9
                                            • 10
                                            • 11
                                            • 28
                                            • 29
                                            • 9 / 29
                                            • First post
                                              Last post
                                            Buy SketchPlus
                                            Buy SUbD
                                            Buy WrapR
                                            Buy eBook
                                            Buy Modelur
                                            Buy Vertex Tools
                                            Buy SketchCuisine
                                            Buy FormFonts

                                            Advertisement