Moderator: CPhillips
by mptak » Sat Dec 04, 2010 2:59 pm
Chris:
Very Cool Stuff. I'm going to have students in my class start using it when it looks like a few others have succeeded in using 3.2. However, I keep getting a Webdialog is still dirty!!!!!!! message flash to the ruby console often when I make even a minor change to the code changing an if(frame==0) to if(frame==10) for instance. I have noticed and worked around this in the past....you must quit out of sketchup and restart it...but this seems to be more frequent. Any insights. I also will install it on the Mac side (I am running windows in boot camp) and see if it is any different. Many many many kudos!
...later that morning on the apple side of a macbook... Error starting the simulation: : uninitialized constant MSketchyPhysics3::SP3xSimulationContext::SPSounds /Library/Application Support/Google SketchUp 8/SketchUp/Plugins/SketchyPhysics3/ControllerCommands.rb:777:in `initialize'
?????
-
mptak
-
- Posts: 118
- Joined: Tue Dec 25, 2007 10:57 pm
- Location: Wisconsin in the US
by CPhillips » Sun Dec 05, 2010 8:59 am
I dont seem to have the problem with the dirty dialog message. Can you give me some steps to reproduce it? Also does it act broken or just display a message?
I'll look into the Mac problem.
-
CPhillips
-
- Posts: 1085
- Joined: Fri Nov 23, 2007 11:12 pm
by driven » Sun Dec 05, 2010 10:43 pm
Error Loading File sketchyphysics.rb dlopen(/Library/Application Support/Google SketchUp 8/SketchUp/plugins/SketchyPhysics3/sdl/SDL_Special.dylib, 9): no suitable image found. Did find: /Library/Application Support/Google SketchUp 8/SketchUp/plugins/SketchyPhysics3/sdl/SDL_Special.dylib: unknown required load command 0x80000022
do you know what this means
john also get this if I attempt to proceed
Error starting the simulation: : uninitialized constant MSketchyPhysics3::SP3xSimulationContext::SPSounds /Library/Application Support/Google SketchUp 8/SketchUp/Plugins/SketchyPhysics3/ControllerCommands.rb:777:in `initialize'
-
driven
- Top SketchUcator
-
- Posts: 1409
- Joined: Fri May 01, 2009 11:50 pm
- Name: John
- Operating system: Mac
- SketchUp version: 8
- License type: Pro
- SketchUp use: engineering and mechanical design
- Level of SketchUp: Intermediate
by mptak » Mon Dec 06, 2010 12:09 pm
It could be an issue with my machine so I will get back to you after I have tried an install on a few other machines and then send some examples if it persists. Good luck with the Apple side. I see a confluence of mystical powers to higher math and modeling understanding when you can mix Apple Grapher with SP....(even though I know the original Apple Grapher is now Pacific T. Cheers!
-
mptak
-
- Posts: 118
- Joined: Tue Dec 25, 2007 10:57 pm
- Location: Wisconsin in the US
by phy » Mon Dec 06, 2010 5:48 pm
mptak wrote:Chris:
Very Cool Stuff. I'm going to have students in my class start using it when it looks like a few others have succeeded in using 3.2. However, I keep getting a Webdialog is still dirty!!!!!!! message flash to the ruby console often when I make even a minor change to the code changing an if(frame==0) to if(frame==10) for instance.
There is a work around for the "Webdialog is still dirty" message. After you make a change to your code, click on the sketchyphysics inspector before closing it. If you don't the next time you open the inspector it will give the "Webdialog is still dirty" error.
Have A Good Day! 
-
phy
-
- Posts: 193
- Joined: Sat Nov 15, 2008 4:35 pm
by CPhillips » Tue Dec 07, 2010 4:42 am
That helps a little. Now if I could just figure out how to get this to start happening I am sure I could fix it. phy wrote:mptak wrote:Chris:
There is a work around for the "Webdialog is still dirty" message. After you make a change to your code, click on the sketchyphysics inspector before closing it. If you don't the next time you open the inspector it will give the "Webdialog is still dirty" error.
-
CPhillips
-
- Posts: 1085
- Joined: Fri Nov 23, 2007 11:12 pm
by willeykj » Tue Dec 07, 2010 6:34 am
driven wrote:Error Loading File sketchyphysics.rb dlopen(/Library/Application Support/Google SketchUp 8/SketchUp/plugins/SketchyPhysics3/sdl/SDL_Special.dylib, 9): no suitable image found. Did find: /Library/Application Support/Google SketchUp 8/SketchUp/plugins/SketchyPhysics3/sdl/SDL_Special.dylib: unknown required load command 0x80000022
do you know what this means
john also get this if I attempt to proceed
Error starting the simulation: : uninitialized constant MSketchyPhysics3::SP3xSimulationContext::SPSounds /Library/Application Support/Google SketchUp 8/SketchUp/Plugins/SketchyPhysics3/ControllerCommands.rb:777:in `initialize'
Typically this means that the OS attempting to load (dlopen) the dynamic library is not compatible with the library (either architecture or 32-64 bit mismatch). I need to know what version of OX X you're running. The best bet is 10.6 on a newer intel box but it should work on any intel mac after 10.4 I would think. Please drop me a note with the specifics of your mac or post something here and I'll take a look. Kevin
-
willeykj
-
- Posts: 21
- Joined: Fri Dec 21, 2007 5:43 pm
by phy » Tue Dec 07, 2010 5:40 pm
CPhillips wrote:That helps a little. Now if I could just figure out how to get this to start happening I am sure I could fix it.
I couldn't quite interpret what you mean there. Do you mean you can't reproduce the problem? If so, add or change some script on a simple model and straightway exit the sketchyphysics inspector. You see the inspector doesn't make the change to the script until you take the focus off of the text area. If you x out of the inspector before taking the focus off the text area the webdialog gets dirty. Hope I make sense.
Have A Good Day! 
-
phy
-
- Posts: 193
- Joined: Sat Nov 15, 2008 4:35 pm
by solodown » Wed Dec 08, 2010 9:24 pm
- Code: Select all
Error Loading File sketchyphysics.rb dlopen(/Library/Application Support/Google SketchUp 7/SketchUp/plugins/SketchyPhysics3/sdl/SDL_Special.dylib, 9): no suitable image found. Did find: /Library/Application Support/Google SketchUp 7/SketchUp/plugins/SketchyPhysics3/sdl/SDL_Special.dylib: unknown required load command 0x80000022
-
solodown
-
- Posts: 96
- Joined: Sun Jun 20, 2010 12:38 pm
- Name: Anthony
by CPhillips » Thu Dec 23, 2010 5:13 am
It looks like right now SketchyPhysics will only work on Mac's running 10.6. We may be able to make a 10.5 version if there is enough demand. Can a few mac users chime in and let me know if you are still using 10.5. Also is anyone using 10.6 getting this error?
Chris
-
CPhillips
-
- Posts: 1085
- Joined: Fri Nov 23, 2007 11:12 pm
by solodown » Fri Dec 24, 2010 3:47 pm
Mac OS X 10.5.8
-
solodown
-
- Posts: 96
- Joined: Sun Jun 20, 2010 12:38 pm
- Name: Anthony
by mptak » Sat Dec 25, 2010 4:50 pm
Spent a few minutes Christmas morning installing SP3.2 on my triplet nephew's Macbook with SnowLeopard and it worked nicely...I guess it is time to upgrade to snow leopard....Adapt or perish I guess.
-
mptak
-
- Posts: 118
- Joined: Tue Dec 25, 2007 10:57 pm
- Location: Wisconsin in the US
by MichaelG. » Sat Dec 25, 2010 10:06 pm
I posted a comment [more particularly a plea for help] in the newbie forum, yesterday.
Grateful for any assistance.
MichaelG.
Update: 01-01-2011 ... Having received no response. I finally discovered that my download of SP3.2 was either incomplete or corrupt. Now, having downloaded a fresh copy, everything seems to work.
Last edited by MichaelG. on Sat Jan 01, 2011 1:15 pm, edited 1 time in total.
-
MichaelG.
-
- Posts: 3
- Joined: Fri Dec 24, 2010 11:53 pm
- Name: MichaelG.
by jblively » Tue Dec 28, 2010 1:43 am
- New script command setFrameRate overrides physics settings framerate.
Hello, trying to implement the set frame rate command to get the model to slow down on faster computers so we can anticipate the results.
Can you let me know the usage and where to put it.
I've tried setFrameRate=5; in the on tick section and it doesn't seem to make any difference.
Thanks,
Joe
-
jblively
-
- Posts: 41
- Joined: Wed Apr 14, 2010 8:09 pm
by bossdave » Tue Dec 28, 2010 3:09 am
I am running SU8 with wine on Ubuntu with SP3.2. The UI box appears showing: Joint, State, Properties, Shapes , but no details. Same problem withSP3.1. Any ideas what I am missing? Thanks
-
bossdave
-
- Posts: 5
- Joined: Thu Jan 10, 2008 1:43 am
by phy » Tue Dec 28, 2010 3:59 am
bossdave wrote:I am running SU8 with wine on Ubuntu with SP3.2. The UI box appears showing: Joint, State, Properties, Shapes , but no details. Same problem withSP3.1. Any ideas what I am missing? Thanks
There you go http://forums.sketchucation.com/viewtopic.php?f=61&t=33030webdialogs don't work in wine without this tweak.
Have A Good Day! 
-
phy
-
- Posts: 193
- Joined: Sat Nov 15, 2008 4:35 pm
by CPhillips » Wed Dec 29, 2010 9:26 am
jblively wrote:- New script command setFrameRate overrides physics settings framerate.
Hello, trying to implement the set frame rate command to get the model to slow down on faster computers so we can anticipate the results.
Can you let me know the usage and where to put it.
I've tried setFrameRate=5; in the on tick section and it doesn't seem to make any difference.
Thanks,
Joe
Thats not quite how it works. a frame rate of 5 will make the physics simulation step 5 times before updating the sketchup model. To make it go a little slower you could use a frame rate of 1.
-
CPhillips
-
- Posts: 1085
- Joined: Fri Nov 23, 2007 11:12 pm
by robint » Tue Jan 04, 2011 10:54 am
help UI window not working
Postby robint on Mon Jan 03, 2011 8:59 am ive got su8 latest and sp 3.2 installed
when I try to inspect joints i get the usual info for a hinge (say). when I try to input say accel or a controller name , it accepts them but doesnt do anything - no slider in the run panel
Ive tried the other tip of clicking on the UI button to exit the UI window to no avail
I saw a tuorial where it said that you can turn a hinge into a reversible motor by putting accel = 1 and giving the controller a name - which is then supposed to bring up a slider in the run panel - i just get a blank.
then i go back and look again and just get blank boxes. only restarting su8 will clear the prob but it comes back if I try to change a parameter
cheers Robin
ps I havent got so excited since I first used SU4 - this could be a wonderful educational tool if physical values could be added to demonstrate newtons laws for example
I made a double pendulum the other day, but as already said, there's lots of real world physical attributes to be addressed (eg mass, density, friction, elasticity etc) but its early days
-
robint
-
- Posts: 20
- Joined: Fri Dec 31, 2010 10:59 am
by robint » Wed Jan 05, 2011 11:21 am
Hi guys
how or where do I post a skp model for discussion
also i cant post a link here?
robin
-
robint
-
- Posts: 20
- Joined: Fri Dec 31, 2010 10:59 am
by robint » Thu Jan 06, 2011 9:21 am
This site seems to be moribund, not a lot happening?
Anyway Ive solved the UI problem
so all working ok now
-
robint
-
- Posts: 20
- Joined: Fri Dec 31, 2010 10:59 am
by robint » Thu Jan 06, 2011 9:31 am
here my 2c worth for sp 3.2
if you want to make a reversible motor joint, use the hinge (as per sp2) and set the controller blue box to
quote slider ( 'anyname' )
you can see the same construction using the motor joint
wish I didnt have to waste hours getting to this point.
Also
to make magnetic solids work you need to set the ui box status to magnetic and the magnetic force to a large value eg +- 1000
not obvious is it?
I wonder whether its worth contributing to a wikimanual at5 this stage if thereis going to be an sp4 completely recoded?
Robin
-
robint
-
- Posts: 20
- Joined: Fri Dec 31, 2010 10:59 am
by jblively » Fri Jan 07, 2011 2:45 am
robint wrote:to make magnetic solids work you need to set the ui box status to magnetic and the magnetic force to a large value eg +- 1000
I do believe that magnetic force is also affected by mass and scale. So if the model is very large, you'll need a larger value for magnetic force. If you have a small scale model, you can use a magnetic force of as little as 10 to see results. There is so much involved in SP, more documentation would be nice, but i'm just glad we have people here we can chat with who want to help!
-
jblively
-
- Posts: 41
- Joined: Wed Apr 14, 2010 8:09 pm
by Pilou » Fri Jan 07, 2011 3:25 am
Does this vervion can works on the V6?
-

Pilou
- Top SketchUcator
-
- Posts: 10049
- Joined: Wed Jan 23, 2008 10:33 pm
- Operating system: Windows
- SketchUp version: 6
- License type: Free
- SketchUp use: hobby
- Level of SketchUp: Advanced
-
by robint » Fri Jan 07, 2011 10:06 am
Hi JB
good point
afik though there is a density coeff, I dont know how well it correlates to the mass of an object? the apparent mass i governed by the size of the collision shape as set in the rt click physics setting
havent figured this tiresome details out yet
I have a number of cu4rious physical models i would like to post for discussion (eg double pendulums etc) but havent yet found a way to post these little experiments.
It seems daft that one cant attach these on this forum - severly limiting
Any ideas?
-
robint
-
- Posts: 20
- Joined: Fri Dec 31, 2010 10:59 am
by CPhillips » Tue Jan 11, 2011 3:42 am
Yes magnets are effected by the size of an object.
You can attach files to posts. Look at the bottom of the form and there is an "Upload Attachment" tab.
-
CPhillips
-
- Posts: 1085
- Joined: Fri Nov 23, 2007 11:12 pm
by robint » Tue Jan 11, 2011 10:19 am
hi all
sorry pardon didnt see the tab for uploading
I was trying to make a chain rotating around 2 sprockets. The chain seems to want to fly apart, its all chaotic? even though its all supposed to be stationary, any ideas
btw i have su8 and sp3.2 dec2010
its all good fun but i wish i had more control over the way things work, bit hit and miss at the moment
btw although bugsplat is a good tool, i dont connect my main machine directly to the net for obvious security reasons, so cannot utilise bs directly. It would be much more convenient if bs made a composite text file stored conveniently which i could gather up and post here to help with su crashes. Its a bit cumbersome at the moment
cheers robin
Please, register (free) to access all the attachments on the forums.
-
robint
-
- Posts: 20
- Joined: Fri Dec 31, 2010 10:59 am
by TIG » Tue Jan 11, 2011 11:39 am
CPhillips Please see here for an 'issue' with group.definition viewtopic.php?p=300105#p300105 
TIG
-

TIG
- Global Moderator
-
- Posts: 13987
- Joined: Mon Nov 12, 2007 7:24 pm
- Location: Northumbria UK
- Name: TIG
- Operating system: Windows
- SketchUp version: 8
- License type: Pro
- SketchUp use: architecture
- Level of SketchUp: Advanced
by robint » Wed Jan 12, 2011 4:26 am
hi CP
thanx for the tip, will see if i can make it so.
any pointers on where to start on Ruby so i can at least know something of what im doing?
cheers
Robint
-
robint
-
- Posts: 20
- Joined: Fri Dec 31, 2010 10:59 am
by robint » Sat Jan 15, 2011 8:33 am
Hi I tried the code but it seemed to make things worse Code: Select all class Sketchup::Group if not Sketchup::Group.method_defined?(:definition) def definition() # make it so you can use group.definition return(self.entities.parent) end end#if end something about a chain sp doesnt like Im stuck, my chain flies apart robin
Please, register (free) to access all the attachments on the forums.
-
robint
-
- Posts: 20
- Joined: Fri Dec 31, 2010 10:59 am
by Ad Machine » 5 minutes ago
Need SketchUp Books, Models, Styles or Textures? Check out our One Stop Shop for SketchUp. Premium Members get 20% discount!
-
Ad Machine
- Robot
-
- Posts: 2012
-
Return to SketchyPhysics
|