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

    [Plugin] 2dBoolean ver1.3.1 beta UPDATE 20 dec 2013

    Scheduled Pinned Locked Moved Plugins
    88 Posts 8 Posters 48.8k Views 8 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.
    • jolranJ Offline
      jolran
      last edited by

      2 intersection gave a big improvement! Not 100% accurate, but I think it's good enough. One can force it by selecting the component and running the plugin again. It almost always sort out the fuzz, then.

      Still intersecting with face.clone. Had some problem with intersecting with Sketchup.active.model selection...Expecting entitiy something..

      Speed is better, even with 2 intersections πŸ˜‰

      Did a test with a "heavy" component, ver 1.1 VS current dev.code. VER 1.1: 41.483 seconds. current dev.code: 4.278 seconds 😲

      Do we move forward, TIG? Or delve deeper in this problem, to make perfection?


      2 intersections.jpg

      1 Reply Last reply Reply Quote 0
      • jolranJ Offline
        jolran
        last edited by

        Ok, I have put out the new version 1.2 for testing. So you have something to play with this weekend.
        It should be an improvement..

        KEEP THE OLDER VERSION AT HANDS! I won't be able to fix issues this weekend πŸ˜„

        Thank you TIG for all the help.

        I haven't optimized the iterator exactley as TIG suggested, so that can be improved...

        There are more issues to deal with later on.. But let's not spoil all the fun.

        1 Reply Last reply Reply Quote 0
        • andybotA Offline
          andybot
          last edited by

          Joel, thanks so much for this plugin!! I have 2d elevations that I needed to glue to a massing, and this works absolutely perfect for my needs. Good work!
          Andy

          http://charlottesvillearchitecturalrendering.com/

          1 Reply Last reply Reply Quote 0
          • A Offline
            AcesHigh
            last edited by

            can anyone check if this pluging works with meshes?

            when importing several pieces from GoogleMaps, the pieces usually end overlapping each other, causing texture errors.

            You cant use 3D boolean because obviously, meshes, are not solids.

            So I would usually "zorro" the different meshes, and cut the parts that overlap. Obviously, a HUGE work when you are dealing with dozens of different GoogleEarth imported meshes. If this plugin works with those, it will be great!

            1 Reply Last reply Reply Quote 0
            • jolranJ Offline
              jolran
              last edited by

              Hey, I missed some posts in here!

              Andybot. I'm glad someone have use for this plugin! Appreciate it!(we all know TIG's part of this of course)

              AcesHigh.

              I've seen your request in other post regarding this subject. Like I said. I think it lies more in the 3d domain, since the surfaces are not flat.

              IF the intersecting geometry would be flat at intersectionpoints, 2dBoolean should activate. But I see your case you would need a subtraction-algorythm.

              At this point 2dboolean only subtracts geometry outside the face it's lying on(or selected face).

              What you are asking for is really needed, and I will see what can be done about that in the future. I'm kinda busy at the moment.

              Have to deal with Hatchfaces webdialog, which unfortunaly proves very difficult.
              I thought I only had to learn Javascript, HTML, CSS and JQUERY πŸ˜‰ . But there is need for some JSON and maybe AJAX as well. Kinda much required to make a simple dialog if you ask me.

              1 Reply Last reply Reply Quote 0
              • jolranJ Offline
                jolran
                last edited by

                Nice update.

                But! If you are gonna further developp this tool, and display it in this thread with my icons included. Please don't scramble the code, so other can benefit from your code like you did on mine and Tig's.

                Besides your plugin will be lost in this thread posting it here.

                Best regards.

                1 Reply Last reply Reply Quote 0
                • JuantxoJ Offline
                  Juantxo
                  last edited by

                  Sorry, but actually I prefer the code scrambled. The code is not very optimized because I did it to translate to C after.
                  I don't use any line of your code. I used a simplicans planar theory. (I taked your one icon, feel free of use my icons)

                  Best regards

                  1 Reply Last reply Reply Quote 0
                  • jeff hammondJ Offline
                    jeff hammond
                    last edited by

                    @juantxo said:

                    Sorry, but actually I prefer the code scrambled. The code is not very optimized because I did it to translate to C after.
                    I don't use any line of your code. I used a simplicans planar theory. (I taked your one icon, feel free of use my icons)

                    Best regards

                    watch out, the πŸ€“ 's around here will unscramble your code and make sure you're telling the truth πŸ’š

                    dotdotdot

                    1 Reply Last reply Reply Quote 0
                    • jolranJ Offline
                      jolran
                      last edited by

                      @unknownuser said:

                      I don't use any line of your code

                      Ok. If you say so.

                      @unknownuser said:

                      I taked your one icon, feel free of use my icons

                      That's ok. I don't mind that. 2 min PS for me.

                      @unknownuser said:

                      Sorry, but actually I prefer the code scrambled

                      Ok, about that. I find it somewhat strange to post stuff for free, scrambled. thats not very helpful for other programmers.. Personally I rather tell to much then nothing at all.

                      1 Reply Last reply Reply Quote 0
                      • JuantxoJ Offline
                        Juantxo
                        last edited by

                        Actually I'm working in 2D boolean of polygons in Sketchup because I need for other stuff. I did this plugin using simplicians theory.
                        May be could be usefull for someone.

                        You need to select two groups with a general planar polygon.
                        General planar polygon = A single polygon or a polygon consisting of a set of non-intersecting single polygons.

                        DOWNLOAD 2d_simplex_bool.rbz

                        http://skelion.net/bool/2dbool.jpg

                        1 Reply Last reply Reply Quote 0
                        • jolranJ Offline
                          jolran
                          last edited by

                          New version 1.3.1 added:

                          http://sketchucation.com/forums/viewtopic.php?f=323%26amp;t=39661

                          Whole lot is rewritten so there may be lot of things broken. I suggest a lot of testing and report back bugs and wishes πŸ˜„

                          Intersections should now be a Little quicker. And some new stuff as well.

                          Make sure to read the manual in second post.

                          Will try and add to pluginstore later.

                          1 Reply Last reply Reply Quote 0
                          • jolranJ Offline
                            jolran
                            last edited by

                            Manual

                            Since ver 1.3.1


                            manual_2dBoolean.zip

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

                              I added it to the SketchUcation PluginStore for you... πŸ€“
                              http://sketchucation.com/resources/pluginstore?pln=2dBoolean
                              You might want to edit the listing and add documentation, release notes etc...

                              TIG

                              1 Reply Last reply Reply Quote 0
                              • jolranJ Offline
                                jolran
                                last edited by

                                Thank you TIG. Really appreciate it!

                                I havent done any update for a long time and must get up to date with how the pluginstore works, more in detail.

                                I suppose I should move the manual there to, perhaps ? Did not manage to downsize it to less then 1.8 mb. 😞

                                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