• Login
sketchucation logo sketchucation
  • Login
🤑 30% Off | Artisan 2 on sale until April 30th Buy Now

[Plugin] Boolean--OSCoolean (Dec 2013) for SU 8 up free ver

Scheduled Pinned Locked Moved Plugins
301 Posts 123 Posters 225.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.
  • N Offline
    nate812
    last edited by 12 Oct 2012, 00:01

    Awesome! Thanks! I had to disable SketchyPhisics to allow it to work - but works great!!

    1 Reply Last reply Reply Quote 0
    • W Offline
      willyshop
      last edited by 4 Nov 2012, 05:28

      I'm having some trouble getting this to work. After I installed it and restarted sketchup, the new toolbar didn't show up. I went in the ruby console to load it manually, and got the following error:

      Error: #<SyntaxError: (eval):27:in `load': /Library/Application Support/Google SketchUp 8/SketchUp/Plugins/OSCoolean.rbs:1: no .<digit> floating literal anymore; put 0 before dot
      RBS1.0
      ^
      /Library/Application Support/Google SketchUp 8/SketchUp/Plugins/OSCoolean.rbs:1: parse error, unexpected tINTEGER
      RBS1.0
      ^>
      (eval):27
      (eval):27

      1 Reply Last reply Reply Quote 0
      • T Offline
        TIG Moderator
        last edited by 4 Nov 2012, 10:53

        Did you look under View > Toolbars [aka ToolPalettes on MAC ?] to activate its toolbar ?

        Unsure about that 'error message' - the script is encrypted as RBS rather than a readable RB format...

        TIG

        1 Reply Last reply Reply Quote 0
        • P Offline
          prairiemain
          last edited by 15 Nov 2012, 10:19

          This is an EXCELLENT tool. I don't see how anyone using Sketchup on a regular basis can live without it. I'd rank this in the top five MUST HAVE extensions.

          When I first installed this and could not get it to work. I finally did get it to work and my problem was operator error 😒 I was using it wrong. You first select WHAT operation you want to perform THEN the two components you want to operate on. Works like a charm, then.

          I'm usually pretty good at following directions, as per the OSCoolean videos which are short and show absolutely what you need to know, but one gets into the habit of first "selecting" then "operating" for core and plugin functions. Hopefully, this experience will teach me to be more alert.

          Others have mentioned this in previous posts but I thought I would also bring it up: While using the Ruby Console to debug for why this plugin was not working, I did not see error messages but warnings about "deprecated".

          WARNING; make_unique is a deprecated methodof Sketchup;Group
          WARNING; make_unique is a deprecated methodof Sketchup;Group
          WARNING; make_unique is a deprecated methodof Sketchup;Group
          WARNING; make_unique is a deprecated methodof Sketchup;Group
          WARNING; make_unique is a deprecated methodof Sketchup;Group
          
          

          A hearty salute to the author of this great tool, oscarlok.

          1 Reply Last reply Reply Quote 0
          • T Offline
            TIG Moderator
            last edited by 15 Nov 2012, 11:33

            Don't worry WARNING: make_unique is a deprecated methodof Sketchup:Group is an erroneous 'spurious' message from the API.
            In fact there are many occasions when you need to make groups unique so that you only have the one instance to refer to.
            The 'error' message assumes that every operation on duplicating a group makes it unique automatically [as it logically ought to be], BUT this is actually not the case!
            To see this, make a simple group and then copy it using Move+Ctrl.
            Select one instance and open Entity Info, it will report that there are two groups with the same definition in the model !!
            Now edit the selected group, but close the edit without making any changes.
            Now the selected group's Entity Info reports ONE group, the copy has been rendered unique automatically by SketchUp working behind the scenes.
            The equivalent in the API code is group.make_unique - this will produce the same result [as you can't mimic an 'edit' in code any other way].
            Therefore the method is NOT 'deprecated' and is needed whenever group.entities.parent.instances[1] returns true, like when a group has been copied and not edited...
            It will remain that way until the SketchUp inner workings auto-uniquify copied groups, so then authors won't have to trap for duplicates in Ruby code as there'll never be any...

            TIG

            1 Reply Last reply Reply Quote 0
            • E Offline
              Esquimo
              last edited by 28 Nov 2012, 21:40

              Hi, i'm sorry, i havent read all pages for this topic but the prime and the last ones.

              So i've put the oscar folder and the OSCoolean.rbs file in my sktechup 8 plugins folder, restarted the beast and i dont even see the boolean toolbar. Nothing.

              Is it normal? does it work with sketchup 8?

              1 Reply Last reply Reply Quote 0
              • E Offline
                Esquimo
                last edited by 28 Nov 2012, 21:47

                Ok, again, very sorry.
                I've found out on the pages that i didnt read.
                Hehe.
                View/tool palette/OSCoolean.

                there i go...

                1 Reply Last reply Reply Quote 0
                • E Offline
                  Esquimo
                  last edited by 28 Nov 2012, 22:24

                  Ok, i installed the plugin, viewed the toolbar BUT, if i create 2 components and then select one of the boolean tool, when i try to select any of the 2 components, nothing happens. I cant even seem to be able to select the components, meaning they dont outline in blue. I have to unselect the boolean tool and try again. But nothing changes and it still doesnt do it.
                  Also i looked like it would work with 2 groups instead of components, meaning i can at least select the 2 groups but coolean is processing... forever with actually resulting in anything.

                  any tips?

                  1 Reply Last reply Reply Quote 0
                  • E Offline
                    Esquimo
                    last edited by 28 Nov 2012, 22:46

                    So here is the error message from the console:

                    Error: #<NoMethodError: undefined method best_picked' for nil:NilClass> (eval):108:in set_current_point'
                    (eval):83:in `onLButtonUp'

                    and here is a screenshot of my plugins folder.

                    I'm voluntarily ommitting to upload the .skp file as it is probably the same as JSPRO, a simple cylinder component and a simple rectangle component. Nothing else.


                    mySketchupPluginsFolder.jpg

                    1 Reply Last reply Reply Quote 0
                    • yanrothwellY Offline
                      yanrothwell
                      last edited by 7 Dec 2012, 11:38

                      Hello,
                      I have OSCoolean working on free Sketchup 8, but I am struggling with grouped objects - attached image is a frame of a shed like structure. I'm trying to 'cut out' the frame ends where they meet the floor boards... Anyone assist me possibly? Oh - when I try to execute OSCoolean it just hangs on the 'OS Coolean is processing.....'

                      Thanks very much for any tips in advance. This forum is grand!
                      Ian


                      floor and frames.jpg

                      http://www.ianrothwell.co.uk

                      1 Reply Last reply Reply Quote 0
                      • T Offline
                        TIG Moderator
                        last edited by 7 Dec 2012, 11:53

                        Presumably the floorboards AND posts etc are raw geometry in their respective groups... no nested groups.
                        Edit the post's group [double-click].
                        View > Component Edit > Hide Rest of Model [works on Components AND Groups]
                        Now the floorboards etc are hidden.
                        Select All and use context-menu Intersect with Model.
                        Lines appear around the posts etc where they intersect the floorboards.
                        Change the View to a Side-elevation, without Perspective, and use Select with a fence right>left to catch all of the unwanted geometry below floor level.
                        Press Delete to remove all of the highlighted parts.
                        Exit the edit, now the posts etc should be neatly trimmed to the top of the floorboards...

                        TIG

                        1 Reply Last reply Reply Quote 0
                        • T Offline
                          TIG Moderator
                          last edited by 7 Dec 2012, 12:45

                          Sorry, I misunderstood.
                          'Cut out' versus 'Cut off'...

                          If the floorboards are individual groups/unique-component-instances you will need edit each one in turn, select its geometry and Intersect with model, to get a cutout for each post etc.
                          because those cutouts aren't readily 'selectable'... you can either PushPull their faces to form a hole in the plank [remember that for subsequent PushPull operations you can just double-click on a face and the same distance is used], or use the Erase tool to remove some edges to make suitable holes [or pick-select the faces and press the Delete key].

                          Of course you only need to make these 'holes' if you intend showing the construction sequence [or you have OCD], otherwise intersecting the two posts and floorboards groups will add lines around the intersections and the unseen geometry will only be hidden from view, adding a little unnecessary load to view rendering etc, but nothing more...

                          The trick of setting your View to hide other objects whilst editing is useful, and toggles [make a shortcut] - sometimes you want other things out of the way, but sometimes they are useful to snap onto etc...

                          TIG

                          1 Reply Last reply Reply Quote 0
                          • yanrothwellY Offline
                            yanrothwell
                            last edited by 7 Dec 2012, 12:47

                            Old school and fast. Thanks. I should have explained myself better, sorry. I need to cut the floor boards around the post (rather than cut the posts), I've got the floor boards individually grouped, then all of them in one single group - is that what you mean by 'nested' group?... 'Intersect with model' doesn't cut out. That's why I was hoping OSCoolean would do it in one command... Anyway to do this efficiently?

                            http://www.ianrothwell.co.uk

                            1 Reply Last reply Reply Quote 0
                            • yanrothwellY Offline
                              yanrothwell
                              last edited by 7 Dec 2012, 13:00

                              Thanks again, Is that a 'no' for OSCoolean then? I do somethimes have a tendency to be a little OCD on these things, but this occasion I need to show instructions for a pdf guide, so, yeah, visible cut-aways on the boards... A bit of a shame. Incidentally, it'd be great if on this forum there were a 'thanks' button I could click on when us learners find a particular post useful (like over at XDA Devlelopers website) - useful because posters can have an incentive to post clear requests (with details attached etc) and show appreciation to the more experienced, without having to post 'thanks'... bla bla..

                              Thanks!

                              http://www.ianrothwell.co.uk

                              1 Reply Last reply Reply Quote 0
                              • T Offline
                                TIG Moderator
                                last edited by 7 Dec 2012, 13:09

                                A plank-group and a post-group in the same 'context' might well 'trim' with this tool [that depends on their geometry]. But then that means either exploding the grouped planks [or posts] first, OR exploding all of the plank [or post] groups inside their main group...

                                TIG

                                1 Reply Last reply Reply Quote 0
                                • yanrothwellY Offline
                                  yanrothwell
                                  last edited by 7 Dec 2012, 13:31

                                  @tig said:

                                  A plank-group and a post-group in the same 'context' might well 'trim' with this tool [that depends on their geometry]. But then that means either exploding the grouped planks [or posts] first, OR exploding all of the plank [or post] groups inside their main group...

                                  Yeah thought as much... thanks. Could this OSCooelan be modified so it 'searches' grouped objects then searches if there are sub-groups? Does that make sense? Then it could work within groups so we didn't have to explode and lose the advantage of things individually grouped? ❓ 💭

                                  http://www.ianrothwell.co.uk

                                  1 Reply Last reply Reply Quote 0
                                  • Mistro11M Offline
                                    Mistro11
                                    last edited by 15 Dec 2012, 06:36

                                    Thanks for this plugin Oscar!

                                    It works on my system but it seems to hang and reset sometimes but I could be just using it wrong. First I tried simple primitive boxes and the subtraction worked fine.

                                    I then tried it on a grouped shipping container to see if I could get a clean cut with a rectangle. The message at the bottom says it's processing. I wait a while and then move my mouse to see if Sketchup is frozen. The mouse moves and I am prompted to choose again like the process of completing the operation was cancelled and I'm automatically back to selecting the groups.

                                    I then went back to doing simple tests. I tried 2 boxes with one turned horizontally 45% and it worked. Then I tried to add a cylinder to the 2 merged box group and got the same result as the shipping container. Tried again to merge a cylinder with a square from scratch and the same problem as before. Is there a trick to this or some limitations I should consider when using this tool? Should I leave the mouse alone??

                                    i7-4930k @3.4/3.7GHz, 32Gb RAM, NVidia GTX 980Ti 6Gb, Windows 7 Pro 64bit
                                    Structural Integrity is Not Just Physical...It's in the Design and Purpose

                                    1 Reply Last reply Reply Quote 0
                                    • N Offline
                                      NickMalvern
                                      last edited by 17 Dec 2012, 23:09

                                      Can anyone help?
                                      I am new to SU8, have loaded OSCoolean - and have the toolbar active...
                                      BUT when I select one of the OSC icons and then TRY to select my objects, I can't - it just will not let me select anything!
                                      I have 2 simple test objects - much as shown in the videos.
                                      At present I'm completely stumped - just can not work out how to move on from here.

                                      1 Reply Last reply Reply Quote 0
                                      • T Offline
                                        TIG Moderator
                                        last edited by 18 Dec 2012, 09:27

                                        Open the Ruby Console and retry...
                                        Any error messages ?

                                        TIG

                                        1 Reply Last reply Reply Quote 0
                                        • N Offline
                                          NickMalvern
                                          last edited by 18 Dec 2012, 09:43

                                          I actually omitted to say that I have opened the Roiby Console - although I admit I don't understand how to use it.
                                          It just shows two empty boxes whatever I do - no error messages, no nothing!

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

                                          Advertisement