SketchUcation Premium Membership

 

 

[Plugin] Boolean--OSCoolean (Oct 2010) for SU 8 free version

[Plugin] Boolean--OSCoolean (Oct 2010) for SU 8 free version

Postby oscarlok » Sat Dec 06, 2008 5:51 am

Hi :)

This ruby tool can do intersect, union, cut, trim and split with groups only.

This is beta really, it is important to save your work before using the tool.

Here is the New improved OSCoolean (Oct 2010) !


I know that there is boolean function in SU 8 Pro, but not SU 8 free version.
There are great improvement in SU 8, so I use the SU 8 feature to write a new OSCoolean for SU 8.
Again, it is a beta version, it is important to save your work before using the tool.
This time, OSCoolean has a toolbar for selecting 2 groups, speed improved and more stable.

Oct version
* Trim & split feature added.
* Language file added.
* Chinese language. (open the file OSC_Language.lag in the Oscar folder with Notepad, then change the Lang=1 to Lang=2)






Oscar :D
Please, register (free) to access all the attachments on the forums.
Last edited by oscarlok on Sat Oct 02, 2010 1:09 pm, edited 15 times in total.
oscarlok
 
Posts: 70
Joined: Sun Nov 18, 2007 11:27 am

Re: Ruby Do Boolean (still under develop)

Postby oscarlok » Sat Dec 06, 2008 5:57 am

All 3 types boolean improved ! 18, Dec, 2008 :bounce:
http://www.youtube.com/watch?v=EHTeNwZY0jA

Newer version 15, Dec, 2008
http://www.youtube.com/watch?v=wxnYpbXXKfY

watch video from
http://www.youtube.com/watch?v=LlIX3ZS25jk

Oscar :)
Last edited by oscarlok on Thu Dec 18, 2008 5:08 pm, edited 2 times in total.
oscarlok
 
Posts: 70
Joined: Sun Nov 18, 2007 11:27 am

Re: Ruby Do Boolean (still under develop)

Postby solo » Sat Dec 06, 2008 6:08 am

Looks very interesting and promising. :thumb:
My site

Quod gratis asseritur, gratis negatur.
User avatar
solo
Global Moderator
 
Posts: 10747
Joined: Mon Nov 12, 2007 1:46 pm
Location: Dallas, Texas
Name: Pete Stoppel
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: other
Level of SketchUp: Intermediate

Re: Ruby Do Boolean (still under develop)

Postby linea » Sat Dec 06, 2008 8:57 am

That looks really good, a function that I have wanted for a long time.
linea
 
Posts: 1143
Joined: Tue Nov 13, 2007 9:13 am
Location: Hull, UK
Name: jon

Re: Ruby Do Boolean (still under develop)

Postby Gaieus » Sat Dec 06, 2008 11:04 am

Oscar,

This looks amazing! Nomore cleanups, no more messing with unwanted geometry! :thumb:
Gai...
User avatar
Gaieus
Administrator
 
Posts: 27601
Joined: Sat Oct 20, 2007 8:24 am
Location: Pécs, Hungary
Name: Csaba Pozsárkó
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: historical reconstruction
Level of SketchUp: Advanced

Re: Ruby Do Boolean (still under develop)

Postby sepo » Sat Dec 06, 2008 11:11 am

Excellent news....Thank you very much...
sepo
 
Posts: 1559
Joined: Wed Nov 14, 2007 1:19 pm
Location: Northampton UK
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: architecture
Level of SketchUp: Advanced

Re: Ruby Do Boolean (still under develop)

Postby thomthom » Sat Dec 06, 2008 11:47 am

Great! I've always wanted boolean operations in SU.
Thomas Thomassen — SketchUp Monkey & Coding addict
List of my plugins and link to the CookieWare fund
User avatar
thomthom
Global Moderator
 
Posts: 17545
Joined: Tue Nov 13, 2007 12:47 pm
Location: Trondheim, Norway
Name: thomthom
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: architecture
Level of SketchUp: Advanced

Re: Ruby Do Boolean (still under develop)

Postby CadFather » Sat Dec 06, 2008 11:55 am

Thanks Oscar!

..guess it should have been part of the scf powertoolbar! :roll:
Quarr-IT - SketchUp Training from the Master.. . ;) .
User avatar
CadFather
 
Posts: 788
Joined: Fri Nov 16, 2007 11:03 am
Location: London, Milano, Sicily
Name: Max Coppoletta

Re: Ruby Do Boolean (still under develop)

Postby Gaieus » Sat Dec 06, 2008 2:15 pm

Well,finally had some time to play with it - but the same as Coen; nothing seems to happen no matter how I combine the things. :(
Gai...
User avatar
Gaieus
Administrator
 
Posts: 27601
Joined: Sat Oct 20, 2007 8:24 am
Location: Pécs, Hungary
Name: Csaba Pozsárkó
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: historical reconstruction
Level of SketchUp: Advanced

Re: Ruby Do Boolean (still under develop)

Postby Jim » Sat Dec 06, 2008 2:57 pm

Here is the error in the Ruby Console:

Code: Select all
Error: #<NameError: uninitialized constant OSCoolean::Oscar>
(eval):331:in `Cut'
(eval):376
(eval):376:in `call'
Jim
Global Moderator
 
Posts: 4126
Joined: Mon Nov 12, 2007 10:13 pm
Location: NEOH
Name: Jim
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: other
Level of SketchUp: Intermediate

Re: Ruby Do Boolean (still under develop)

Postby ilay7k » Sat Dec 06, 2008 3:07 pm

Jim wrote:Here is the error in the Ruby Console:

Code: Select all
Error: #<NameError: uninitialized constant OSCoolean::Oscar>
(eval):331:in `Cut'
(eval):376
(eval):376:in `call'

---
not only cut-command
Code: Select all
Error: #<NameError: uninitialized constant OSCoolean::Oscar>
(eval):1068:in `Intersect'
(eval):1204
(eval):1204:in `call'
(eval):3878

Error: #<NameError: uninitialized constant OSCoolean::Oscar>
(eval):1161:in `Cut'
(eval):1206
(eval):1206:in `call'
(eval):3878

Error: #<NameError: uninitialized constant OSCoolean::Oscar>
(eval):1114:in `Union'
(eval):1205
(eval):1205:in `call'
(eval):3878
ilay7k
 
Posts: 308
Joined: Wed Nov 14, 2007 3:49 pm
Location: Shymkent, Kazakhstan
Name: Ilya Shpilkin

Re: Ruby Do Boolean (still under develop)

Postby Jean-Franco » Sat Dec 06, 2008 3:10 pm

Hi, same as Coen and Gaieus.
Jean-Franco
User avatar
Jean-Franco
 
Posts: 426
Joined: Tue Nov 13, 2007 10:09 pm
Location: Mulhouse / France
Name: Jean-Franco
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: woodworking
Level of SketchUp: Intermediate

Re: Ruby Do Boolean (still under develop)

Postby GUNAWAN W » Sat Dec 06, 2008 4:08 pm

nothing happen,
no error messages. :roll:
GUNAWAN W
 
Posts: 189
Joined: Sun Dec 16, 2007 2:22 am
Name: goen

Re: Ruby Do Boolean (still under develop)

Postby tulacong » Sat Dec 06, 2008 8:06 pm

Thank oscarlok :sketchstatic:
tulacong
 
Posts: 38
Joined: Mon Aug 04, 2008 9:29 pm

Re: Ruby Do Boolean (still under develop)

Postby oscarlok » Sat Dec 06, 2008 8:55 pm

Hi Everybody,

Oh ya! "Error: #<NameError: uninitialized constant OSCoolean::Oscar>" (Thanks for Jim & ilay7k 's error report)

Sorry ! part of my def script is under another ruby script in Class Oscar.
Anywhere, I have repackage OSCoolean script and with OSCoolean.skp for testing.(In the FIRST post)

Thanks
Oscar
Last edited by oscarlok on Sat Dec 06, 2008 9:09 pm, edited 1 time in total.
oscarlok
 
Posts: 70
Joined: Sun Nov 18, 2007 11:27 am

Re: Ruby Do Boolean (still under develop)

Postby bagatelo » Sat Dec 06, 2008 11:51 pm

Is this an answear to this?
viewtopic.php?f=180&t=14217
User avatar
bagatelo
 
Posts: 243
Joined: Wed Apr 16, 2008 4:55 pm
Location: São José, Santa Catarina, Brasil
Name: Alex Henrique
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: interior design
Level of SketchUp: Intermediate

Re: Ruby Do Boolean (still under develop)

Postby remus » Sun Dec 07, 2008 12:01 am

Yep, this is a boolean tool, although still under development, as the author says.
remus
 
Posts: 8055
Joined: Fri Nov 30, 2007 8:48 am
Location: UK
Name: remus

Re: Ruby Do Boolean (still under develop)

Postby Marian » Sun Dec 07, 2008 1:33 pm

Thanks Oscar,
This is a very cool tool, although a bit buggy, it's another work simplifier and enhancer for Sketchup
:sketchstatic: , can't wait for the improved version.
Good luck. ;)
User avatar
Marian
 
Posts: 1340
Joined: Thu Jan 03, 2008 10:31 am
Location: Suceava / Cuj-Napoca, Romania
Name: Marian

Re: Ruby Do Boolean (still under develop)

Postby Gaieus » Sun Dec 07, 2008 3:00 pm

Thanks Oscar! Now it works (although indeed there are some little bugs - especially when there are coplanar faces with a union for instance)
:thumb:
Gai...
User avatar
Gaieus
Administrator
 
Posts: 27601
Joined: Sat Oct 20, 2007 8:24 am
Location: Pécs, Hungary
Name: Csaba Pozsárkó
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: historical reconstruction
Level of SketchUp: Advanced

Re: Ruby Do Boolean (still under develop)

Postby Bep » Sun Dec 07, 2008 3:15 pm

Great development Oscar.:thumb: :thumb:

Bep van Malde
Bep
 
Posts: 199
Joined: Thu Nov 15, 2007 8:36 pm
Location: Brunssum Netherlands 50°56'40.91"N 5°58'55.97"O
Name: Bep van Malde
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: landscape architecture
Level of SketchUp: Intermediate

Re: Ruby Do Boolean (still under develop)

Postby Pilou » Sun Dec 07, 2008 3:45 pm

Tell us when V 1.0 is released! :enlight:
Frenchy Pilou
Is beautiful that please without concept!
Speedy Galerie
User avatar
Pilou
Top SketchUcator
 
Posts: 10027
Joined: Wed Jan 23, 2008 10:33 pm
Operating system: Windows
SketchUp version: 6
License type: Free
SketchUp use: hobby
Level of SketchUp: Advanced

Re: Ruby Do Boolean (still under develop)

Postby •BTM » Sun Dec 07, 2008 4:09 pm

Wow. I was JUST doing some intersect and delete stuff manually, and was thinking about how useful it would be if there was a ruby to do it for me. I go to see if I got any comments on posts here, and viola.
•BTM
 
Posts: 717
Joined: Wed Jul 23, 2008 12:59 am

Re: Ruby Do Boolean (still under develop)

Postby bagatelo » Sun Dec 07, 2008 4:36 pm

This only works on SU7... :(
User avatar
bagatelo
 
Posts: 243
Joined: Wed Apr 16, 2008 4:55 pm
Location: São José, Santa Catarina, Brasil
Name: Alex Henrique
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: interior design
Level of SketchUp: Intermediate

Re: Ruby Do Boolean (still under develop)

Postby Whaat » Mon Dec 08, 2008 5:25 am

Nice job oscarlok!

I'll be watching this one. This is a long-needed feature for SketchUp.

Dale
Whaat
 
Posts: 966
Joined: Wed Nov 14, 2007 9:51 pm
Location: Saskatchewan, Canada
Name: Dale Martens
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: architecture
Level of SketchUp: Advanced

Re: Ruby Do Boolean (still under develop)

Postby nomeradona » Mon Dec 08, 2008 7:02 am

very good script to watch... this will be another milestone. i hope it will also have bollean add. where when you intersect two volumes, the unwanted volume will be erased automatically.
nomeradona
 
Posts: 1302
Joined: Mon Nov 26, 2007 4:46 am

Re: Ruby Do Boolean (still under develop)

Postby Gaieus » Mon Dec 08, 2008 12:24 pm

If I understand your words correctly, this is exactly what happens with the script (apart from the errors/bugs).
Gai...
User avatar
Gaieus
Administrator
 
Posts: 27601
Joined: Sat Oct 20, 2007 8:24 am
Location: Pécs, Hungary
Name: Csaba Pozsárkó
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: historical reconstruction
Level of SketchUp: Advanced

Re: Ruby Do Boolean (still under develop)

Postby remus » Mon Dec 08, 2008 7:48 pm

I think by addition he means:
remus
 
Posts: 8055
Joined: Fri Nov 30, 2007 8:48 am
Location: UK
Name: remus

Re: Ruby Do Boolean (still under develop)

Postby TomDC » Tue Dec 09, 2008 12:22 am

Coen Naninck wrote:In most of my tries it didn't work as expected.
I think it needs a lot of development. That is not to discourage the author, as I think this has great potential and should be a commercial plugin when bugfree. I would definitely pay for it.


As would I. Certainly looks like a promising tool. Fingers crossed!
Bill Maher on the French: "They invented sex during the day, lingerie and the tongue."
TomDC
 
Posts: 2929
Joined: Mon Nov 12, 2007 1:16 pm
Location: Behind you.

Re: Ruby Do Boolean (still under develop)

Postby utiler » Tue Dec 09, 2008 3:50 am

Well done Oscar, This is what Should have been part of SU a long while ago...
would make for 'cutting two planes' eg: windows / doors a dead issue!!!

Looking forward to the final outcome. :thumb:
purpose/expression/purpose/....
User avatar
utiler
Top SketchUcator
 
Posts: 1924
Joined: Wed Nov 14, 2007 11:35 am
Location: Queensland, Australia
Name: utiler
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: architecture
Level of SketchUp: Advanced

Re: Ruby Do Boolean (still under develop)

Postby Howard Leslie » Tue Dec 09, 2008 6:06 pm

Oscar,
Thank you for working on this script.
SU has been crying out for such a tool for ages.
.........
I can get it to run OK in SU 6, but please note the following:

1. The groups of interest (those I want to union or subtract etc) must be placed in their own seperate (temporary) file - as all other geometry is deleted !!!

Other than that - seems to works well.
If I notice anything else I'll let you know.
..........
Can you get it to run with components also ??? This would make it so much more useful.
..........
Thanks once again for all your hard work with this script
Regards

Howard L'
Howard Leslie
 
Posts: 236
Joined: Mon Nov 12, 2007 2:41 pm
Location: Cumbria; UK
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: engineering and mechanical design
Level of SketchUp: Advanced

SketchUcation One-Liner Adverts

by Ad Machine » 5 minutes ago

Keyframe Animation plugin - animate your SketchUp model by adding movement to any object.

Premium Members get 20% discount!

Ad Machine
Robot
 
Posts: 2012

Next


 

Return to Plugins

Who is online

Users browsing this forum: farang013, indigobv, NEWarchitect, pinoy, SeTriC, Tod79, zagortenej and 5 guests