It is currently Thu Sep 02, 2010 10:04 pm

Registration
Login Help

Advertise Here

Slicer

FAQMembersRegisterLogin

Slicer

Postby TIG on Fri Dec 21, 2007 7:31 pm

Moved from the 'Roof' thread...
matt77 wrote:Excellent Script. Many thanks -- works a treat for me!!!
I must commend you also on another of your scripts that I find invaluable at work. It's your slicer ruby. It comes in very handy for working out the floor space across very large master-plan massing models. It has saved me so much time. Thank you. I'm not sure it was ever intended for this, but if you set the floor to ceiling height say 3 metres, but don't give the slices any thickness, then run the script across a large grouped area of buildings then explode the floor slabs within the main group, by using the area tool with all faces within that group selected you get a total floor space for that whole area. You may have to delete the top slices so that you don't include the roofs. But very, very handy indeed...
Whilst using your most recent roof script I was impressed in the way that you could assign a material and a layer to the new roof.
I have a request. (Not that your not busy enough as it is)
Is it possible to implement this within in the slicer ruby? So that the when you create the new slices you have an option of also assigning a material to the new slices. In this way you could have separate materials for residential, commercial and retail space. This information regarding the areas assigned to the materials could be then exported to an excel sheet. Giving you a detailed breakdown very quickly regarding your model.
Matt

A few months ago we started using Slicer.rb for exactly the same thing - to get a rough idea of the floor-space in massing blocks on master-plans [although its original use was for making 3D card models from a Sketchup volume - cheap 3D-printer !]
Not so long ago I added a make your own layer and pick materials on the fly option to VolumeCalculator.rb. Since this a son (or perhaps grandson ?) of Slicer it'll be pretty easy to implement (I hope)... I'll add it to the list of things to do.

Watch this space...
TIG
User avatar
TIG
Global Moderator
 
Posts: 4478
Joined: Mon Nov 12, 2007 7:24 pm
Location: Northumbria UK
Operating system: Vista
SketchUp version: Latest Pro 7.1

Re: Slicer

Postby matt77 on Fri Dec 21, 2007 7:31 pm

Thank you very much.

I'll keep an eye out for any developments.

Many thanks

Matt
matt77
 
Posts: 32
Joined: Wed Nov 21, 2007 3:04 pm

Re: Slicer

Postby TIG on Fri Dec 21, 2007 7:33 pm

Here is v3.0 of Slicer.rb.

You can now choose / make its Layer on the fly and select any 'Colour'...

Enjoy...

sas/Ruby/Slicer.rb
TIG
User avatar
TIG
Global Moderator
 
Posts: 4478
Joined: Mon Nov 12, 2007 7:24 pm
Location: Northumbria UK
Operating system: Vista
SketchUp version: Latest Pro 7.1

Re: Slicer

Postby Juju on Fri Dec 21, 2007 7:34 pm

I get this error message with Slicer.rb (version 3.0), see image attached.

Image
Save the Earth, it's the only planet with chocolate.

Image

Keeping things organised is not a sin. ;)
User avatar
Juju
 
Posts: 1125
Joined: Mon Oct 22, 2007 1:45 pm
Location: Durbanville, Cape Town, South Africa.
Name: Julian Smith
Operating system: XP SP3 / OS X / Vista SP1 / Win 7 RC1
SketchUp version: SU 7.0.10274 (Pro)

Re: Slicer

Postby TIG on Fri Dec 21, 2007 7:35 pm

Juju wrote:I get this error message with Slicer.rb (version 3.0), see image attached.

slicer error.JPG


I apologise. I uploaded a version that's customized to my menu setup by mistake ! Of the 40 or so who've viewed it so far you are the only one to point it out... Here's v3.1 that's fixed to suit all.

sas/Ruby/Slicer31.rb
TIG
User avatar
TIG
Global Moderator
 
Posts: 4478
Joined: Mon Nov 12, 2007 7:24 pm
Location: Northumbria UK
Operating system: Vista
SketchUp version: Latest Pro 7.1

Re: Slicer

Postby seasdes on Fri Dec 21, 2007 7:35 pm

Thank you TIG for another useful script

Walter
seasdes
 
Posts: 35
Joined: Tue Nov 13, 2007 11:22 am

Re: Slicer

Postby not registered yet on Fri Dec 21, 2007 7:36 pm

Thanks so much for the new version - works great! I'm using it similarly to the original purpose TIG mentioned, as a cheap 3D printer. Now to create a (cheap) automated way to cut them out!

best,

Matt

[mattratto]
not registered yet
 
Posts: 1158
Joined: Tue Nov 13, 2007 12:48 pm

Re: Slicer

Postby mariocha on Wed Feb 10, 2010 10:02 am

Very impressive !
And so usefull .
Thanks a million !

The final touch, for the cutting machine (cnc), would be numbers as lines so it can engrave them on the piece.
Oh and also the possibility to add a letter before the number, like A1, A2, .. B1, B2 ...

Great plugin. !
Mario C.
Certified SketchUp Trainer, QC CA, Mac Pro 2 x Quad core.
User avatar
mariocha
 
Posts: 102
Joined: Wed Nov 21, 2007 3:00 pm
Operating system: Mac OS X Snow
SketchUp version: 7.1

Re: Slicer

Postby TIG on Wed Feb 10, 2010 10:45 am

mariocha wrote:Very impressive !
And so usefull .
Thanks a million !

The final touch, for the cutting machine (cnc), would be numbers as lines so it can engrave them on the piece.
Oh and also the possibility to add a letter before the number, like A1, A2, .. B1, B2 ...

Great plugin. !


I have a [privately written and hopefully paid for] 'Slicer v4' that has such lines added etc for CNC work - watch this space.

Here is a script that will add a prefix for you...
prefixtext.rb

Adds a Prefix to selected text or text inside selected group/instance-definitions
To use - select the objects needing prefixes [text OR groups containing text etc]
then in the Ruby Console type prefixtext + <enter>.
A dialog asks for the Prefix Text - enter it and OK - e.g. A.
All text in the selection is prefixed with the desired prefix e.g. 9 becomes A9 etc...
It is for use after running tools like Slicer
- where sub-sets of slices might be more useful if they are differently coded.
Errors will stop you if there is no selection or you enter a blank 'prefix'.
It is one step un-doable.
:geek:
You do not have the required permissions to view the files attached to this post.
TIG
User avatar
TIG
Global Moderator
 
Posts: 4478
Joined: Mon Nov 12, 2007 7:24 pm
Location: Northumbria UK
Operating system: Vista
SketchUp version: Latest Pro 7.1

Re: Slicer

Postby mariocha on Thu Feb 11, 2010 3:00 pm

Thanks for the prefix.rb
Thought I find it difficult to integrate to the process since each text is a group, in a group.
For now, I use component numbers made of lines.

Hum... that v4, is it close to release ?
Need some testing ?

I do think it is worth some money.
Mario C.
Certified SketchUp Trainer, QC CA, Mac Pro 2 x Quad core.
User avatar
mariocha
 
Posts: 102
Joined: Wed Nov 21, 2007 3:00 pm
Operating system: Mac OS X Snow
SketchUp version: 7.1

Re: Slicer

Postby TIG on Thu Feb 11, 2010 3:49 pm

The prefixtext ruby should 'mine down' into any groups selected and add to all text. It undoes in one step anyway... :?
TIG
User avatar
TIG
Global Moderator
 
Posts: 4478
Joined: Mon Nov 12, 2007 7:24 pm
Location: Northumbria UK
Operating system: Vista
SketchUp version: Latest Pro 7.1

Re: Slicer

Postby kwalkerman on Thu Feb 11, 2010 7:43 pm

Hi,

I'm interested in using the slicer plugin. I'm using the trial version of Sketchup Pro 7.1, and have downloaded Slicer31.rb. Whenever I try to use the plugin, Sketchup crashes. Any help is appreciated.

Thanks!

Karen
kwalkerman
 
Posts: 44
Joined: Mon Feb 08, 2010 9:48 pm
Name: Karen
Operating system: XP
SketchUp version: 7.1

Re: Slicer

Postby xrok1 on Thu Feb 11, 2010 8:05 pm

I have a [privately written and hopefully paid for] 'Slicer v4' that has such lines added etc for CNC work - watch this space.


hey, are you finally going to make your own and bust that slicemodeler @&&hole :berserk:
“There are three classes of people: those who see. Those who see when they are shown. Those who do not see.”

http://www.Twilightrender.com try it!
User avatar
xrok1
 
Posts: 1844
Joined: Sat Feb 16, 2008 1:53 am
Location: Canada
Name: Rocky
Operating system: Window7
SketchUp version: SU7pro

Re: Slicer

Postby TIG on Thu Feb 11, 2010 10:45 pm

kwalkerman wrote:Hi,
I'm interested in using the slicer plugin. I'm using the trial version of Sketchup Pro 7.1, and have downloaded Slicer31.rb. Whenever I try to use the plugin, Sketchup crashes. Any help is appreciated.
Thanks!
Karen

First try testing it on a simple group and make a modest number of slices - say 10...
When you get the hang of what it does you can then up the 'fineness' of the slicing... BUT be patient...
If you try to make hundreds of slices it will take a while and it sometimes 'whites-out' and appears to stall... BUT it will usually complete if you leave it for a while...

:geek:
TIG
User avatar
TIG
Global Moderator
 
Posts: 4478
Joined: Mon Nov 12, 2007 7:24 pm
Location: Northumbria UK
Operating system: Vista
SketchUp version: Latest Pro 7.1

Re: Slicer

Postby TIG on Thu Feb 11, 2010 10:46 pm

xrok1 wrote:
I have a [privately written and hopefully paid for] 'Slicer v4' that has such lines added etc for CNC work - watch this space.

hey, are you finally going to make your own and bust that slicemodeler @&&hole :berserk:

I have written a paid commercial version [private] - Slicer_v4 - for someone for CNC use etc... it [or some of its ideas] might leak out to you too... ;)
TIG
User avatar
TIG
Global Moderator
 
Posts: 4478
Joined: Mon Nov 12, 2007 7:24 pm
Location: Northumbria UK
Operating system: Vista
SketchUp version: Latest Pro 7.1

SketchUcation One-Liner Adverts

by Ad Machine on 5 minutes ago

Piranesi 2010 - Design to Art
Ad Machine
Robot
 
Posts: 2010

Next

 

Advertise Here

Who is online

Users browsing this forum: No registered users and 1 guest