Calling Whaat and Fredo!! new MAC issues (SOLVED)
-
I tried the same procedure with Subdivide/smooth and there was nothing in the Ruby Console after turning on the extension.
Fredo, as Edson said, I am having no issues with your other scripts (JPP and TOS).
Thanks !
-
After further experimenting by Edson, we have found that the following scripts are also not showing their images in the toolbar buttons.
3D Shape Tool
Bool Tool
frontface
polarlineSo far, Bezier Shapes is the only one that is losing functionality and is also the only one that shows info in the Ruby Console when turning it's extension on.
-
Hi Guys,though I am not a scripter,what we were suggested by the SU dev. team was to disable dynamic components first (in the Preferences > Extensions) and try to see if this helps.
Could you also try these things out until Dale or Fredo comes back?
What I know is that BoolTools had been tested on the Mac before the release as well and apparently not every Mac user is affected.
-
Disabling Dynamic Components has no effect on the issues I am experiencing.
Again, all this started after upgrading from OS 10.5.5 to OS 10.5.6.
Everything worked perfectly in 10.5.5
And, these issues are in both SU6 and SU7, so something, somewhere, has gotten screwy in the new OS 10.5.6
-
Oddly enough I have updated and I am not having any issue with bool tools or subdivsmooth. The other I am not sure as do not have them loaded.
Scott
-
well, that's weird.
-
I thought so too chuck. Let me know if you need me to look at anything particular.
Scott
-
Hey Scott, here is my question.
Bezier Spline is the only plugin, so far, that is actually dropping functions now, as opposed to just losing the images in the toolbar buttons.
Any chance you would be willing to download and install it and see what is happening on your system?
You can find it here: BezierSplines
I eagerly await your results, and secretly hope it doesn't work for you either so at least we have some consistency across platforms.
Thanks.
-
Hi,
I have no clue of what is happening between the different versions of Mac system.
I assume you all use version 1.2 (i.e. script with a sub folder BZ_Dir_12).The loss of functionality is simply due to the fact that curves are loaded from files BZ__*.rb normally located in the subfolder BZ_Dir_12 (except Classic Bezier and Polyline, which are in the main file). For whatever reasons, the script fails at finding or loading these files.
In order to progress, could you type in the Ruby console the following command:
Bezierspline::BZ___SearchDirIt should precisely display the BZ__*.rb files which have to be loaded.
If not, then there is a problem, probably related to the file system on Mac and how it is called from SU.Thanks and happy new year
Fredo
PS: I am currently in a place where Internet access is not easy. So I apologize for delays in my answers.
-
Hi Fredo, thanks for keeping up with this.
I typed as you suggested in the Ruby Console.
All I got was [].
I tried three times and am attaching the resulting screenshot.
Thanks again, and please, for sure there are no apologizes necessary.
Merry Happy,
-
Chuck,
Sorry but I will not be able to test it until I get back to work on the 5th but will do so first thing.
Scott
-
thanks Scott.
This would only be a very minor inconvenience, except I use the whee out of the Uniform B-Spline, and I miss it very much.
-
@unknownuser said:
Hi Fredo, thanks for keeping up with this.
I typed as you suggested in the Ruby Console.
All I got was [].
I tried three times and am attaching the resulting screenshot.
Thanks again, and please, for sure there are no apologizes necessary.
Merry Happy,
Then, this is where the problem comes from. I don't now what has happened between the version of MacOS X however, which makes it not working any longer.
By the way, I assume you do have a folder BZ_Dir_12 in your Sketchup Plugins directory, and in this directory, you also have some ruby files like BZ__BSplineU.rb, BZ__Catmull.rb, etc...
Let's take things in order then. In the Ruby console, can you type the following commands (which are actually coded at lines 394-397 of bezierspline_main.rb):
-
sudir = Sketchup.find_support_file "Plugins"
This should give the Sketchup Plugins Directory -
bzfiles = File.join sudir, "BZ_Dir_12", "BZ__*.rb"
This should give you the path to the ruby files, so, normally
/Library/Application Support/Google SketchUp7/SketchUp/Plugins/BZ_Dir_12/BZ__*.rb -
lf = Dir[bzfiles]
This should give a list of ruby files BZ__*.rb containing the additional curves.
Something goes wrong between step 1 and step 3.
Thanks
Fred
-
-
Hi Fredo, good morning.
I am enclosing 4 screen shots.
The first is my plugins folder, with all the Bezier Spline plugins and folder structure visible.
The next three are the results of the three commands you wanted me to type into the Console.
Obviously, something isn't working with number three, as all I get is: []
Thanks!
-
Chuck,
Thanks.
This seems to be a problem with Ruby itself, and it may well affect other scripts.I still need you (and other Mac users with the same system) to do a few tests in the Ruby console:
- retype first
sudir = Sketchup.find_support_file "Plugins"
and then, line, by line,
2a)
bzfiles = File.join sudir, "BZ_Dir_12", "*" Dir[bzfiles]
2b)
bzfiles = File.join sudir, "BZ_Dir_12", "*.rb" Dir[bzfiles]
2c)
bzfiles = File.join sudir, "BZ_Dir_12", "BZ*.rb" Dir[bzfiles]
2d)
bzdir = File.join sudir, "BZ_Dir_12" dbz = Dir.new(bzdir) dbz.each { |f| puts "file #{f}" }
2e)
Dir["*"]
I hope we can sort it out, but it is definitely a bug in the Ruby runtime on this new version of MacOS X.
Fredo
-
Hi Fredo, good morning.
I am attaching a screenshot of the results of the new Console inputs.
Starting to sound like Apple messed something up, huh?
At least me get an error code this time, instead of [].
Thanks Fredo!
I wonder if the button graphics not showing up has something to do with this, too, though it is weird that Scott is not having the same issues.
-
Chuck,
This seems to be a problem with Sketchup on this new version of Mac OS, when returning the path to the Plugins folder.
Just to be sure, can you open again the Ruby console, and then copy / paste the following command
bzdir = Sketchup.find_support_file "Plugins" ; dbz = Dir.new(bzdir) ; dbz.each { |f| puts "file #{f}" }
If you get an error message, this means that the problem should be escalated to the SU Team as a bug on Mac.
By the way, if you still have SU6 on this version of Mac OS, could you do the same test and advise on the result.
Thanks
Fredo
-
Hi fredo, good morning.
I am attaching two screenshots, the first was the result from SU7, the second is SU6.
The additional Bezier tools are no longer available in SU6, either.
I will point the support team towards this thread, too.
I will let you, and everyone else, know what results I hear from them.
Thanks!
-
Chuck,
Now I am lost.
It seems that the Sketchup plugins folder is replaced by a Podium folder!
I don't know if this comes from Podium, from SU or from the Mac OS version.So, could you do the following:
- Check (manually, via the file explorer on Mac) the complete path to the folder BZ_Dir_12. From your previous tests, it should be in
/Users/chuckgayley/Library/Application Support/Google Sketchup 7/Sketchup/Plugins.
This is what is returned by the Ruby command: Sketchup.find_support_file "Plugins"
- In the Ruby console, could you execute and report on the following commands
sudir = Sketchup.find_support_file "Plugins"
bzdir = Sketchup.find_support_file "BZ_Dir_12", "Plugins"
suall = $;
- Just in case, I have modified the main script in the way it looks for the BZ_DIr folders. The attached file bezierspline_main.rb should go into the BZ_Dir_12 folder (and then restart Sketchup).
At this stage, I don't understand more, except that this could have a link with the installation of Podium.
Thanks
Fredo
- Check (manually, via the file explorer on Mac) the complete path to the folder BZ_Dir_12. From your previous tests, it should be in
-
Well, I trashed the podium stuff.
I then installed your new script that you just posted.
Things have changed!
I now have all of the the tools available under the /DRAW/Bezier Curves dropdown.
However, all the icons which have been visible are now gone. When choosing to view the BZ toolbar, all I now get is one blank button.
I will run those commands as soon as I get a chance.
Weird, huh?
I really appreciate the time and effort!
Advertisement