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

    [Plugin] TIG-Split_to_plane v1.1 20130107

    Scheduled Pinned Locked Moved Plugins
    25 Posts 17 Posters 32.9k Views 17 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.
    • S Offline
      smicha
      last edited by

      TIG,

      Splitting removes co-planar edges. Is it possible to add extra option to prevent the plugin from deleting the edges?

      Sebastian

      BTW. This plugin is just a miracle πŸ˜„ Now I cannot work without it.

      https://lh3.googleusercontent.com/-AoXjt9ys_Os/UTHF3a5WnMI/AAAAAAAAC70/uHBY-OPLKVU/s853/splittoplane.jpg

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

        @Smicha

        Unfortunately this tool uses the API's solid-methods, which always remove coplanar-edges from any coplanar-faces sharing a material [even when one is reversed!]: so it's an unavoidable side-effect.
        If alternate coplanar-faces have different materials then their coplanar-edges are kept.
        But then redrawing a few edges, or using my 'SplitSausage'/'SplitDonut' tools to reinstate the removed coplanar-edges, is done quickly enough...

        TIG

        1 Reply Last reply Reply Quote 0
        • S Offline
          smicha
          last edited by

          Thanks TIG for reply. I just figured out the proper way of using SplitSausge and this helps a lot.

          1 Reply Last reply Reply Quote 0
          • BoxB Offline
            Box
            last edited by

            I've noticed an occasional oddity with this Tig, sometimes the split produces one half and a whole.
            I'll add the model in case you can see what it is about this component that makes it happen.


            Split to plane.gif


            Split.skp

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

              The problem object has several small facets forming the rounded parts.
              I suspect this is the issue.
              If a 'solid-tools' operation [done manually or in code] fails because tiny edges don't get made and a face is missed out, then usually it bales out with an error.
              It's failing to fail properly !

              The way the 'split' tool works is that a copy is made on top of the original instance, then a large 'block' group is made to one side of the defined 'plane' and it is then subtracted from the original; next another large 'block' group is made to the other side of the plane and subtracted from the copy.
              If all goes well you should get two solid groups abutting at the defined 'plane'.
              In your case, one side fails to be made and the subtract tool bales out leaving one of the instances unchanged, sometimes it will make the other part 'solid', but oddly it doesn't always make it as a 'solid' group on the partially successful side either - try a few tests and check it in Entity Info...
              The solid-tool's subtract should fail but it doesn't in this occasional odd case !!

              TIG

              1 Reply Last reply Reply Quote 0
              • BoxB Offline
                Box
                last edited by

                Thanks Tig, that makes sense. I know what to look for if it does it in future. It was only a random doodle in this case but I have had it happen 'rarely' when working on something specific. I took this accidental opportunity to show it to you.
                Thanks again for looking and explaining.

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

                  This is an Amazing tool! Good Job!
                  I just hope it can split even a non-solid groups of object or components and also regroup it into two.
                  perhaps it makes it better. 😎

                  1 Reply Last reply Reply Quote 0
                  • C Offline
                    cazz
                    last edited by

                    It would be a "10/10" slicing/splitting plugin , if it could be applied to multiple "solid" group or component at one time.

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

                      Select your groups/instances, perhaps copy them to one side, and make them into a group.
                      Now edit the group and select all of its contents, and Explode.
                      Exit the edit, and the new group should report as being 'solid' - if not, then the newly exploded geometry must interact/intersect to stop the 'solidity' - fix any issues with help of SolidInspector etc...

                      Now the 'Split' should work OK on this new group...

                      TIG

                      1 Reply Last reply Reply Quote 0
                      • C Offline
                        cazz
                        last edited by

                        Dear TIG
                        Thank you for the suggestion.
                        May I humbly suggest that if the plugin could be coded to ....

                        1. "remember" the Groups/Components selected by the user
                        2. "remember" the splitting plane defined by 3 points by the user
                        3. then carry out by "repeating" the splitting action to the Groups/Components one by one?

                        I am totally ignorant in Ruby programming, hope you don't mind if I've a silly suggestion.

                        Regards

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

                        Advertisement