[Plugin] Purge All

Re: [Plugin] Purge All v1.5 20110313

Postby halroach » Thu Nov 24, 2011 12:41 pm

I just saw this post, and posted a REQ which might be related to this:
viewtopic.php?f=323&t=41498

It would be really useful to purge all models within a folder or a set of folders... (I believe it would save on tons of wasted space)
0
User avatar
halroach 
 

Re: [Plugin] Purge All v1.5 20110313

Postby thomthom » Thu Nov 24, 2011 12:43 pm

Not a bad idea. I'd like to see all the models on the server purged. So many that are never purged... grrrr
0
Thomas Thomassen — SketchUp Monkey & Coding addict
List of my plugins and link to the CookieWare fund
User avatar
thomthom 
PluginStore Author
PluginStore Author
 

Re: [Plugin] Purge All v1.5 20110313

Postby Jim » Thu Nov 24, 2011 12:45 pm

Yeah, this project seems ideal for doing these batch operations... too bad no one is working on it.
0
Hi

Jim 
Global Moderator
 

Re: [Plugin] Purge All v1.5 20110313

Postby tspco » Thu Feb 02, 2012 1:00 am

I just downloaded it tried it works well, but is the report saved somewherw?, or is the dialog box after use, the report?
0
SU make 2017, /Twilight Render Hobby
Windows 10,64 bit,16GB ram, quad core Athlon 3.6 gHz proc. Anything else you want to know, ask me.

tspco 
 

Re: [Plugin] Purge All v1.5 20110313

Postby TIG » Thu Feb 02, 2012 10:29 am

tspco wrote:I just downloaded it tried it works well, but is the report saved somewhere?, or is the dialog box after use, the report?
With the latest version [v1.5] by default with 'Yes' you get the brief 'report' on-screen [or with 'No' just does it with no reporting]; but if you select the third option at the end of the dropdown list - 'Log' - then as well as the on-screen 'report' a detailed file named 'ModelName_PurgeLog.txt' is made with the model, listing all of the changes that it has made... This log-file opens automatically on completion [at least it does on a PC - but probably not on MAC ? (untested)]. Note that if you haven't saved the 'new' SKP then this 'log' goes into the 'current working directory' with the prefix 'Untitled_'... Its changes are one-step undo-able...
:geek:
0
TIG
User avatar
TIG 
Global Moderator
 

Re: Purge All v1.5 20110313

Postby flordemora » Thu May 03, 2012 2:29 am

TIG wrote:Here's 1.5 20110313 Extended with reporting 'Log' option added.
PurgeAll.rb

Buenas Noches, he intentado bajar el purge all y mi computadora no abre la extension.rb, alguien me puede ayudar. Mi Sketch se cierra a cada rato y no me deja bajar componentes. Gracias.
0

flordemora 
 

Re: Purge All v1.5 20110313

Postby TIG » Thu May 03, 2012 10:28 am

flordemora wrote:
TIG wrote:Here's 1.5 20110313 Extended with reporting 'Log' option added.
PurgeAll.rb

Buenas Noches, he intentado bajar el purge all y mi computadora no abre la extension.rb, alguien me puede ayudar. Mi Sketch se cierra a cada rato y no me deja bajar componentes. Gracias.
I don't understand you completely.
Do you know how to install plugins ?
Download the PurgeAll.rb file from here viewtopic.php?p=82559#p82559
and put it into the Sketchup Plugins folder.
When you restart Sketchup it should load a new item in the Plugins Menu 'Purge Unused...'.
It does not call or load 'extensions.rb' at all - but it does require 'sketchup.rb' which in turn might do this...
The following files MUST be in the 'Tools' folder [there might also be other files depending on what you have installed] - if there are copies or older files in the 'Plugins' folder it will cause problems - some old rogue zipped sets of files mistakenly included some files which get put in the wrong place.
Sketchup automatically makes these 'system' files in 'Tools', older ones mistakenly located in Plugins can load before these and then it can break Sketchup.
    sketchup.rb
    extensions.rb
    dynamiccomponents.rb
    langhandler.rb
    sandboxtools.rb
    shadowstringsfix.rb
    SolarNorth.rb


Yo no te entiendo perfectamente.
¿Sabe usted cómo instalar plugins?
Descargue el archivo desde aquí PurgeAll.rb viewtopic.php?p=82559#p82559
y ponerlo en la carpeta Plugins de SketchUp.
Al reiniciar SketchUp que se debe cargar un nuevo elemento en el menú de plugins "Purge Unused​..." [Purgar no usados].
No llamar o cargar 'extensions.rb' en absoluto - pero que requiere 'sketchup.rb', que a su vez podría hacer esto ...
Los siguientes archivos DEBEN ESTAR en la carpeta 'Tools' [Herramientas] [también podría haber otros archivos en función de lo que usted ha instalado] - si hay copias de edad o más archivos en la carpeta 'Plugins' puede causar problemas - algunos juegos antiguos rebeldes de cremallera archivos por error incluyen esos archivos que se ponen en el lugar equivocado.
Sketchup realiza automáticamente los archivos de estos "sistemas" en 'Tools' [Herramientas], los más viejos por error en los plugins localizados puede cargar antes de que éstas y, a continuación se puede romper Sketchup.
    sketchup.rb
    extensions.rb
    dynamiccomponents.rb
    langhandler.rb
    sandboxtools.rb
    shadowstringsfix.rb
    SolarNorth.rb
0
TIG
User avatar
TIG 
Global Moderator
 

Re: [Plugin] Purge All v1.5 20110313

Postby ephi » Wed Sep 05, 2012 1:41 pm

good ,very powerful.thx.
0

ephi 
 

Re: [Plugin] Purge All v1.5 20110313

Postby vheesen » Wed Mar 13, 2013 7:42 am

Thanx
0

vheesen 
 

Re: [Plugin] Purge All v1.5 20110313

Postby iamandrewalonzo » Tue Nov 19, 2013 3:33 pm

guys i cant see the purgeall button...i paste it on the ruby folder under ASGVIS and when i open the SU(Sketch UP) i cant find it...help me guys
0

iamandrewalonzo 
 

Re: [Plugin] Purge All v1.5 20110313

Postby TIG » Tue Nov 19, 2013 6:02 pm

If you have permissions to add files to your Plugins folder...
Properties > Security > Edit... FULL for all listed...
And you have indeed installed it properly...
When you restart SketchUp the tool should now appear appear in the Plugins menu - there is no 'button' unless you have a 'doctored' version that adds a toolbar...

If you have v2013 why not use the Preferences > Extensions > Install... button to install any RBZ format plugin downloaded from the SketchUcation PluginStore...
http://sketchucation.com/resources/plug ... n=PurgeAll
http://sketchucation.com/resources/pluginstore
Or why not get/use the SketchUcation Plugin Store toolset and then you can AutoInstall plugins from within SketchUp automatically.
http://sketchucation.com/resources/plug ... e-download
Now there's no need to mess on manually installing plugins - provided that you have FULL permission to the Plugins folder ;)
0
TIG
User avatar
TIG 
Global Moderator
 

Re: [Plugin] Purge All

Postby TIG » Fri Feb 14, 2014 4:51 pm

There's a new version available from the PluginStore.
It contains some 'future-proofing'.
The log-report format is also improved.
It is now ready for the next generation of SketchUcationTools etc...

Download

1
TIG
User avatar
TIG 
Global Moderator
 

Re: [Plugin] Purge All

Postby TIG » Thu Feb 20, 2014 11:35 am

There's another new version available from the PluginStore.
It contains some more 'future-proofing'.
The log-report format is also improved yet again.
It is now fully ready for the next generation of SketchUcationTools etc...

Download

0
TIG
User avatar
TIG 
Global Moderator
 

Re: [Plugin] Purge All

Postby TIG » Mon Mar 10, 2014 3:34 pm

There's yet another new version available from the PluginStore.
It has some cosmetic tweaking and it is now fully ready for the next generation of SketchUcationTools etc...

Download

0
TIG
User avatar
TIG 
Global Moderator
 

Re: [Plugin] Purge All

Postby cotty » Mon Mar 10, 2014 6:54 pm

Sounds like it is now fully ready for the next generation of SketchUcationTools... 8-)
0
User avatar
cotty 
Top SketchUcator
 

Re: [Plugin] Purge All

Postby Rich O Brien » Mon Mar 10, 2014 7:29 pm

There's a storm a brewin'
0
There's a frontroom and a backroom....reverse faces
User avatar
Rich O Brien 
Administrator
 

Re: [Plugin] Purge All

Postby kaas » Wed Nov 12, 2014 8:14 am

Suggestion: to really purge a file to its bare minimum, maybe add an option to remove attributes (set by some plugins), ifc info etc?
0

kaas 
 

Re: [Plugin] Purge All

Postby TIG » Wed Nov 12, 2014 12:35 pm

I was thinking about offering to delete the IFC stuff as that can bloat a file and slow it down.
However some other 'attributes' do add usefulness - like DCs... - which should endure - how do we decide what to keep ?
0
TIG
User avatar
TIG 
Global Moderator
 

Re: [Plugin] Purge All

Postby kaas » Wed Nov 12, 2014 12:48 pm

TIG wrote:...However some other 'attributes' do add usefulness - like DCs... - which should endure - how do we decide what to keep ?


Good point. Maybe make a combo box with several options for cleaning the attributes: remove all, preserve @ components, ...
0

kaas 
 

Re: [Plugin] Purge All

Postby argenario » Thu Aug 27, 2015 1:53 am

I,ve just downloaded it and purged 368 materials that were not in use and making my drawing sooo slow(sketchup 2015).... THANK U! THANK U! THANK U! THANKS A LOT!
1

argenario 
 

Re: [Plugin] Purge All

Postby TIG » Sun Mar 19, 2017 5:35 pm

Here's v2.0

Download

It is now signed for full compatibility with v2016/2017 in all loading-policies.
2
TIG
User avatar
TIG 
Global Moderator
 

Re: [Plugin] Purge All

Postby feodos » Mon Mar 20, 2017 10:02 am

Can I ask you to make an icon for this plugin?
0

feodos 
 

Re: [Plugin] Purge All

Postby Dave R » Mon Mar 20, 2017 10:33 am

feodos wrote:Can I ask you to make an icon for this plugin?


No need to make the plugin more complex. Just make a keyboard shortcut for it.
0
Etaoin Shrdlu


%

(THERE'S NO PLACE LIKE)

G28 X0.0 Y0.0 Z0.0

M30

%
User avatar
Dave R 
Global Moderator
 

Re: [Plugin] Purge All

Postby TIG » Wed May 22, 2019 5:47 pm

Here's v3.0

Download


It's now signed for full compatibility with all current SketchUp versions, in all extension-loading-policies.
It also has the annoying display glitch fixed - where the report's formatting for materials tabbed over to the right too much !
2
TIG
User avatar
TIG 
Global Moderator
 

Re: [Plugin] Purge All

Postby boofredlay » Wed May 22, 2019 8:19 pm

Thanks TIG
0
User avatar
boofredlay 
Global Moderator
 

Re: [Plugin] Purge All

Postby TIG » Wed Apr 22, 2020 2:37 pm

Here's v4.0

Download


It's now made fully compatible with v2020 - replacing 'Layers' with 'Tags' when prompting/reporting...
1
TIG
User avatar
TIG 
Global Moderator
 

Re: [Plugin] Purge All

Postby Dave R » Wed Apr 22, 2020 2:50 pm

Thank you sir.
0
Etaoin Shrdlu


%

(THERE'S NO PLACE LIKE)

G28 X0.0 Y0.0 Z0.0

M30

%
User avatar
Dave R 
Global Moderator
 

SketchUcation One-Liner Adverts

by Ad Machine » 5 minutes ago



Ad Machine 
Robot
 

Previous


 

Return to Plugins

cron

Who is online

Users browsing this forum: Google Bot, Hairuujam, kay_eye8, teliart and 15 guests

Visit our sponsors: