HOLY CRAP (the new one) WORKS FOR BOTH MY MAC AND PC!!!!
AWESOME! Thank you both Especially you TIG!!!
HOLY CRAP (the new one) WORKS FOR BOTH MY MAC AND PC!!!!
AWESOME! Thank you both Especially you TIG!!!
The folder structure is different on the MAC side. This is what it looks like:
"/Library/Application Support/Google SketchUp 6/Sketchup/Components/Proximity Components"
(note that the "Components" folder in not located in the Google Sketchup application folder itself)
Can you alter the .rb to work with both Mac and PC?
Thank you for posting the revamped script! Half GREAT news! On Windows XP running SU6 (Pro) it WORKED!!!!!!
The Half BAD news, on my Mac (my primary computer) in both SU 6 (Free) and SU 7 (Free) I get a NEW error
Error; #<TypeError; can't convert nil into String>
/Library/Application Support/Google SketchUp 6/SketchUp/Plugins/MatrixProximity.rb;552;in `open'
/Library/Application Support/Google SketchUp 6/SketchUp/Plugins/MatrixProximity.rb;552;in `entries'
/Library/Application Support/Google SketchUp 6/SketchUp/Plugins/MatrixProximity.rb;552;in `proximity'
/Library/Application Support/Google SketchUp 6/SketchUp/Plugins/MatrixProximity.rb;687
/Library/Application Support/Google SketchUp 6/SketchUp/Plugins/MatrixProximity.rb;552;in `call'
/Library/Application Support/Google SketchUp 6/SketchUp/Plugins/MatrixProximity.rb;552
So, again, thank you for your patience (I owe you huge after this) - does this error (from my mac) tell you anything new?
I've attached a screen shot of where I have my "Proximity Components" folder:
![The location of "Proximity Components" folder on my MAC](/uploads/imported_attachments/YEBw_Picture11.png "The location of "Proximity Components" folder on my MAC")
Okay, I have created the correct (but empty) folders for both versions 6 (free) and 7 (free)
Still no effect
With Ruby Console open - running the script - I got this message
Error; #<NoMethodError; undefined method `+' for nil;NilClass>
/Library/Application Support/Google SketchUp 6/SketchUp/Plugins/MatrixProximity.rb;550;in `proximity'
/Library/Application Support/Google SketchUp 6/SketchUp/Plugins/MatrixProximity.rb;686
/Library/Application Support/Google SketchUp 6/SketchUp/Plugins/MatrixProximity.rb;550;in `call'
/Library/Application Support/Google SketchUp 6/SketchUp/Plugins/MatrixProximity.rb;550
Does this mean anything to you? Or is this a generic error?
I thank you again sir!
TIG - First off - again, I REALLY appreciate your immence patience! And thank you for taking the screen shot of my file ACTUALLY WORKING - it made my heart jump
Unfortunately I'm still getting no results, even though I just tested it on:
*****Windows 7, running SU 7 (free)
*****Windows XP, running SU 6 (Pro)
*****Mac OSx 10.4.11, SU 6 (free)
*****Mac OSx 10.4.11, SU 7 (free)
I'm hoping I have an old / out of date plugin... is this the most recent version of the Matrix/Proximity plugin?
# Version ; 1.0 21/11/05 First release.
# 1.6 20/12/05 Ditto - corrected...
# 1.7 09/02/08 Glitch with Proximity Components directory finding
# now fixed (Thanks to GreyHead)
Edit 1:
I see a comment in the Rubyscript itself that reads "require 'sketchup.rb'" And I looked in my plugin folder, and did not see a "sketchup.rb" - is this a file I need to find / download / place in the plugins folder? Is the "sketchup.rb" an essential file?
EDIT 2:
Only the Mac tests had a folder called "Proximity Components" in the components folder with all three "-" "~" "+" components .skp files in it - I just want to to be thorough - NONE of the testing it working, but just in case that part is essential, just thought I'd add that note.
I followed your instructions closely to no effect.
So I started from scratch thinking that I had screwed things up so much I may as well start over - building the components from scratch - everything from scratch, still no effect.
Attached is the brand new version, with reasonable insertion points and axises - nothing is working.
Please let me know if anything is wrong with the way this brand new file is built, and when you get it to work please post a screen shot of what it looked like when it worked, and the numbers you used to get the result.
Thank you again for your help TIG, I feel so frustrated and angry at myself for not grasping this it's hard to describe.
Edit: I just tried the Proximity plug in on yet another PC, running SU7, on Windows 7, still no effect.
You are correct, that the scale was really wacky! Thank you for pointing it out to me!
I have corrected the scale, re-making each of the components to be around 15 meters tall (the approximate size for a 5 story tall building).
After that, still no success.
Undaunted, I created a viewable measuring distance guide, so I could see out from 0M to 100M from the camera, and no matter what numbers I input to the Proximity plugin - I still see no change.
I have tried this on my PC, using SKU6 Pro, and my Mac using SKU 6 and 7 (non- pro) and no difference, I just can not get the Proximity plug-in to work for me.
Some points of clarity here, these are my assumptions: Are my assumptions correct?
*Now that I have rebuilt the components, and the test file, that my models are to a reasonable scale, and should be usable for the Proximity plug-in.
*As soon as I enter the numbers, and hit OK, the close components should change in appearance immediately, I shouldn't have to activate anything else.
*I do NOT need to stack the components on top of each other ie. occupying the same footprint, instead only placing the "-" version of the component throughout.
Please look at the files I've attached, the .png, is a screen shot of the file, with the measuring radius visible, and the second attachment is the sketchup file itself.
Please tell me if I have built this incorrectly, please any help would be great!
If you are getting this to work - please:
*Post the measurements you used to get the desired result
*Pose a screen shot, after the plugin has been successfully used
Thank you all again!
I'm attaching my test sketchup file here (with all 3 types of components loaded in it), is there any way someone can tell if I am setting this file up incorrectly?
I am still unable to get this to work, and the most frustrating thing, is that it's one of the most powerful tools I've ever heard of, and it's just out of my grasp of understanding.
Can someone give this a shot and tell me where I am going wrong?
And just to be clear - when we speak of distance from the camera - I have been assuming that "Camera" means however we are looking at the model - THAT is the camera, meaning when I save a scene, the scene acts like a camera - as opposed to the "Camera tool" is that correct?
If you get it to work, please tell me what numbers you use as well.
My furthered apologies!
Oh boy, I'm sorry, I'l have to continue to wear out my welcome.
Attached are screen shots I've taken of what I'm trying and still failing here.
I've tried and re-tried, and re-read the instructions, and tried again, and I'm still not getting anywhere.
Can you tell me what I am doing wrong here, or direct me to some same files, like the ones mentioned in the pdf, but that could not find?
Or would it help if I posted the components I've created?
Thank you again everyone, I appreciate it!
I've spent all day attempting to get the Proximity ruby to work, to no sucsess, the Matrix part worked the first time, but the Proximity one has baffled me!
The plugin doesn't error, I just don't know what I'm doing here.
This is what I've done:
From there - I have NO idea what to do - I've tried making new document, and bringing in each of those components in register, each on a different layer, then running the Proximity script, but to no effect.
I've also tried making a 4th file, that has placed in register, on separate layers, each of those 3 components, and making a component file from that, and bringing that in in a brand new sketchup file - and still no results.
The .pdf file is not as explanatory as I need it to be I have read- and reread it, as I am such a noob (only 2 pages for the proximity part of the script) - I'm not sure where I am going wrong here.
I feel pretty frustrated and stupid at this point, can someone either tell me where I am going wrong, or do a youtube vid showing the correct way? I greatly apologize for my incompetence!
Thank you again!