[Plugin] Boolean--OSCoolean (Dec 2013) for SU 8 up free ver
-
I just gotta say, this plugin is FANTASTIC -- I just tried it on a few simple shapes and it works great! Thanks Oscar! You plugin writers are really making this Sketchup thing work in the real world!
Bill
-
hi,
first of all, great plugin. it has been working fine for the first few times until recently, when the plugin stopped giving any observable response after selecting both operands.
ruby console gives me something like this:
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
Error: #<TypeError: reference to deleted Edge>
(eval):279:inall_connected' (eval):279:in
Remain_Face'
(eval):279:incollect' (eval):279:in
Remain_Face'
(eval):331:inIntersect_outer' (eval):422:in
Cut'
(eval):123:inset_current_point' (eval):80:in
onLButtonUp'
(eval):279could someone interpret this for me?
much thanks in advance.
-
Awesome! Thanks! I had to disable SketchyPhisics to allow it to work - but works great!!
-
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 -
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...
-
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.
-
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 isgroup.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 whenevergroup.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... -
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?
-
Ok, again, very sorry.
I've found out on the pages that i didnt read.
Hehe.
View/tool palette/OSCoolean.there i go...
-
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?
-
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.
-
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
-
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... -
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...
-
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?
-
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!
-
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 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?
-
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??
-
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.
Advertisement