SketchUcation Premium Membership

 

 

Slider controlers missing

Moderator: CPhillips

Slider controlers missing

Postby dolf » Fri May 09, 2008 8:01 pm

Hi everybody,

while I somehow manage to build simple models with Sketchyphysics 2.0, I'm still desperately searching those slider controls (like the ones that control the joints of that way cool hand in the example zip file). I figure that the SketchyPhysics inspector must contain them, and from the right-button context menu on the inspector I conclude that this is the MS internet explorer in disguise. Is it possible that I need a newer version of MSIE? (yuck...)
dolf
 
Posts: 5
Joined: Sat Dec 22, 2007 9:29 am

Re: Slider controlers missing

Postby CPhillips » Sat May 10, 2008 12:24 am

dolf wrote:Hi everybody,

while I somehow manage to build simple models with Sketchyphysics 2.0, I'm still desperately searching those slider controls (like the ones that control the joints of that way cool hand in the example zip file). I figure that the SketchyPhysics inspector must contain them, and from the right-button context menu on the inspector I conclude that this is the MS internet explorer in disguise. Is it possible that I need a newer version of MSIE? (yuck...)


The control box with the sliders should pop up if you run a model that has controlled joints. Are you saying you never see it? Or only in models you make is it missing?
CPhillips
 
Posts: 1085
Joined: Fri Nov 23, 2007 11:12 pm

Re: Slider controlers missing

Postby dolf » Sat May 10, 2008 7:22 am

I never see the sliders, e.g. when I open that robot arm example.

So far I've checked (since I figured out that Sketchup and its plugins are using the WebKit for its GUI) whether firefox which is my standard browser and MSIE6 display the sliders in ...SketchyPhysics\dhtml-suite-for-applications\demos directory, and they both look OK.

puzzled. Dolfi
dolf
 
Posts: 5
Joined: Sat Dec 22, 2007 9:29 am

Re: Slider controlers missing

Postby cdauscher » Sat May 10, 2008 7:49 pm

Hi !
I have the same problem only on my notebook ( Vista !! ) and no solution !?
cdauscher
 
Posts: 8
Joined: Sun Nov 25, 2007 3:35 pm
Location: Germany

Re: Slider controlers missing

Postby CPhillips » Sun May 11, 2008 7:33 am

Hmm. Maybe the popup window is off screen? The window position is saved no matter what I do to try to make it not save.

If that is the problem I am not sure what to suggest. There doesnt seem to be any way I can think of to find it. :(
CPhillips
 
Posts: 1085
Joined: Fri Nov 23, 2007 11:12 pm

Re: Slider controlers missing

Postby dolf » Sun May 11, 2008 9:43 am

When I open a SketchyPhysics model and look at the Ruby console, I see "dialog closed", but the Inspector is still open. When I close that one as well, I see "dialog closed" again. I might have closed the slider window somehow accidentally. From the answers to another post in this forum I learned that the dialog close status of the Inspector window is saved upon exit of Sketchup. It might be the same with the slider window. Some ideas pop up:

- where is that dialog close status being saved?
- since the Inspector needs a button to open it, maybe the slider window needs one as well, or the Inspector open button should also explicitly open the slider window
- the SketchyPhysics UI seems to be based on Ruby to some extent - might there be a way to find out more about the problem using Ruby, e.g. with the Ruby console?
dolf
 
Posts: 5
Joined: Sat Dec 22, 2007 9:29 am

Re: Slider controlers missing

Postby dolf » Sun May 11, 2008 10:14 am

I'm messing around with ControlPanel.rb now - I found out that when I start one of those models that are supposed to have sliders, the slider UI is being constructed, and there don't seem to be any errors during that. The function showControlPanel writes HTML code with UI elements into
C:\Programme\Google\Google SketchUp 6\Plugins\SketchyPhysics\SketchyUI\ControlPanel.html.

Opening that file with either MSIE6 or FF, I just get a blue screen (does that sound familiar to anyone?) Inside that file, a commented-out test slider exists, and when I uncomment that, either browser displays it just fine (with some Javascript errors of course because there is no listener for the slider's update events).

I then conclude that the blue bottom of my SketchyPhysics Inspector is showing ControlPanel.html, and that this is the place I should be looking for sliders.

Am I right so far?

Dolfi
dolf
 
Posts: 5
Joined: Sat Dec 22, 2007 9:29 am

Re: Slider controlers missing

Postby dolf » Sun May 11, 2008 11:09 am

Problem solved: The slider dialog is constructed in ControlPanel.rb by:

$PhysicsControlPanelDialog=UI::WebDialog.new("SketchyPhysics Control Panel", true,"bzasdfasdfa12ctrasaa123", 290, 200, 1000,800, true)

I looked up WebDialog.new and guessed from the missing description that the parameters with values here 1000 and 800 are width and height. Like cdauscher, I'm trying to use the stuff on a notebook - replacing 1000 and 800 with e.g. 600 and 400, I get a small but nice window of sliders. :ecstatic:

Bug in WebKit: windows that are as big or bigger than screen size (mine is 1280*800) don't get displayed.
dolf
 
Posts: 5
Joined: Sat Dec 22, 2007 9:29 am

Re: Slider controlers missing

Postby cdauscher » Sun May 11, 2008 12:56 pm

Hi dolf,
many thanks for your GREAT analysis !!
after editing ControlPanel.rb everything works perfect !! :thumb: :ecstatic: :ecstatic:

Stoff .......... ( search in 3DWarehouse for my SKPhyModels )
cdauscher
 
Posts: 8
Joined: Sun Nov 25, 2007 3:35 pm
Location: Germany

Re: Slider controlers missing

Postby CPhillips » Mon May 12, 2008 4:33 am

Thanks for tracking that down! I will fix it in the next release.
CPhillips
 
Posts: 1085
Joined: Fri Nov 23, 2007 11:12 pm

Re: Slider controlers missing

Postby ziggystardust » Mon Aug 01, 2011 7:04 pm

hi it doesn't work for me, help!!!!!!!! spent a whole day on it
ziggystardust
 
Posts: 9
Joined: Wed Feb 09, 2011 7:43 pm
Name: ARIC

Re: Slider controlers missing

Postby Mr.K. » Tue Aug 02, 2011 12:32 pm

ziggystardust wrote:hi it doesn't work for me, help!!!!!!!! spent a whole day on it

Well what version are you running?
With version 3.2 all those problems should be long gone, and this thread is actually 3 years old.
Mr.K.
 
Posts: 143
Joined: Sat Sep 25, 2010 5:16 pm

Re: Slider controlers missing

Postby ziggystardust » Tue Aug 02, 2011 9:03 pm

i know, I've tried both 3.1 and3.2 both on su 7 and 8 pro, to no avail, i'm loosing hope, all goes well but the ui
isn't displaying anything in the line, just blank white lines, nor do i get controllers when i play is pressed, even on down loaded models
ziggystardust
 
Posts: 9
Joined: Wed Feb 09, 2011 7:43 pm
Name: ARIC

Re: Slider controlers missing

Postby ziggystardust » Tue Aug 02, 2011 9:16 pm

i know, I've tried both 3.1 and3.2 both on su 7 and 8 pro, to no avail, i'm loosing hope, all goes well but the ui
isn't displaying anything in the line, just blank white lines, nor do i get controllers when i play is pressed, even on down loaded models
ziggystardust
 
Posts: 9
Joined: Wed Feb 09, 2011 7:43 pm
Name: ARIC

Re: Slider controlers missing

Postby Mr.K. » Wed Aug 03, 2011 7:05 am

Well then I'm quite lost.
If you open up the Ruby Console and then try using the UI or running SketchyPhysics does it report any errors?
Mr.K.
 
Posts: 143
Joined: Sat Sep 25, 2010 5:16 pm

Re: Slider controlers missing

Postby ziggystardust » Wed Aug 03, 2011 7:42 am

no it doesn't show errors, i'm convinced by now that it has to do to me uninstalling internet explorer, but even
after re-installing ie and su again i don't get it! on 2 different pc's! i'm going mad
ziggystardust
 
Posts: 9
Joined: Wed Feb 09, 2011 7:43 pm
Name: ARIC

Re: Slider controlers missing

Postby Mr.K. » Wed Aug 03, 2011 8:03 am

Well yes IE is essential to all Sketchup UI stuff, but without it the Webdialogs wouldn't turn up at all.

What if you try File -> 3D warehouse -> Get models, does that work?
Mr.K.
 
Posts: 143
Joined: Sat Sep 25, 2010 5:16 pm

Re: Slider controlers missing

Postby ziggystardust » Thu Aug 11, 2011 9:28 am

so what should i do? mr. k are you then saying that i shouldn't focus on ie?
ziggystardust
 
Posts: 9
Joined: Wed Feb 09, 2011 7:43 pm
Name: ARIC

Re: Slider controlers missing

Postby ziggystardust » Thu Aug 11, 2011 9:39 am

this is what i get when i press the ui,
1.jpg






and the second picture is when i press the play button,
2.jpg










don't know if you can see but there's a very little square window in the left corner, think this is the problem , everything else works, but sketchphysics is useless like that!!!!!help!!!
Please, register (free) to access all the attachments on the forums.
ziggystardust
 
Posts: 9
Joined: Wed Feb 09, 2011 7:43 pm
Name: ARIC

Re: Slider controlers missing

Postby Mr.K. » Fri Aug 12, 2011 1:51 pm

Well SP adds in elements via Javascript so the most likely culprit for the UI to stay empty are your browser settings, it needs to have javascript enabled.
Or maybe it's an issue with the IE version, I hear some of them cause problems when combined with Sketchup.
Mr.K.
 
Posts: 143
Joined: Sat Sep 25, 2010 5:16 pm

Re: Slider controlers missing

Postby ziggystardust » Sat Aug 13, 2011 11:35 am

so what do you suggest mr. k?

what versions are u using?
ziggystardust
 
Posts: 9
Joined: Wed Feb 09, 2011 7:43 pm
Name: ARIC

Re: Slider controlers missing

Postby Mr.K. » Wed Aug 17, 2011 9:08 am

I'm not sure if Windows will allow it but try installing versions 8 or 7, I got 7 and it works... fairly well.

But before that make sure your browser isn't blocking scripts, because I heard IE9 is locked down pretty tight by default.
Mr.K.
 
Posts: 143
Joined: Sat Sep 25, 2010 5:16 pm

Re: Slider controlers missing

Postby ziggystardust » Thu Aug 18, 2011 10:25 am

thx again mr. k, i'm sure god will remember all that help when the right time comes
and you'll go to heaven :D
can you tell me how to check the scripts on ie, i've installed 8 after uninstalling 9
but to no help, thought maybe some of my win features caused the problem, this is how they
stand now.....
ziggystardust
 
Posts: 9
Joined: Wed Feb 09, 2011 7:43 pm
Name: ARIC

Re: Slider controlers missing

Postby ziggystardust » Thu Aug 18, 2011 10:27 am

8.jpg
Please, register (free) to access all the attachments on the forums.
ziggystardust
 
Posts: 9
Joined: Wed Feb 09, 2011 7:43 pm
Name: ARIC

Re: Slider controlers missing

Postby Mr.K. » Fri Aug 19, 2011 11:58 am

Well I had a quick look on google and found these:
http://answers.microsoft.com/en-us/ie/forum/ie8-windows_xp/unable-to-enable-javascript-in-ie8/0aba6b02-5783-49ca-a27b-6636e43ed1dc

I can't tell if this will work but it's worth a shot.
Mr.K.
 
Posts: 143
Joined: Sat Sep 25, 2010 5:16 pm

Re: Slider controlers missing

Postby rahdad1 » Wed Oct 26, 2011 4:24 pm

I noticed when using a hinge joint, nothing shows up in the slider window, but when using a servo joint the slider shows up and is functioning.
rahdad1
 
Posts: 1
Joined: Sat May 22, 2010 4:25 pm
Location: Pennsylvania, USA
Name: rahdad1
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: architecture
Level of SketchUp: Advanced

Re: Slider controlers missing

Postby Scott Haines » Fri Oct 28, 2011 1:37 pm

I'm having the same issue as rahdad1. When I name the hinge joint in the Controller window (blue field), close the window and then re-open the window, I find that the name is gone. When I hit the play button there is no slider in the pop-up. I'm running Windows 7, Sketchup 8.0.4811 and Sketchyphysics 3.. Thanks for the help.
Scott Haines
 
Posts: 1
Joined: Thu Oct 27, 2011 1:45 pm

SketchUcation One-Liner Adverts

by Ad Machine » 5 minutes ago

Artisan Organic Toolset - a set of powerful organic modeling tools.

Premium Members get 20% discount!

Ad Machine
Robot
 
Posts: 2012


Return to SketchyPhysics

Who is online

Users browsing this forum: No registered users and 0 guests