[Plugin] MatrixProximity Update v1.9 20110708

[Plugin] MatrixProximity Update v1.9 20110708

Postby TIG » Sun Mar 09, 2008 9:18 pm

MatrixProximity Update

GreyHead has pointed out a glitch in the MatrixProximity 'swapping similar components' method.

This fixes the problem with it finding the right directory - caused by changes to the way Ruby 'now' returns the FindFile path with/without a / at the end of a directory... [actually it changed ages ago, but I never caught it...]

This version and some further improvements and fixes...
AND the missing menu issue fixed!
MatrixProximity.rb
1
TIG
User avatar
TIG 
Global Moderator
 

Re: [Plugin] MatrixProximity Update v1.7

Postby chango70 » Mon Nov 03, 2008 12:57 am

Superbly useful tool! Thanks so much! :ecstatic:
0

chango70 
 

Re: [Plugin] MatrixProximity Update v1.7

Postby Bertier » Thu Jun 09, 2011 8:55 am

how does that work ?
0

Bertier 
 

Re: [Plugin] MatrixProximity Update v1.7

Postby TIG » Thu Jun 09, 2011 9:34 am

Bertier wrote:how does that work ?

What work?
Read the Guide PDF... :?
0
TIG
User avatar
TIG 
Global Moderator
 

Re: [Plugin] MatrixProximity Update v1.7

Postby pilou » Thu Jun 09, 2011 9:55 am

0
Last edited by pilou on Sat Jun 11, 2011 1:52 pm, edited 1 time in total.
Frenchy Pilou
Is beautiful that please without concept!
Speedy Galerie
User avatar
pilou 
Top SketchUcator
 

Re: [Plugin] MatrixProximity Update v1.7

Postby TIG » Thu Jun 09, 2011 10:06 am

Thanks Pilou... I was just getting a link ;)
0
TIG
User avatar
TIG 
Global Moderator
 

Re: [Plugin] MatrixProximity Update v1.7

Postby Bertier » Wed Jul 06, 2011 6:13 am

No pdf attached to the download...

I have it from a previous download.
0

Bertier 
 

Re: [Plugin] MatrixProximity Update v1.7

Postby TIG » Wed Jul 06, 2011 10:22 am

Here it is for 'ease'...
MatrixProximityGuide.pdf
MPguide.png
0
TIG
User avatar
TIG 
Global Moderator
 

Re: [Plugin] MatrixProximity Update v1.7

Postby Bertier » Wed Jul 06, 2011 12:48 pm

thank you
0

Bertier 
 

Re: [Plugin] MatrixProximity Update v1.7

Postby Bertier » Wed Jul 06, 2011 6:51 pm

I don't get it...

Pilou tu peux m'aider... ?
0

Bertier 
 

Re: [Plugin] MatrixProximity Update v1.7

Postby Bertier » Wed Jul 06, 2011 7:05 pm

sorry TIG

I really don't understand how to use your plugin....

I have the same statue in 3 LOD
name is :

statue-001+
statue-001~
statue-001-

run the plugin

see the boxes

nothing happens on screen !
0

Bertier 
 

Re: [Plugin] MatrixProximity Update v1.7

Postby TIG » Wed Jul 06, 2011 7:16 pm

Are those +/~/- components loaded into the SKP, or at least available in the '../Proximity Components' folder that you need to add inside the '../Components' folder?
The script is pretty old and also quite ropey!
I can fix it if you really want!!
What is it you want to do exactly ??
0
TIG
User avatar
TIG 
Global Moderator
 

Re: [Plugin] MatrixProximity Update v1.7

Postby Bertier » Wed Jul 06, 2011 7:23 pm

Sorry TIG I missed that part : create a proximity folder....

I'll try that now


I'am trying to draw a perspective 300 m long with a statue evry 10 m

the one in the far don't need high res

---

I want to create scenes and not re-load manually every component ...
0

Bertier 
 

Re: [Plugin] MatrixProximity Update v1.7

Postby Bertier » Thu Jul 07, 2011 1:51 pm

can't mak work :(
0

Bertier 
 

Re: [Plugin] MatrixProximity Update v1.7

Postby TIG » Thu Jul 07, 2011 2:16 pm

You need to set a range in the dialog so that some statues fall outside the limit and are thereby made the '-' type. I assume that the three types are made with the same origin and overall dimensions BUT the farther ones are less complex forms ?
Do you want to PM me the three types and I'll see what's what... :?
0
TIG
User avatar
TIG 
Global Moderator
 

Re: [Plugin] MatrixProximity Update v1.7

Postby Bertier » Thu Jul 07, 2011 8:55 pm

thank you TIG...
I how [owe?] you some pints.
0

Bertier 
 

Re: [Plugin] MatrixProximity Update v1.7

Postby pilou » Thu Jul 07, 2011 10:59 pm

@Bertier
You can use the Random Replacement of a Composant by Sdmitch ;)
Just take one composant as source for avoid the random if neeeding ;)

And despite of that in case of Big Size component (polys) use the Ghost component by fredo 6 ;)
0
Frenchy Pilou
Is beautiful that please without concept!
Speedy Galerie
User avatar
pilou 
Top SketchUcator
 

Re: [Plugin] MatrixProximity Update v1.8 20110708

Postby TIG » Fri Jul 08, 2011 12:48 pm

Here's v1.8 viewtopic.php?p=46802#p46802
I've made some additional fixes to the code to bring it up to date...
0
TIG
User avatar
TIG 
Global Moderator
 

Re: [Plugin] MatrixProximity Update v1.8 20110708

Postby Bertier » Fri Jul 08, 2011 5:49 pm

thank you I'll try tonight
0

Bertier 
 

Re: [Plugin] MatrixProximity Update v1.8 20110708

Postby EarthMover » Fri Jul 08, 2011 7:50 pm

Where can I find the original .zip file for this? I've never used this before so I think I'm lacking a few things to make it work. I tried to just drop in the .rb file and create the subfolder in my components folder, but I can't get it to show up in the plugins list. Perhaps it would be helpful to repackage it with everything needed to make it work.

Thanks TIG, this looks useful.
0
3D Artist at Clearstory 3D Imaging
Guide Tool at Winning With Sketchup
Content Creator at Skapeup
User avatar
EarthMover 
Premium Member
Premium Member
 

Re: [Plugin] MatrixProximity Update v1.9 20110708

Postby TIG » Fri Jul 08, 2011 8:22 pm

Here's an updated version that fixes the 'missing menu issue'! :oops: Sorry! viewtopic.php?p=46802#p46802

Here's the guide
MatrixProximityGuide.pdf

All you need for 'Proximity' to run is a folder called 'Proximity Components' in the main 'Components' folder, useful IF you haven't already loaded a 'set' of three 'proximity components' [ending in +/~/-] into your model...
0
TIG
User avatar
TIG 
Global Moderator
 

Re: [Plugin] MatrixProximity Update v1.9 20110708

Postby Bertier » Sat Jul 09, 2011 2:48 pm

this is GREAT !

it's finally working !!!

here are some pics before / after :

edges go from : 1,492,371 --> 245,003 !!!

this is fantastic !

TIG YOU ROCK !!!!
0

Bertier 
 

Re: [Plugin] MatrixProximity Update v1.9 20110708

Postby TIG » Sat Jul 09, 2011 3:45 pm

'Proximity' was a tool that didn't develop much after I had the idea.
It relies on you using it manually at each change of view with you having made two or three components with more/less detail for near/mid/far way from the camera locations [same origin etc but less geometry]. Each with +/~/- on the end of their name or thier SKP if external components used in the 'Proximity Components' folder inside Components folder, IF the components are not already loaded into the current SKP...
I'd be interested in your feedback/ideas...
0
TIG
User avatar
TIG 
Global Moderator
 

Re: [Plugin] MatrixProximity Update v1.9 20110708

Postby pilou » Sat Jul 09, 2011 4:01 pm

Idea: Same but not from the camera but from a point x,y,z
0
Frenchy Pilou
Is beautiful that please without concept!
Speedy Galerie
User avatar
pilou 
Top SketchUcator
 

Re: [Plugin] MatrixProximity Update v1.9 20110708

Postby Bertier » Sat Jul 09, 2011 5:52 pm

Hi TIG, thank you again for this, I believe it will be really helpfull into the projetc I am currently working on, and I imagine to other who handle large files with repeated components.

- the : + / - extension make real sense as well as : ~, but for some reason on a French keyboard : ~ is not an easy "key"

- when saving "statue-001+.skp" the "+" sign transforms in "statue-001_.skp", I then have to rename the file...

- would it be possible to have script that auto-saves a component into -001+ / -001~ / -001- ? maybe combined with Polyreduce...
a one-stop plugin from a component file --> +/~/-
0

Bertier 
 

Re: [Plugin] MatrixProximity Update v1.9 20110708

Postby pilou » Sat Jul 09, 2011 6:33 pm

~ is not an easy "key"

if so : just copy past fromt the text above ;)
0
Frenchy Pilou
Is beautiful that please without concept!
Speedy Galerie
User avatar
pilou 
Top SketchUcator
 

Re: [Plugin] MatrixProximity Update v1.9 20110708

Postby Bertier » Sat Jul 09, 2011 6:48 pm

salut Pilou sur mon clavier c'est : "Alt Gr + é" mais il faut le faire "é" fois et effacer une instance...

comment c'est sur le tien ?
0
Last edited by Bertier on Sun Jul 10, 2011 6:55 am, edited 1 time in total.

Bertier 
 

Re: [Plugin] MatrixProximity Update v1.9 20110708

Postby TIG » Sat Jul 09, 2011 6:56 pm

On an UK English keyboard a tilde ['~'] is just a shifted '#' sign? code= U007E
On a FR keyboard isn't it the key to the left of the top line '1' key +shift ??
or you should use the French keyboard shortcut = AltGr+é then a <space> [<then backspace> to remove the space!]- if there's no space it tries to put the tilde over the last typed character if it's an 'a' or 'e' etc ?
On a FR Canadian keyboard I think it's Ctrl+Alt+; for the ~ ??
0
TIG
User avatar
TIG 
Global Moderator
 

Re: [Plugin] MatrixProximity Update v1.9 20110708

Postby pilou » Sat Jul 09, 2011 10:50 pm

Same as TIG describe: Alt Graphic + é twice then Backspace ;)
Appuyer 2 fois sur é Alt Graphic étant appuyé : on obient curieusement 2 tildes (~~) puis Backspace pour en effacer un :roll:
0
Frenchy Pilou
Is beautiful that please without concept!
Speedy Galerie
User avatar
pilou 
Top SketchUcator
 

Re: [Plugin] MatrixProximity Update v1.9 20110708

Postby TIG » Sun Jul 10, 2011 12:08 pm

http://en.wikipedia.org/wiki/Keyboard_layout
Capture.PNG
Capture1.PNG
Capture2.PNG
Capture3.PNG
0
TIG
User avatar
TIG 
Global Moderator
 

SketchUcation One-Liner Adverts

by Ad Machine » 5 minutes ago



Ad Machine 
Robot
 

Next


 

Return to Plugins

Who is online

Users browsing this forum: fredo6, Google Bot, linkph, pablocarol and 9 guests

Visit our sponsors: