SketchyPhysics3.2 (Dec 2)Moderator: CPhillips
55 posts
• Page 2 of 2 • 1, 2
Re: SketchyPhysics3.2 (Dec 2)High CP
I have used Poser 5 in the past and learnt about inverse kinematics and joints I think there is a fundamental limitation that prevents you making a chain of joints because the last child joint has to join the first parent so the parent must then become a child. This would be inherently unstable (like positive feedback) which is why the joint flies apart in pieces Can anyone confirm my guesswork or poiont me somewhere that a working chain has been made (ie will revolve around a sprocket cheers robin
Re: SketchyPhysics3.2 (Dec 2)Hey, robint!
Your chain works perfect when you set the collision state correct in every single object Please, register (free) to access all the attachments on the forums. /hpnisse
Windows 7 U - Sketchup 8 - SketchyPhysics 3.2-Dec2 - from Sweden
Re: SketchyPhysics3.2 (Dec 2)Hi,
I have installed SketchyPhisics 3.2 on Mac with OSX 10.6.6 and SU8 and the plugin don't woks, SU read the plugin, appear the toolbars, you can create the shapes but when you press the play appears a window with this message: Error initializing the Simulation: : uninitialized constant MSketchyPhysics3::SP3xSimulationContext::SPSounds /Users/Oxer/Library/Application Support/Google SketchUp 8/SketchUp/Plugins/SketchyPhysics3/ControllerCommands.rb:777:in `initialize' And in the ruby console this: String doesn't compile: uninitialized constant MSketchyPhysics3::SP3xSimulationContext::SPSounds#<NameError: uninitialized constant MSketchyPhysics3::SP3xSimulationContext::SPSounds> /Users/Oxer/Library/Application Support/Google SketchUp 8/SketchUp/Plugins/SketchyPhysics3/ControllerCommands.rb:777:in `initialize' /Users/Oxer/Library/Application Support/Google SketchUp 8/SketchUp/Plugins/SketchyPhysics3/sketchyphysicstool.rb:727:in `new' /Users/Oxer/Library/Application Support/Google SketchUp 8/SketchUp/Plugins/SketchyPhysics3/sketchyphysicstool.rb:727:in `initialize' /Users/Oxer/Library/Application Support/Google SketchUp 8/SketchUp/Plugins/SketchyPhysics3/sketchyphysicstool.rb:1623:in `new' /Users/Oxer/Library/Application Support/Google SketchUp 8/SketchUp/Plugins/SketchyPhysics3/sketchyphysicstool.rb:1623:in `startphysics' /Users/Oxer/Library/Application Support/Google SketchUp 8/SketchUp/Plugins/SketchyPhysics3/sketchyphysicstool.rb:1650:in `physicsTogglePlay' /Users/Oxer/Library/Application Support/Google SketchUp 8/SketchUp/Plugins/SketchyPhysics3/sketchyphysicstool.rb:1738 I have reinstalled SketchyPhysics3.1 and works.
Re: SketchyPhysics3.2 (Dec 2)
Hi H Thanks for that tip, the model chain works for me now, but I dont understand how setting the object state to "show collision geometry" makes such a radicle difference? obviously i dont understand this state? I looked on the tutor manual but that wasnt helpful so i am puzzled nice that one can actually make a set of revolving links What we need now is a workable spring (with variable rate and damping). the legacy one only works in sp2.3 not in 3.2. perhaps its work in progress can anyone tell me if joints have a built in friction? A simple pendulum will slowly come to rest, so there must be some restraint or energy loss built in? is this variable? in mechanical systems you need mass, stored energy (spring) and friction (damping) preferably using SI units so as to start physical modelling BTW I was once involved with a brilliant guy who made an amazing music generating prog that allowed exploration of scales, rhythms etc. BUT he was a C++ script magician and his prog became a tangle compost heap of widgets with a poor and almost unusable manual. I tried to help sort out the mess but the guy simply couldnt organise his thoughts in a consistant and methodical manner so his brialliant concepts came to nought as prospective users lost enthusiasm and gave up. If anyone is preparing to organise a proper manual for SP4 then I can offer my 2c worth cheers Robin All good stuff as I had come to a brick wall till now
Re: SketchyPhysics3.2 (Dec 2)hi all
Im posting some models that illustrate some points and queries all comments gratefully received Robin Please, register (free) to access all the attachments on the forums.
Re: SketchyPhysics3.2 (Dec 2)Toujours pas de nouvelles pour faire fonctionner ce plug-in sous Mac OS X 10.5.8 avec Google SketchUp ?
Re: SketchyPhysics3.2 (Dec 2)Hi!
Is there a manual for SketchyPhysics for beginners? If there is one, please upload. Thank you. Andy
Re: SketchyPhysics3.2 (Dec 2)Indeed a user manual for users that did not used ketchyPhysics before would be nice. I noticed that some beginners tips are to be fond here http://sketchyphysics.wikia.com/wiki/SketchyPhysicsWiki , but I'm sure that version 3.2 have much-much more features than are detailed there.
Thanks.
Re: SketchyPhysics3.2 (Dec 2)Could you do like explosions in a future version? That would be cool!
![]()
Re: SketchyPhysics3.2 (Dec 2)MBP with 10.5.8 Thanks!
Re: SketchyPhysics3.2 (Dec 2)
For the first one (rotating cone) you can make the motor reversible by changing the controller code to (slider('motor8055')-0.5)*2 Using that code the middle position of the slide control is off, full left turns one way and right turns the other way. For the second one, to create a lift capsule do this: Create a solid floor. Place a wheel capsule with built in hinge on the floor. Place a lift capsule with built in slider on the floor. Using the JCT click on the hinge joint, then ctrl-click on the slider. A menu pops up asking if you want to "Create a worm gear..". Click "OK". Run the simulation and turn the hinge capsule clockwise and the other capsule should rise. You can build a lift from scratch from components. Just make sure each joint is grouped with the moving objects and joint connected with something static before trying to make the worm gear connection. For the record a slider is not a piston with the accel and drag values set to zero. A piston with those values will not move. For the rotating box using a slide controller on a hinge, the program does not recognise a controller called "speed" so it has defaulted to servo behaviour. You can get the same behaviour from a servo by setting min=-180 and max=180. It is known that servos behave badly if you try to get them to complete full circles or more than one circle. There is no need to mess with the hinge controllers as servos and motors are provided. For the box on a spring, the spring is orientated vertically and does not allow sideways movement or rotation. When you try to drag the box the drag action defaults to horizontal movement. To pull the box up or down inline with the spring you need to hold left-shift on your keyboard while dragging with the left mouse button. Try the spring orientated sideways and it should work fine. The springs are on the stiff side so it is worth playing with the accel and damp settings. Hope that helps.
Again ??!!??There are months now that sketchyphysics 3.2 installs 3.1 !!!
Don't understand this update !?
Re: SketchyPhysics3.2 (Dec 2)Hello,
congratulations for this marvellous job ! I'm using sketchup 8 on a Mac Book Pro running on Mac Os 10.5.8 and I would loooove to be able to use sketchyphysics with this computer any chance ? thx again
Re: SketchyPhysics3.2 (Dec 2)
Hi, bouleaux I'm a mac user too, the last version 3.2 doesn't work on Mac but the 3.1 version works fine on OSX Leopard with SU 8. I hope this help you.
Re: SketchyPhysics3.2 (Dec 2)Hello Oxer, many thanks
I tried to find the 3.1 version, but it doesn't seem to be available for download anymore (on this page : http://code.google.com/p/sketchyphysics/downloads/list) Do you know of another place to find it ? Thank again for your answer
Re: SketchyPhysics3.2 (Dec 2)
If you want i can send it you by PM
Need Help on keyboard controlsHi,
I tried to add kaybord control on my physified lynx crane but I cannot get it working properly. It actually works with sliders so, the joint position is given by the slider position so the crane's arm, for example stays in the position set by the slider. With keybord control it's different and even if I can move the arm with a key, it cannot stay in position when I release the key. original joints where servo. I tried to use a motor instead but the result is almost the same. Any idea? Please, register (free) to access all the attachments on the forums.
Re: SketchyPhysics3.2 (Dec 2)Here is the answer to your question from this thread: http://forums.sketchucation.com/viewtopic.php?f=61&t=44399
There is a much better answer than using a motor to place a joint where you want it - you need to use a servo and a little ruby script Step1: place your servo within the group you want to move and attach it to a base group Step2: select the servo and open the sketchyphysics UI Step3: within the UI apply the following settings
max:1 accel:4000 damp:1000 controller:@servo1 (you can actually call it anything starting with @ Step5: place the following rubyscript in there:
It took me a long time to work this out (reverse engineering another model) so I am more than happy to help anyone out with it if these instructions are too hard to follow. I believe this is a very powerful function in sketchyphysics and I have only seen it in one model in the 3DWH Google Certified Geo-Developer
Re: SketchyPhysics3.2 (Dec 2)Hi Ashscott,
Thanks for your answer. I tried your script and one I wrote and in any case I get the following error when I start the simulation: -------------- Error starting the simulation: Error in Script: ... undefined method'<' for nil:NilClass C:/Program......../ControllerCommands.rb:1314:in 'initEvents' -------------- It something is not correctly initialized. Is there something to import at the beginning of the script or something like that? Any idea? Is there any wiki on the basics of keyboard control? The only one I know is http://sketchyphysics.wikia.com/wiki/Ruby.
Re: SketchyPhysics3.2 (Dec 2)You need to make sure that the name of your servo in the controller box (select the servo and press the 'UI' button) is the same name used in the script - in the example I have used the name '@servo1'
It looks like it is spazzing out because you haven't got a name right somewhere...... Google Certified Geo-Developer
Re: SketchyPhysics3.2 (Dec 2)Hi Ashscott
I didn't really take time to verify but I diectly entered the script like that in the "scripted" field. I think it's the problem because no method is known. In the "On Tick" field, no problem. I think a method, like onTick{ ...} for example, should be created. Alain
Re: Again ??!!??
Hmm... same thing here. I started out with 3.2 but it seemed a bit un-stable (might have been my fault - still learning). I reinstalled 3.2 but at the install wizard point it suddenly reverted 3.1. This then seemed to case more conflict & SP randomly worked or crashed. I'm also using windows 7 (x64) & SU8 - could it be this combi won't load SP3.2? Solution for the moment is running SP3 instead - but no sound effects. NB. has anyone actully produced an SP movie with sound effects - I haven't seen one yet.
Re: SketchyPhysics3.2 (Dec 2)Don't know if anyone can suggest a solution here... I was getting to know sketchyphysics (although it sees a bit temperamental, not always running as it should. I'd produced a few animations (domino falls, etc.) Now it crashes as soon as I hit SP play. I've re-installed 3.1 & again onto a second PC - but still the play button crashed SU. Any ieas?... is there somehting I need to set in SU preferences maybe?
Re: SketchyPhysics3.2 (Dec 2)Try making a simple SP file from scratch - sounds like there might be something in your file that is causing issues if you have been trying to open the same file - I get that often when I have made errors in SU models or ruby script before and it takes a while to work out what it is by elimination but I don't know a better way to do it
Google Certified Geo-Developer
Re: SketchyPhysics3.2 (Dec 2)
You're right - starting with a clean file cleared the fault. It seems there's a conflict between version 3.1 & 3.2. I started working with 3.2 & have some files created with that version. Then having had a problem, I went to re-install & could only access v3.1, so have continued using this version. If I open an existing file that was not originally created in 3.1... the programme crashes (to be expected I suppose - but it then continues to crash with files of either versions). Your suggestion has given me a way to clear the problem. Ideally, I'd like to re-install 3.2 & keep to it - but can't seem to access it now. Anyone know where its's gone?
SketchUcation One-Liner AdvertsKeyframe Animation plugin - animate your SketchUp model by adding movement to any object.
Premium Members get 20% discount!
55 posts
• Page 2 of 2 • 1, 2
|