SketchUcation Premium Membership

 

 

[Plugin] FredoTools::CountFacesBySides 1.5a - 19 Dec 11

[Plugin] FredoTools::CountFacesBySides 1.5a - 19 Dec 11

Postby fredo6 » Sat Sep 18, 2010 5:21 pm


CountFacesBySides counts the faces by number of sides (3, 4 and more) in the model or in the selection (if any), recursively.
The script indicates the total number of faces as well as the number of unique faces (i.e. counting faces only once per component).
It also shows the number of lonely edges if any as well as the area for all selected faces.

This comes from a user request by ken28875 (see http://forums.sketchucation.com/viewtopic.php?f=323&t=30952#p272037)


CountFacesBySides is now installed as part of FredoTools.

See the main post for this plugin for Installation



No user manual (see section Quick Start below)
  • Language: English, French and Spanish (Diego-Rodriguez)
  • Menus: by default, it is installed in Tools > FredoTools > Count Faces by Sides and also appears in the Contextual menu when there is at least one face, group or component in the current selection
  • Icon toolbar: Fredo6 Tools - Icon not shown by default
  • The plugin is free, for private and commercial usage.


  • Select menu Tools > FredoTools > CountFacesBySides
    - If no selection, the script will apply to the whole active_model
    - On the selection, you can also use the contextual menu Count Faces by Sides
  • A dialog box shows the counts of faces, by category (Count is also displayed in the status bar)
    CountFacesBySide 14.jpg

    For each type of face, it shows the total number of faces and the number of unique faces between parentheses (i.e. counting components only once)



CountFacesBySides 1.5a - 19 Dec 11: Now part of FredoTools. Also, added count of vertices and fixed errors in the calculation of total area

CountFacesBySides 1.4 - 14 Jan 11 - 10:45 CET: added calculation of area in current units

CountFacesBySides 1.3 - 19 Sep 10 - 17:15 CET: added Spanish translation, thanks to Diego-Rodriguez

CountFacesBySides 1.2 - 19 Sep 10 - 08:45 CET: dialog box display and count of lonely edges

CountFacesBySides 1.1 - 18 Sep 10 - 21:45 CET: count both total and unique faces

CountFacesBySides 1.0 - 18 Sep 10 - 18:00 CET: initial release
Please, register (free) to access all the attachments on the forums.
Last edited by fredo6 on Tue Dec 20, 2011 2:15 pm, edited 16 times in total.
fredo6
Top SketchUcator
 
Posts: 1666
Joined: Mon Nov 12, 2007 9:07 pm

Re: [Plugin] CountFacesBySides - 18 Sep 10

Postby Khai » Sat Sep 18, 2010 5:26 pm

omg. I love you.
can you make an addition? to select faces by count? say I want to select all faces over 4 sides?
Khai
 
Posts: 548
Joined: Sun Mar 15, 2009 4:53 pm
Location: Onboard his TARDIS
Name: Khai

Re: [Plugin] CountFacesBySides - 18 Sep 10

Postby fredo6 » Sat Sep 18, 2010 6:56 pm

Khai wrote:can you make an addition? to select faces by count? say I want to select all faces over 4 sides?

I think the request better fits with Thomthom Selection Toys (by adding an extra parameter with min and max number of sides).

Fredo
fredo6
Top SketchUcator
 
Posts: 1666
Joined: Mon Nov 12, 2007 9:07 pm

Re: [Plugin] CountFacesBySides - 18 Sep 10

Postby Jeff Hammond » Sat Sep 18, 2010 7:14 pm

Khai wrote:omg. I love you.


:family:


[i've been waiting for a chance to use that emoticon for a couple of years now :D]
dotdotdot
User avatar
Jeff Hammond
Global Moderator
 
Posts: 4311
Joined: Thu Jan 24, 2008 11:16 pm
Location: newyorkcity
Operating system: Mac
SketchUp version: 8
License type: Pro
SketchUp use: architecture
Level of SketchUp: Advanced

Re: [Plugin] CountFacesBySides - 18 Sep 10

Postby Khai » Sat Sep 18, 2010 7:24 pm

Fredo6 wrote:
Khai wrote:can you make an addition? to select faces by count? say I want to select all faces over 4 sides?

I think the request better fits with Thomthom Selection Toys (by adding an extra parameter with min and max number of sides).

Fredo



so far I've not got those tools to actually do anything other than sit there. :(
Khai
 
Posts: 548
Joined: Sun Mar 15, 2009 4:53 pm
Location: Onboard his TARDIS
Name: Khai

Re: [Plugin] CountFacesBySides - v1.1 - 18 Sep 10

Postby fredo6 » Sat Sep 18, 2010 8:57 pm

UPDATE: v1.1

Because I did not know whether it should compute the total number of faces, or only the unique faces to take into account Components, the script now calculates both.

See main post for download

Fredo
fredo6
Top SketchUcator
 
Posts: 1666
Joined: Mon Nov 12, 2007 9:07 pm

Re: [Plugin] CountFacesBySides - v1.3 - 19 Sep 10

Postby hsjzyangbin » Sun Sep 19, 2010 7:43 pm

cool! :berserk:
hsjzyangbin
 
Posts: 34
Joined: Tue Sep 22, 2009 10:20 am
Name: coco

Re: [Plugin] CountFacesBySides - v1.3 - 19 Sep 10

Postby ken28875 » Tue Sep 21, 2010 6:00 pm

Awesome! :thumb:

Merci Fredo.

Bonne journee. :enlight:

_KN
Follow Your Dreams.
User avatar
ken28875
 
Posts: 422
Joined: Thu Jun 04, 2009 4:30 pm
Location: San Francisco
Name: Ken Nguyen
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: game and/or sci-fi modelling
Level of SketchUp: Advanced

SketchUcation One-Liner Adverts

by Ad Machine » 5 minutes ago

Need SketchUp Books, Models, Styles or Textures? Check out our One Stop Shop for SketchUp.

Premium Members get 20% discount!

Ad Machine
Robot
 
Posts: 2012


Return to Plugins

Who is online

Users browsing this forum: arkiyore, chri, dayot, HAL, iwazz, OlfLab, onzki, unearthed and 12 guests