Yeah, I would say that with Windows IE is a must (I also only use it for testing sites etc, but apparently most people are still using it for general browsing ). With Mac OSX IE was a completely different (much much worse) version to the windows one and isn't even supported by MS anymore. It comes bundled with Office for Mac so I think if I delete it the WebDialog in Sketchup will improve (hopefully). I'm not on my Mac right now so I can't try it till later.
Posts
-
RE: WebDialog in MacOSX
-
RE: WebDialog in MacOSX
Hmm... maybe I'll try and delete IE and see what happens (I never use it anyway). I'm pretty sure it is IE that is running as the WebDialog though.
-
WebDialog in MacOSX
Does the Sketchup WebDialog only use Internet Explorer for Mac? or is there a way of changing it to use the Safari engine or something else (anything other than Internet Explorer for Mac)? I'm just wondering because when I port my plugin to My Mac, the plugin's UI renders completely differently to what I expect.
-
RE: .rbs files not loading at all.
I've finally got it working.
I was using the normal Ruby require and including the .rb file extension but, what is actually required is the Sketchup require and not including any file extension e.g:Sketchup::require 'directory/filename'
instead of:
require 'directory/filename.rb'With the correct require the scrambled version of the plugin works perfectly with both free and Pro Sketchup. I spent ages trying to figure out why the Scrambler wasn't working. Hopefully this post will save some time for anyone else using it. Google really should release some better docs though....
-
.rbs files not loading at all.
Hi all,
I'm currently trying to encrypt my sketchup plugin using the scrambler program, which I got through Google. I can encrypt files in the plugins folder with no problems and the resulting .rbs file work. The problem is, though, that most of the ruby code for my plugin is within a subfolder in the plugins directoy e.g "plugins/classes" and I have a main ruby file in the plugins folder that calls (requires) the files in the subfolder. When I encrypt the code in the subfolder the plugin will not work. I do not even get messages saying that files cannot be found, it just doesn't work. If I only encrypt the main ruby file in the plugins directory and leave the rest then it works fine....
I was just wondering if I'm missing something in using Scrambler.exe and if someone could put me on the right track. I've spent most of the afternoon looking on the net for a solution, but documentation for this seems to be kind of scarce. I've tried this in both the Pro and free versions of Sketchup and get the same results in both.
Any help would be appreciated,
Thanks. -
RE: Odd Ruby Error
I had this same problem a while ago. This seems to be a weird feature of Ruby where the elsif statement differs from most other programming languages. This is one case where Ruby breaks the "Principle of Least Surprise" that everyone seems to praise it for.
See this article for a tutorial on Ruby conditionals: http://www.math.umd.edu/~dcarrera/ruby/0.3/chp_02/conditionals.html
-
Two Web Dialogs Open Together
Does anyone know if its possible to have two web dialogs open and usable at the same time. I'm working on a plugin that uses web dialog as the user interface and at one point I need to be able to have two open together. However, when I do this the original web dialog is not usable until the new one is closed. I can't find any way around this at all which is kind of annoying...
-
Finding a face's azimuth
Hi all,
Just wondering if anyone has any ideas on how to figure out a face's azimuth within sketchup. I've spent a while looking at this but haven't come up with anything too useful as yet. Any ideas would be greatly appreciated.
My current value for azimuth is being calculated as such:
def azimuth
a = self.normal
a.z = 0
a.angle_between(Geom::Vector3d.new 1,0,0).radians
endbut is not correct
Best Regards
-
RE: Face width and height in 2d
Hi,
Thanks very much for that. The problem is with faces of varying shapes. I'm trying to find the overall width and height of every face in the model as if the faces were being looked at in a plan view but have no way of knowing how many sides or vertexes a face will have. I've started on a solution based on unfolding each face, but am not sure how well this will work.
Thanks again,
-
Face width and height in 2d
Hi all,
I'm currently working on a project where each face's width and height e.g. x and y in 2d are required as if the face was being looked at staright on (like a plan view). I've used bounding box for this but am finding that it is not accurate enough when a face is at an angle in 2d.
Any help or ideas would be greatly appreciated.
Thanks very much
Advertisement