• Login
sketchucation logo sketchucation
  • Login
πŸ€‘ SketchPlus 1.3 | 44 Tools for $15 until June 20th Buy Now

[Plugin][EVAL] TIG-CutNfill

Scheduled Pinned Locked Moved Plugins
89 Posts 31 Posters 85.6k Views
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 Offline
    TIG Moderator
    last edited by 30 Nov 2013, 11:27

    I'm onto the issue...

    There's a stupid typo in the code that throws up an error message once - the first run of the tool - it's now fixed in v1.1***

    The SKP you PM'd to me threw up three or four immediate things.
    The EXTG & Proposed meshes do not have a common bounding box.
    Select each in turn [use the Outliner] to show this.
    Explode them and regroup [in turn] and then recheck they overlay properly too.

    The site is very large, most of ot is unaffected and EXTG & Proposed are the same.
    However, ever facets needs inspecting - cutting the site down to just the part that's changed will be much faster

    An issue that could affect things is also the vertical faces in the Proposed - I'll trap for those... watch out for v1.1...***

    TIG

    1 Reply Last reply Reply Quote 0
    • T Offline
      TIG Moderator
      last edited by 1 Dec 2013, 13:16

      An updated v1.1 is now available in the PluginStore.
      http://sketchucation.com/resources/pluginstore?pln=TIG-CutNfill-v1.0
      http://sketchucation.com/plugin/760-TIG-CutNfill-v1.0
      It will also be available shortly in the Shop...

      It is now faster and less likely to failure - it tries to mend non-Solid Cut/Fill results that can occasionally occur when two Solids are intersected.

      Note that if you have previously purchased a license you do not need to buy a new one.
      Just download/install the latest EVAL version and it will find and use the license-file already in the Tool's subfolder...

      TIG

      1 Reply Last reply Reply Quote 0
      • T Offline
        TIG Moderator
        last edited by 1 Dec 2013, 13:17

        An updated v1.1 is now available in the PluginStore. http://sketchucation.com/resources/pluginstore?pln=TIG-CutNfill It is also be available as a pre-licensed version in the SketchUcation Shop...
        http://sketchucation.com/shop/plugins/767-cutnfill-v1-1

        It is now faster and less likely to failure - it tries to mend non-Solid Cut/Fill results that can occasionally occur when two Solids are intersected.

        Note that if you have previously purchased a license you do not need to buy a new one.
        Just download/install the latest EVAL version and it will find and use the license-file already in the Tool's subfolder...

        TIG

        1 Reply Last reply Reply Quote 0
        • U Offline
          unearthed
          last edited by 3 Dec 2013, 19:00

          Thank you TIG, that's one amazing plugin, even gives me a nice little solid cut/fill object, SU just became a whole lot more useful.


          cf.JPG

          Growplan - People ∩ Plants ∩ Place

          windows 7 64b, 4GB RAM, SU 8.0.16846
          Gimp, QGIS, Vectorworks 12, Bricscad 11

          1 Reply Last reply Reply Quote 0
          • F Offline
            fantoosh420
            last edited by 19 Jan 2014, 17:32

            I had done this in a project manualy... and surprisengly using same color code πŸ˜† πŸ˜† . this was done almost 1 year back... good to see that there is a plugin though.


            SITE 98.jpg


            CUT & FILL 15.jpg


            Sketchup 14.0.4900
            Core i5 760 @ 3.00 Ghz. 8 GB RAM windows 7 SP1 X64

            1 Reply Last reply Reply Quote 0
            • T Offline
              TIG Moderator
              last edited by 19 Jan 2014, 22:17

              @Amit

              Great minds think alike... πŸ˜„

              Or perhaps the SCF PluginStore collects more data about you than we admit to πŸ˜‰

              TIG

              1 Reply Last reply Reply Quote 0
              • P Offline
                pillarpom
                last edited by 14 Oct 2014, 10:46

                This is the very useful plugins for me. Unfortunately I can't get it done for me. It keeps showing that I have to align the corner of the two groups although I've done so.
                Can someone tells me what I was wrong.


                cut_fill.JPG

                1 Reply Last reply Reply Quote 0
                • T Offline
                  TIG Moderator
                  last edited by 16 Oct 2014, 16:00

                  Because the two 'solid' groups are subtracted to get the two cut and fill volumes in the Z/blue direction, then the XY/red-green dimensions and outline of the 'skirt' need to be identical and overlaid exactly.
                  The 'bounding-box' of both groups should appear the same and at the same point at bounds.min...
                  It see your Red axis but where is the green/blue ?
                  It's wise to always model near the origin 0,0,0 (0;0;0 if you use ',' as your decimal separator)
                  To see the 'origin' of the groups switch on Model > Components > Show axes.
                  You can always explode and regroup each of these groups IN TURN to ensure they coincide.
                  To Move exactly to the origin, preselect a group and click a bottom minimal corner on the 'skirt' as the start point, then type [0,0,0] ( OR [0;0;0] ) plus <enter> - repeat the Move for the other group, starting with the exact same point on the 'skirt'...
                  They should now be overlaid exactly.

                  TIG

                  1 Reply Last reply Reply Quote 0
                  • T Offline
                    TIG Moderator
                    last edited by 17 Oct 2014, 12:47

                    An updated v1.2 is now available in the PluginStore. http://sketchucation.com/resources/pluginstore?pln=TIG-CutNfill It is also be available as a pre-licensed version in the SketchUcation Shop... ***

                    It is now faster and less likely to failure - it tries to mend non-Solid Cut/Fill results that can occasionally occur when two Solids are intersected.

                    *** Note that if you have previously purchased a license you do not need to buy a new one.
                    Just download/install the latest EVAL version and it will find and use the license-file already in the Tool's subfolder...

                    TIG

                    1 Reply Last reply Reply Quote 0
                    • KrisidiousK Offline
                      Krisidious
                      last edited by 17 Oct 2014, 21:11

                      Thank you sir...

                      By: Kristoff Rand
                      Home DesignerUnique House Plans

                      1 Reply Last reply Reply Quote 0
                      • P Offline
                        pillarpom
                        last edited by 18 Oct 2014, 11:10

                        @tig said:

                        Because the two 'solid' groups are subtracted to get the two cut and fill volumes in the Z/blue direction, then the XY/red-green dimensions and outline of the 'skirt' need to be identical and overlaid exactly.
                        The 'bounding-box' of both groups should appear the same and at the same point at bounds.min...
                        It see your Red axis but where is the green/blue ?
                        It's wise to always model near the origin 0,0,0 (0;0;0 if you use ',' as your decimal separator)
                        To see the 'origin' of the groups switch on Model > Components > Show axes.
                        You can always explode and regroup each of these groups IN TURN to ensure they coincide.
                        To Move exactly to the origin, preselect a group and click a bottom minimal corner on the 'skirt' as the start point, then type [0,0,0] ( OR [0;0;0] ) plus <enter> - repeat the Move for the other group, starting with the exact same point on the 'skirt'...
                        They should now be overlaid exactly.

                        Thank you very much for your comment. I'll try again.

                        1 Reply Last reply Reply Quote 0
                        • P Offline
                          pillarpom
                          last edited by 20 Oct 2014, 08:12

                          @pillarpom said:

                          @tig said:

                          Because the two 'solid' groups are subtracted to get the two cut and fill volumes in the Z/blue direction, then the XY/red-green dimensions and outline of the 'skirt' need to be identical and overlaid exactly.
                          The 'bounding-box' of both groups should appear the same and at the same point at bounds.min...
                          It see your Red axis but where is the green/blue ?
                          It's wise to always model near the origin 0,0,0 (0;0;0 if you use ',' as your decimal separator)
                          To see the 'origin' of the groups switch on Model > Components > Show axes.
                          You can always explode and regroup each of these groups IN TURN to ensure they coincide.
                          To Move exactly to the origin, preselect a group and click a bottom minimal corner on the 'skirt' as the start point, then type [0,0,0] ( OR [0;0;0] ) plus <enter> - repeat the Move for the other group, starting with the exact same point on the 'skirt'...
                          They should now be overlaid exactly.

                          Thank you very much for your comment. I'll try again.

                          Still can't get it done,used v1.2 . I've also attached the skp. file for you to review. Please check it out, thank you in advance.


                          Test_cut_fill.zip

                          1 Reply Last reply Reply Quote 0
                          • T Offline
                            TIG Moderator
                            last edited by 20 Oct 2014, 09:58

                            @pillarpom

                            If you look at the EXTG and Proposed groups [with Hidden Gemomtry ON] you can see that they do not have the same 'skirt', so when one is subtracted from the other weird volumes result.
                            The differences should be in the blue Z direction.
                            Making the below ground parts with a different outline is a recipe for a failure...Capture.PNG
                            Because the bottom left most vertex [minX, minY, 0] does not align, the the pair are not considered as being properly overlaid - hence the message.
                            However, relocating the single vertex to be coincident will not resolve the matter.
                            You need to ensure that the two 'skirts' are wholly coincident, otherwise when they are subtracted there will be left over slivers of volume making the CutNfill result invalid, even if you do manage to make one ! Capture2.PNG

                            TIG

                            1 Reply Last reply Reply Quote 0
                            • P Offline
                              pillarpom
                              last edited by 21 Oct 2014, 03:36

                              @TIG
                              Thank you for your suggestion. The hard part then is how to make the skirt identical. My contour lines were made in Autocad with the same identical property line and then moved to the actual Z value of each contour. The contour lines were imported to Sketchup and transformed to surface by Sandbox. I could not control the boundary afterwards, but they looked almost identical. After the surfaces were made I then used your plugin to make the skirts for each terrain. That was what the result came out. Any suggestion please. Thank you.

                              1 Reply Last reply Reply Quote 0
                              • T Offline
                                TIG Moderator
                                last edited by 21 Oct 2014, 11:06

                                Work on a copy as it might get messy !

                                View > Hidden Geometry ON so you can see all edges and vertices.
                                Use a Style [temporarily] that makes end-points very noticeable.
                                Edit the EXTG group.
                                Select all of the 'skirt' by fence - i.e. leave out the top surface.
                                Use Edit > Copy to put it onto the clipboard.
                                No exit that edit.
                                Edit the Proposed group.
                                Select all of the 'skirt' by fence - i.e. leave off the top surface.
                                Press <delete> to remove it.
                                The top surface should be unaffected.
                                Now immediately use Edit > Paste-In-Place to insert the clipboard's 'skirt' copy.
                                Immediately use the context-menu to Group that - we need to temporarily separate it from the other geometry we will be editing.
                                The Proposed group will no longer be 'solid', since we know that the two surfaces do not overlay exactly in plan, and of course the temporary skirt-group will also lead to non-solidity in any case...
                                Now deselect everything inside the edit, and use the Move tool to relocate the misplaced vertices on the top-surface's perimeter to snap them in turn onto the temporarily grouped skirt's equivalent top edge vertices, or in some cases an edge [if there is no vertex at the desired location].
                                The perimeter of the Proposed top-surface should align exactly in level [Z] with the equivalent edges in the EXTG, since you have no cut/fill beyond the edges ??
                                Once you are happy that you have 'healed' the Proposed top-surface's vertices onto the grouped-skirt test for solidity...
                                Explode the skirt-group so it merges with the top geometry.
                                No exit the edit and Entity Info should report 'solid'...
                                If so you can try CutNfill again...
                                If still bot solid Undo until the skirt-group exists again... repeat fixing the vertices until it is a solid ...

                                TIG

                                1 Reply Last reply Reply Quote 0
                                • T Offline
                                  TIG Moderator
                                  last edited by 4 Feb 2016, 10:35

                                  Here's v2.0 http://sketchucation.com/pluginstore?pln=TIG-CutNfill It's now reworked and signed for full v2016 compatibility, and various minor improvements for the newer SUp versions - with Skirt making code refreshed etc.
                                  If you have an earlier licensed version of TIG-CutNfill, then please get this updated EVAL version and when it is installed, the earlier license code is reused.
                                  So you do not need to buy another license [although if you do I won't mind (no refunds!) πŸ˜‰ ]

                                  TIG

                                  1 Reply Last reply Reply Quote 0
                                  • O Offline
                                    ohemstock
                                    last edited by 22 Feb 2016, 15:44

                                    Hi,

                                    I have downloaded the latest evaluation version, it looks like this tool is exactly what I require. However I get the following error on loading SketchUp:

                                    Error Loading File TIG-CutNfill.rb
                                    (eval):65:in `require': uninitialized constant SketchupExtension::TIG::CutNfill::FOLDER

                                    Please advise, I am keen to get this working

                                    Thanks

                                    1 Reply Last reply Reply Quote 0
                                    • O Offline
                                      ohemstock
                                      last edited by 22 Feb 2016, 16:21

                                      Hi again,

                                      Just paid for the licensed version as I am sure this tool will make my life easier. However the same problem persists: Error Loading File TIG-CutNfill.rb
                                      (eval):65:in `require': uninitialized constant SketchupExtension::TIG::CutNfill::FOLDER

                                      Cheers,

                                      Ollie

                                      1 Reply Last reply Reply Quote 0
                                      • T Offline
                                        TIG Moderator
                                        last edited by 23 Feb 2016, 20:28

                                        Following on from the last two posts...

                                        After some not inconsiderable reverse-engineering...
                                        I have now made a v8 compatible version of the v2.0 RBZ - for both the EVAL and LICENSED versions...

                                        So, if you need one please contact me by Private Message...

                                        Then I'll PM you an RBZ that will work on your 'olde' version 8...

                                        BUT if you have bought a license, then please give details of your user-name, email etc, so that it can be verified...

                                        I am not as stupid as I look !

                                        TIG

                                        1 Reply Last reply Reply Quote 0
                                        • L Offline
                                          lmfarmer
                                          last edited by 6 Mar 2017, 20:27

                                          Earlier today I purchased CutNfill. 2 questions:

                                          1. should I have received my license number by now, or does it take a while for the email to be sent? I did get the PayPal receipt.
                                          2. using the Skirt Tool on my unlocked Location Terrain group, created using Add Location, doesn't make a solid. Is there something I'm missing?

                                          Here's what I thought I'd be able to do: Add Location, unlock Location Terrain, use Skirt Tool, copy Location Terrain (now a solid), rename one of them EXTG, rename other PROPOSED, move PROPOSED over 1000', modify PROPOSED, move it back 1000', which should put it back in exactly the same spot as EXTG. Obviously I can't do this if I can't make Location Terrain a solid, so I think I'm missing something.

                                          I'm going to go back now and experiment with creating a terrain from scratch and then using the SKIRT TOOL, while I wait for an answer here. Maybe I'll figure out the answer to my own question πŸ˜„

                                          Thanks!

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

                                          Advertisement