SketchUcation Plugin Store

 

 

[Plugin] SectionCutFace v2.6 20110721

[Plugin] SectionCutFace v2.6 20110721

Postby TIG » Tue Jul 14, 2009 11:03 am

After a few reports of glitches/script clashes I have re-evaluated my SectionCutFace.rb tool and made some minor adjustments.
It now expressly gets the origin from ORIGIN rather than [0,0,0] which seems to fix one problem with offsetting it by the vector [haven't found the clash, just worked around it] and it now has an increased 'inset' from the section-plane for the face-group at 0.2mm, so it should almost always be visible...
Please read the notes at the head of the script for more details...
Latest update CUT-x's layer now only 'on' in current page/scene - IF pages set...
Edit:
v2.2 14/07/09 Optional 'keep un-faced edges' and 'hide edges' added.
v2.3 28/07/09 CUT-x's layer now only 'on' in current page/scene.
v2.4 18/09/09 New layer's visibility trapped if no pages/scenes...
v2.5 20110314 <No_Face> option added, so just lines with NO face.
. 'Lock Cut' option added.
. A class test replaces typename, optimizing speed.
v2.6 20110721 Various potential bugs when erasing already erased objects trapped.
SectionCutFace.rb
Please, register (free) to access all the attachments on the forums.
Last edited by TIG on Tue Aug 18, 2009 12:24 pm, edited 4 times in total.
TIG
User avatar
TIG
Global Moderator
 
Posts: 13903
Joined: Mon Nov 12, 2007 7:24 pm
Location: Northumbria UK
Name: TIG
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: architecture
Level of SketchUp: Advanced

Re: [Plugin] SectionCutFace v2.1

Postby massimo » Tue Jul 14, 2009 11:19 am

Now it works fine! :thumb: Only a little thing: the edges are not included in the section cut group. Is that normal?
Thank you.
Massimo
Please, register (free) to access all the attachments on the forums.
User avatar
massimo
Global Moderator
 
Posts: 1299
Joined: Thu Mar 19, 2009 10:52 am
Location: Italy
Name: massimo
Operating system: Windows
SketchUp version: 7
License type: Pro
SketchUp use: other
Level of SketchUp: Intermediate

Re: [Plugin] SectionCutFace v2.2

Postby TIG » Tue Jul 14, 2009 12:08 pm

massimo wrote:Now it works fine! :thumb: Only a little thing: the edges are not included in the section cut group. Is that normal?
Massimo

Yes it's quite normal in all versions up to v2.1: however I have just added two more options to the dialog with v2.2, one let's you keep un-faced edges (default=No) and the other let's you hide all edges (defaults=Yes)... get it here viewtopic.php?p=172583#p172583
TIG
User avatar
TIG
Global Moderator
 
Posts: 13903
Joined: Mon Nov 12, 2007 7:24 pm
Location: Northumbria UK
Name: TIG
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: architecture
Level of SketchUp: Advanced

Re: [Plugin] SectionCutFace v2.2

Postby massimo » Tue Jul 14, 2009 12:13 pm

Now it's really good!! Thanks again.
Massimo
User avatar
massimo
Global Moderator
 
Posts: 1299
Joined: Thu Mar 19, 2009 10:52 am
Location: Italy
Name: massimo
Operating system: Windows
SketchUp version: 7
License type: Pro
SketchUp use: other
Level of SketchUp: Intermediate

Re: [Plugin] SectionCutFace v2.2

Postby Ben Ritter » Tue Jul 14, 2009 2:05 pm

Thank you TIG for the wonderful plugin.
Ben Ritter
 
Posts: 351
Joined: Wed Nov 14, 2007 4:55 pm
Location: Malta, Illinois

Re: [Plugin] SectionCutFace v2.2

Postby boofredlay » Tue Jul 14, 2009 3:06 pm

Thanks TIG.
User avatar
boofredlay
Global Moderator
 
Posts: 9006
Joined: Mon Oct 22, 2007 1:50 pm
Location: Huntsville/Madison Alabama
Name: Eric Lay
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: architecture
Level of SketchUp: Advanced

Re: [Plugin] SectionCutFace v2.2

Postby MALAISE » Tue Jul 14, 2009 4:28 pm

TIG the man who writes plugin faster than his shadow.... :thumb: :thumb:

MALAISE
La Connaissance n'a de valeur que partagée
MALAISE
 
Posts: 620
Joined: Sun Apr 20, 2008 1:23 pm
Location: Cergy Pontoise FRANCE
Name: Pierre

Re: [Plugin] SectionCutFace v2.2

Postby utiler » Wed Jul 15, 2009 1:00 am

Legend...... :berserk: :berserk:
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: [Plugin] SectionCutFace v2.2

Postby sepo » Wed Jul 15, 2009 9:22 am

Cheers... I have been using this plugin from the day one.... :thumb:
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: [Plugin] SectionCutFace v2.2

Postby SEKTA » Wed Jul 15, 2009 9:36 am

Thanks TIG, I couldn't do without this plugin :thumb: :thumb:

SEKTA
User avatar
SEKTA
 
Posts: 85
Joined: Wed May 14, 2008 10:08 am
Location: New Zealand
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: architecture
Level of SketchUp: Intermediate

Re: [Plugin] SectionCutFace v2.2

Postby Dylan » Wed Jul 15, 2009 12:33 pm

Thanks TIG
Dylan
 
Posts: 1932
Joined: Mon Oct 22, 2007 1:41 pm
Location: Royston (Herts), UK
Name: Dylan Morton

Re: [Plugin] SectionCutFace v2.2

Postby simon le bon » Wed Jul 15, 2009 2:24 pm

Dear TIG,

The white sheet becomes black with the thanks we give you at each new script you offer to the community!!

I had used this one with a total pleasure here: Modeling] A PoorFlatEllipsoidIndian Bowl into this video: SketchUp/PotterSC_S&S_Quarter2(sorry to advertise this way my own products: I have presently nothing better done with SectionCutFace to show)

+++simon
User avatar
simon le bon
 
Posts: 1077
Joined: Sat Jan 26, 2008 10:22 am
Location: Chouy/ Picardie/ France
Name: Simon Bonnet

Re: [Plugin] SectionCutFace v2.2

Postby broomstick » Wed Jul 15, 2009 5:55 pm

I absolutely looooove this plugin :)
User avatar
broomstick
 
Posts: 357
Joined: Thu Jul 17, 2008 6:21 pm
Location: Naples, Italy

Re: [Plugin] SectionCutFace v2.2

Postby AcesHigh » Thu Jul 16, 2009 10:45 pm

I am sorry, what exactly does this plugin do? Its like a Zorro?
AcesHigh
 
Posts: 428
Joined: Wed Mar 05, 2008 1:58 pm

Re: [Plugin] SectionCutFace v2.2

Postby TIG » Fri Jul 17, 2009 9:57 am

AcesHigh wrote:I am sorry, what exactly does this plugin do? Its like a Zorro?

No.
To see what most scripts do you can download them and if they don't have a separate readme or pdf then open the .rb file with a plain text editor (NotePad.exe etc) and read the first part which is almost always a description and helpful notes...
Basically SectionCutFace is a tool that lets you fill in the faces of a section cut, coloured etc as desired...

SectionCutFace adds a right-click context-menu item 'Add Section-Cut Face' that becomes available if you have selected one (active) section-plane. It opens a dialog and you can then set options - the cut's face colour, the section-cut's colour+width, the cut's layer, if its un-faced edges are kept and if all its edges are finally hidden etc... On 'OK' it adds a group to the model that is placed on* the section-cut plane (*actually it's 0.2mm inside so you still see it !). This group contains faces on what should be the solid parts of the section: it is coloured and setup as you've specified, put on its own layer as you might want it 'switched-off' in other views... It isn't foolproof - you can invent a section with ambiguous areas of solid/void but if it guesses the faced/unfaced areas wrongly then you can simply edit the group and fix them.
TIG
User avatar
TIG
Global Moderator
 
Posts: 13903
Joined: Mon Nov 12, 2007 7:24 pm
Location: Northumbria UK
Name: TIG
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: architecture
Level of SketchUp: Advanced

Re: [Plugin] SectionCutFace v2.2

Postby cyan.archnet » Tue Jul 21, 2009 3:37 am

really GREAT plugin, THANKS A LOT!
cyan.archnet
 
Posts: 52
Joined: Tue Jun 03, 2008 10:32 am

Re: [Plugin] SectionCutFace v2.2

Postby ideas_arte » Tue Jul 21, 2009 6:03 am

Thank you very much....! :berserk:
ideas_arte
 
Posts: 57
Joined: Tue Sep 09, 2008 7:20 pm
Location: Guatemala
Name: Ivan Alvarado

Re: [Plugin] SectionCutFace v2.2

Postby drewpoeppel » Tue Jul 21, 2009 8:53 pm

Thank you so much for this! I just had a project where I spent half the day trying to create what your .rb did in 5 secs. Essential for all architects.
drewpoeppel
 
Posts: 73
Joined: Thu Feb 21, 2008 8:49 pm
Location: Milwaukee, WI

Re: [Plugin] SectionCutFace v2.2

Postby utiler » Tue Jul 28, 2009 1:34 am

TIG, I have a request for this great little script.
Generally when i as a section cut, I only want it in the current scene; I assume most others would also.

Is it possible to edit the script to view the cut layer active only in the current scene?
[Just like Jim's [Add hidden Layer" does]
: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: [Plugin] SectionCutFace v2.3

Postby TIG » Tue Jul 28, 2009 10:33 am

Here's v2.3 28/07/09 CUT-x's layer now only 'on' in current page/scene.
viewtopic.php?p=172583#p172583
TIG
User avatar
TIG
Global Moderator
 
Posts: 13903
Joined: Mon Nov 12, 2007 7:24 pm
Location: Northumbria UK
Name: TIG
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: architecture
Level of SketchUp: Advanced

Re: [Plugin] SectionCutFace v2.3

Postby utiler » Wed Jul 29, 2009 12:17 am

You're the man, TIG!!!! :berserk: :berserk:
Thank you sooo much....
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: [Plugin] SectionCutFace v2.3

Postby rhankc » Fri Aug 07, 2009 1:23 pm

Many thanks Tig. Have a great day!
Hank
rhankc
 
Posts: 362
Joined: Mon Nov 12, 2007 3:24 pm
Location: Rocky Mountains USA
Name: Hank

Re: [Plugin] SectionCutFace v2.3

Postby massimo » Tue Aug 18, 2009 7:03 am

Sorry TIG, I got this error with the 2.3 version with a simple box model
Error: #<NoMethodError: undefined method `set_visibility' for nil:NilClass>
C:/Programmi/Google/Google SketchUp 6/Plugins/SectionCutFace.rb:383:in `face'
C:/Programmi/Google/Google SketchUp 6/Plugins/SectionCutFace.rb:451
C:/Programmi/Google/Google SketchUp 6/Plugins/SectionCutFace.rb:451:in `call'

and i don't understand how the plug works with the scene/page transition. Draw a cube, add two scenes, in second scene make a section and add "section cut face". Is the below result the expected one?
Thanks.
Massimo.
Please, register (free) to access all the attachments on the forums.
User avatar
massimo
Global Moderator
 
Posts: 1299
Joined: Thu Mar 19, 2009 10:52 am
Location: Italy
Name: massimo
Operating system: Windows
SketchUp version: 7
License type: Pro
SketchUp use: other
Level of SketchUp: Intermediate

Re: [Plugin] SectionCutFace v2.3

Postby TIG » Tue Aug 18, 2009 12:11 pm

massimo wrote:Sorry TIG, I got this error with the 2.3 version with a simple box model
Error: #<NoMethodError: undefined method `set_visibility' for nil:NilClass>
C:/Programmi/Google/Google SketchUp 6/Plugins/SectionCutFace.rb:383:in `face'
C:/Programmi/Google/Google SketchUp 6/Plugins/SectionCutFace.rb:451
C:/Programmi/Google/Google SketchUp 6/Plugins/SectionCutFace.rb:451:in `call'

and i don't understand how the plug works with the scene/page transition. Draw a cube, add two scenes, in second scene make a section and add "section cut face". Is the below result the expected one?
Thanks.
Massimo.

Do you have any 'Pages' [Scenes] ?
EDIT: see next message for fixing update...
Last edited by TIG on Tue Aug 18, 2009 12:26 pm, edited 1 time in total.
TIG
User avatar
TIG
Global Moderator
 
Posts: 13903
Joined: Mon Nov 12, 2007 7:24 pm
Location: Northumbria UK
Name: TIG
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: architecture
Level of SketchUp: Advanced

Re: [Plugin] SectionCutFace v2.4

Postby TIG » Tue Aug 18, 2009 12:25 pm

Here's v2.4

viewtopic.php?p=172583#p172583

Trapped layer visibility setting error if no pages/scenes set...
TIG
User avatar
TIG
Global Moderator
 
Posts: 13903
Joined: Mon Nov 12, 2007 7:24 pm
Location: Northumbria UK
Name: TIG
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: architecture
Level of SketchUp: Advanced

Re: [Plugin] SectionCutFace v2.3

Postby massimo » Tue Aug 18, 2009 12:27 pm

This is the situation after the cut with no scenes added, but if i add a scene before the cut no error occurs.
EDIT: TIG answered with the 2.4 version before my reply :)
Please, register (free) to access all the attachments on the forums.
Last edited by massimo on Tue Aug 18, 2009 12:59 pm, edited 2 times in total.
User avatar
massimo
Global Moderator
 
Posts: 1299
Joined: Thu Mar 19, 2009 10:52 am
Location: Italy
Name: massimo
Operating system: Windows
SketchUp version: 7
License type: Pro
SketchUp use: other
Level of SketchUp: Intermediate

Re: [Plugin] SectionCutFace v2.4

Postby massimo » Tue Aug 18, 2009 12:33 pm

No error now, thanks. Real time plugins... :D But about the result?
User avatar
massimo
Global Moderator
 
Posts: 1299
Joined: Thu Mar 19, 2009 10:52 am
Location: Italy
Name: massimo
Operating system: Windows
SketchUp version: 7
License type: Pro
SketchUp use: other
Level of SketchUp: Intermediate

Re: [Plugin] SectionCutFace v2.4

Postby dimario » Tue Aug 18, 2009 7:43 pm

this is just a fab plugin.
thank you a lot. very helpful!!! saves a lot of time...

kind regards...
dimario
 
Posts: 1
Joined: Sun Apr 05, 2009 5:45 pm

Re: [Plugin] SectionCutFace v2.4

Postby Gaieus » Wed Aug 19, 2009 7:21 am

Works really cool, thanks, TIG! :thumb:

(And now... If only the section cut face would also move when I make a section animation/transition between two scenes! But sigh... I know, I know...) ;)
Gai...
User avatar
Gaieus
Administrator
 
Posts: 27602
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: [Plugin] SectionCutFace v2.4

Postby massimo » Wed Aug 19, 2009 7:47 am

If only the section cut face would also move when I make a section animation/transition between two scenes! But sigh... I know, I know...

That's exactly the result I was looking for, Gaieus. :)
User avatar
massimo
Global Moderator
 
Posts: 1299
Joined: Thu Mar 19, 2009 10:52 am
Location: Italy
Name: massimo
Operating system: Windows
SketchUp version: 7
License type: Pro
SketchUp use: other
Level of SketchUp: Intermediate

SketchUcation One-Liner Adverts

by Ad Machine » 5 minutes ago

Artisan Organic Toolset - a set of powerful organic modeling tools.

Premium Members get 20% discount!

Ad Machine
Robot
 
Posts: 2012

Next

Return to Plugins

Who is online

Users browsing this forum: Litchi, senarq and 10 guests