sketchucation logo sketchucation
    • Login
    ℹ️ Licensed Extensions | FredoBatch, ElevationProfile, FredoSketch, LayOps, MatSim and Pic2Shape will require license from Sept 1st More Info

    Units of Measurement in Sketchyphysics

    Scheduled Pinned Locked Moved SketchyPhysics
    5 Posts 3 Posters 4.6k 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.
    • V Offline
      vankorok
      last edited by

      Good day,

      I've been working for a project at university trying to use sketchyphysics as a means of drawing conclusions, by solving real problems in a simulation. So far, I have maneged to make some models, but It's been hard to me since I don't know what units of measurement I'm using when I type them in the UI console, like the damp or the acceleration in joints, or the strenght of magnets, thrusters, and breaking forces of fixed joints. The parameters of the buoyancy settings are also a mistery to me, like the current on XYZ axis or the viscosity. I really need to know what units am I using, if anyone knows about it, or knows where I can get this information, please let me know.

      thank you!

      1 Reply Last reply Reply Quote 0
      • M Offline
        mptak
        last edited by

        Thoughtful question which I presume eventually may need to be done empirically. I will dig around for the post but essentially from memory and model forensics the following settings will at least model gravity correctly. When you get into other matters I think that the effects of similitude might start to complicate things but it is still worth the effort. If your model is modeled in meters you can best model "reality" by the following settings:

        framerate: 2
        gravity: 9.8
        worldscale: 1

        velocities are then set in ruby code with the following formula to account for the inch/meter ratio and the frame rate.

        if v is your desired velocity in meters per second...

        input_velocity = v * 39.28/2

        The best way to test this at least in terms of rule of thumb is to raise a ball to 45 meters and see if it takes 3 seconds (180 frames at 60 fps) to drop. I think from there some experimentation may get you pretty far in terms of some of the rest. These two statements imbedded in each object will take you to the frictionless state at least in terms of projectile flight
        onstart{ setLinearDamping(0.0) setAngularDamping([0.0,0.0,0.0]) }

        I'll look around for the proper posts but hopefully this may help some.

        1 Reply Last reply Reply Quote 0
        • V Offline
          vankorok
          last edited by

          Thank you for your help, I'll make some tests as you suggest. I will be very thankfull if you can find out anything else.

          1 Reply Last reply Reply Quote 0
          • M Offline
            mptak
            last edited by

            You might want to take a look at this post:

            http://sketchucation.com/forums/viewtopic.php?f=61&t=53240

            1 Reply Last reply Reply Quote 0
            • R Offline
              Repartee
              last edited by

              I was wondering what the unit of density in SP is?

              1 Reply Last reply Reply Quote 0
              • 1 / 1
              • First post
                Last post
              Buy SketchPlus
              Buy SUbD
              Buy WrapR
              Buy eBook
              Buy Modelur
              Buy Vertex Tools
              Buy SketchCuisine
              Buy FormFonts

              Advertisement