sketchucation logo sketchucation
    • Login
    πŸ€‘ SketchPlus 1.3 | 44 Tools for $15 until June 20th Buy Now

    Simulation aborted

    Scheduled Pinned Locked Moved SketchyPhysics
    32 Posts 3 Posters 19.2k Views 3 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • D Offline
      deskpilot
      last edited by

      Whilst experimenting with various joint configurations, Something went wrong and I now get the following message:

      SketchyPhysics Simulation aborted due to an error!
      An error occured whilst starting simulation:
      C;/Users/Admin/AppData/Roaming/SketchUp/SketchUp
      2014/SketchUp/Plugins/SketchyPhysics3/sp.tool.rb:1270:in 'block in
      active_standard'

      Any suggestions please.

      Doug

      1 Reply Last reply Reply Quote 0
      • A Offline
        Anton_S
        last edited by

        This is called because there is a syntax error in 'scripted' field. You can upload the model, so i could fix it, well, if you can't fix it yourself.

        1 Reply Last reply Reply Quote 0
        • D Offline
          deskpilot
          last edited by

          Thanks Anton. I'm only interested in the main wheel retract at the moment. Trying to figure how to control the lower leg when the upper control arm is rotated anti clockwise to just over the vertical.


          Main wheels mechanism.skp

          1 Reply Last reply Reply Quote 0
          • A Offline
            Anton_S
            last edited by

            Here, I connected the joints, but I'm curious on my settup. Can you verify if its right?


            Main wheels mechanism.skp

            1 Reply Last reply Reply Quote 0
            • D Offline
              deskpilot
              last edited by

              Thanks Anton. Yep that's right basically right. Yesterday, I remodeled the lower arm to have only two sections and moved it's top location point.
              How did you get the 2 servo's to work off of one slider? In reality, this would be a mechanical connection, turning at the same speed and degrees of rotation. Hopefully, the wheel will remain vertical throughout the operation. If I can't get the SP right, I'll send you the file.
              Can this model be copied, flipped, and mounted on the opposite side to have both wheels working in unison? Or do I have to rebuild the whole thing? Later, I would like to add the 'new' reward retracting nose wheel so that the whole thing operates from a single servo slider.

              Merry Christmas my friend, tis Xmas day here and now.

              1 Reply Last reply Reply Quote 0
              • A Offline
                Anton_S
                last edited by

                To make 2 servos have same slider, you have to have the both controllers have a slider with the same name. When you create servo joints, by default, they are assigned a controller, slider("servo#####"). To make two joints use the same slider, both joints should have the controller of same slider name, like slider("lift").

                @deskpilot said:

                Can this model be copied, flipped, and mounted on the opposite side to have both wheels working in unison?

                Ha, that's the weakness of SketchyPhysics. Basically, you can't copy joints, or bodies that are connected with joints. To do that, you have to:

                1. Delete all joints from the bodies you want to copy.
                2. Copy and paste what you want.
                3. Recreate joints.
                4. And connect all joints accordingly.
                  If you upload your remodeled lift wheel mechanism, I will do it for you.

                @deskpilot said:

                Hopefully, the wheel will remain vertical throughout the operation.

                You can use the UpVector joint to force the wheel to look up. However, this is not recommended if you try to reproduce the same in real world because there is no such thing as up vector in real world.

                https://googledrive.com/host/0B3qg8f4WrNdHWktZLXN5T2d6Tms/wheel_lift_mechanism.gif

                @deskpilot said:

                Merry Christmas my friend, tis Xmas day here and now.

                Thank you! Merry Christmas to you too!

                1 Reply Last reply Reply Quote 0
                • D Offline
                  deskpilot
                  last edited by

                  Hi Anton, I trust you had a relaxed Christmas. I didn't. I have to admit defeat once again with my model. As you will see, several changes have taken place, all to get it into the confines of the proposed fuselage. I have also, removed one servo and replaced it with a solid link (gears and chain in reality) Hopefully, I have the lengths of the 2 new arms correct to give about a 3:1 reduction ration. Will the wheel remain vertical without resorting to black magic, only you can tell me. If you're not too busy, please wave your magic wand over it. Perhaps you can also explain, in layman's language, what steps, and in what order, you do to make this thing happen.
                  If you care to do so, the nose wheel could be controlled by the same servo but you'll need to either raise it, or lower the main wheel prior to ganging them.
                  You might also want to tell me to piss off, that's ok to. 😞


                  Main wheels mechanism

                  1 Reply Last reply Reply Quote 0
                  • D Offline
                    deskpilot
                    last edited by

                    Though you might like to see the plane this is for. Not my design but I'm enlarging it to take my 100kilo frame and will putting a more powerful engine to it. The original is called Sgian Dubh which is Gaelic for dark or hidden knife. (usually tucked into a Scotsman's high sock.)


                    photo shop.jpg

                    1 Reply Last reply Reply Quote 0
                    • A Offline
                      Anton_S
                      last edited by

                      That's a nice mechanism πŸ‘ I never seen something complex before. I love it!

                      Your design of the rear wheel gear mechanism did not turn out vertical when the gear was lowered, but I made the two vertical bars 40mm shorter, and as of result the mechanism worked very well. I think rear wheels could go lower, to contact the floor, but I'm not sure on how you want it setup. I posted the model for your investigation. It will be very easy to tweak landing height. You don't have to redraw all arms and change their height. All you have to do, for testing purposes, is move hinges (axis of rotation of arms) a few mm up or down, test it, and then once you find the right alignment, you can redraw arms to their desired lengths.


                      Main wheels mechanism trial.skp

                      1 Reply Last reply Reply Quote 0
                      • D Offline
                        deskpilot
                        last edited by

                        Anton, Anton, Anton. Thank you so much. You did a great job, but we're not there yet. I have to have the full ground clearance so the the 'pusher' propeller doesn't touch the ground as the aircraft rotates for take-off or on flare as it lands. I'll look at getting the nose wheel to fully retract and for the mains to come down lower. I practice, there will be lots of changes to make the whole thing strong enough and stable in the 'X' axis as well. This, though, give me the optimism to carry on.
                        May all your dreams come to fruition in the new year. Doug

                        1 Reply Last reply Reply Quote 0
                        • A Offline
                          Anton_S
                          last edited by

                          Thanks, man! I'll be there to help out. At some point I might create a video explaining how I added joints, grouping and connection order, and other rules that at some point will be handy when using SP.

                          Happy a happy new year!

                          1 Reply Last reply Reply Quote 0
                          • D Offline
                            deskpilot
                            last edited by

                            Greeting Anton. Firstly let me wish you and yours a very safe, healthy and prosperous new year.
                            I'm so glad the 'silly season is over. Perhaps life can get back to normal now.

                            I've modified my nose gear assembly to include the control lever but something is keeping the leg locked as if it were set to static. The small 'locking' link is the same. If there's something hidden, I can't find it. Care to take a look?
                            The final operation should be, starting with the lever fully back as modeled, pushing it forward should rotate the nose wheel leg to be horizontal and tucked up into the blue foam. Hopefully, the curved actuating bar will reach over the locking mechanism without crashing into it.
                            Looking at the main wheels, it appears that this might be a step too far in that weight is the enemy and when I add the second system (right hand side) I see a whole lot of weight, and I haven't got the interconnecting hardware modeled yet. Might have to accept a fully streamlined fixed main gear for starters.


                            WOW, didn't realize file was so big.

                            1 Reply Last reply Reply Quote 0
                            • A Offline
                              Anton_S
                              last edited by

                              Here you go!

                              The small group with two hinges connecting wheel to the lever part - was too small. The 'Default' shape in SketchyPhysics can't process small objects, and it doesn't work so well. Use 'Convexhull2' shape instead. It handles small objects properly.

                              Here is your fixed model. I managed to get it under 3 MB by purging unused definitions. Here is how you do it in case you interested:

                              Open Ruby Console, and paste this command:
                              Sketchup.active_model.definitions.purge_unused

                              Also, using TT CleanUp plugin is recommended too. It removes all unused edges and other geometry.

                              It is a good practice to purge unused geometry from your model before uploading it somewhere.


                              revised nosewheel assy.skp

                              1 Reply Last reply Reply Quote 0
                              • D Offline
                                deskpilot
                                last edited by

                                Thanks Anton. I do have TTcleanUp installed and use it. As to why there are still so many errors......?
                                I'm using the free version of SU and SP, maybe there's a limit to what can happen. Currently I'm trying to get SP camera to work so that I can send an .avi file to the plane's designer. Seems there no tutorial for this and I'm doing the necessary research on the web for inspiration. Do you know where the files are saved?

                                1 Reply Last reply Reply Quote 0
                                • D Offline
                                  deskpilot
                                  last edited by

                                  Cheers mate. nothing's as easy as SketchUp/SketchyPhysics is it....................NOT πŸ˜‰

                                  1 Reply Last reply Reply Quote 0
                                  • A Offline
                                    Anton_S
                                    last edited by

                                    Yes, SP could have been made easier to use. I'm working on MSPhysics (a similar project to SP) and I will attempt to make as easy to use as possible.

                                    1 Reply Last reply Reply Quote 0
                                    • D Offline
                                      deskpilot
                                      last edited by

                                      Anton, I've installed Makeavi and have loaded 2500 images. Unfortunately, something goes amiss and the resulting 'video' is split into 4 displaced sections and colours are totally changed. Any idea's as to what I'm doing wrong. I don't get the compression choice you mention but there is a cropping option that I haven't used.

                                      1 Reply Last reply Reply Quote 0
                                      • D Offline
                                        deskpilot
                                        last edited by

                                        Sorted, sort off.

                                        1 Reply Last reply Reply Quote 0
                                        • A Offline
                                          Anton_S
                                          last edited by

                                          When insterting images, try inserting them all at once:

                                          1. Click Add Files button.
                                          2. Select Ctrl-A and click open. This will import all images at once, in sorted form.
                                          3. Set Playback frame rate to 60.
                                          4. Click the Begin! button.
                                          5. Select video location and name.
                                          6. Afterwards Video Compression options dialog will pop up. Select Microsoft Video 1, set Compression Quality to 75 and click OK.
                                          7. Afterwards use desired video converter to convert AVI to mp4 or any desired format. You'll find many free video converter software online by google searching free video converter.

                                          I updated prior post with using MakeAVI instructions.

                                          1 Reply Last reply Reply Quote 0
                                          • A Offline
                                            Anton_S
                                            last edited by

                                            The free version of SU should work the same as the licensed version.

                                            To export an animation, do the following:

                                            1. Enable SketchyReplay Record button
                                            2. Press play and run simulation for desired time
                                            3. Reset simulation. It will ask you whether to save animation. Click YES.
                                            4. Go to (Menu) > Plugins > SketchyReplay > Export Animation.
                                            5. A dialog with options will be displayed.
                                            • Set ReplayCamera? to YES if you want to replay your camera movements.
                                            • Set Save As to PNG or JPG.
                                            1. Press OK. This will lead you to choose a saving location. Once you done, a set of images will be exported into the chosen folder.
                                            2. Use desired software to combine images into a video. I suggest using MakeAVI. See next steps for instructions.
                                            3. One last step. Select (Menu) > Plugins > SketchyReplay > Erase Record. This will remove all animation export data from SU file, which will reduce file size.

                                            Using MakeAVI:

                                            1. Launch makeavi.exe
                                            2. Click Add Files button.
                                            3. Navigate to folder where all generated images are stored.
                                            4. Select Ctrl-A and click open. This will import all images at once, in sorted form.
                                            5. Set Playback frame rate to 60.
                                            6. Click the Begin! button.
                                            7. Select video location and name.
                                            8. Afterwards Video Compression options dialog will pop up. Select Microsoft Video 1, set Compression Quality to 75 and click OK.
                                            9. Afterwards use desired video converter to convert AVI to MP4 or any desired format. You'll find many free video converter software online by google searching free video converter.
                                            1 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 1 / 2
                                            • First post
                                              Last post
                                            Buy SketchPlus
                                            Buy SUbD
                                            Buy WrapR
                                            Buy eBook
                                            Buy Modelur
                                            Buy Vertex Tools
                                            Buy SketchCuisine
                                            Buy FormFonts

                                            Advertisement