login
sign up
forgot your password?
Marble pump by fahreddin

This is a slightly different variation of the marble pump model as shown in http://www.sentex.net/~mwandel/marbles/pump.html.

  Marble pump

polygon(points=[[27.5, 15.0], 
                [20.0, 15.0], 
                [20.0, 7.5], 
                [37.5, 7.5], 
                [37.5, 15.0], 
                [30.0, 15.0], 
                [30.0, 10.0], 
                [27.5, 10.0]], 
        name='polygon1', alias='p1', fillColor=(253, 138, 152, 150))


rectangle(x=28.75, y=13.75, width=2.5, height=2.5, 
          name='rectangle1', alias='r1', fillColor=(114, 136, 146, 150))


rectangle(x=28.75, y=13.4115, width=1.25, height=1.927, 
          name='rectangle2', alias='r2', fillColor=(232, 202, 173, 150))


rectangle(x=9.39838939585, y=25.9691057402, width=38.5791229725, height=0.83303617114, 
          name='rectangle3', alias='r3', fillColor=(131, 103, 122, 150))


rectangle3.angle = -0.540881821088
circle(x=16.575, y=23.3615, radius=0.964871494038, 
       name='circle1', alias='c1', fillColor=(180, 140, 231, 150))


circle(x=18.341, y=22.2645, radius=0.964871494034, 
       name='circle2', alias='c2', fillColor=(180, 140, 231, 150))


circle(x=20.122, y=21.2435, radius=0.964871494034, 
       name='circle3', alias='c3', fillColor=(180, 140, 231, 150))


circle(x=22.02, y=20.063, radius=0.964871494034, 
       name='circle4', alias='c4', fillColor=(180, 140, 231, 150))


circle(x=24.052, y=18.775, radius=0.964871494034, 
       name='circle5', alias='c5', fillColor=(180, 140, 231, 150))


circle(x=14.7625, y=24.674, radius=0.964871494034, 
       name='circle8', alias='c8', fillColor=(180, 140, 231, 150))


circle(x=12.889, y=25.9605, radius=0.964871494034, 
       name='circle9', alias='c9', fillColor=(180, 140, 231, 150))


circle(x=11.014, y=27.0855, radius=0.964871494034, 
       name='circle10', alias='c10', fillColor=(180, 140, 231, 150))


circle(x=9.2015, y=28.148, radius=0.964871494034, 
       name='circle11', alias='c11', fillColor=(180, 140, 231, 150))


circle(x=7.09320027203, y=29.2327670294, radius=0.964871494034, 
       name='circle12', alias='c12', fillColor=(180, 140, 231, 150))


circle(x=5.15570027203, y=30.3577670294, radius=0.964871494034, 
       name='circle13', alias='c13', fillColor=(180, 140, 231, 150))


circle(x=3.2015, y=31.5855, radius=0.964871494034, 
       name='circle14', alias='c14', fillColor=(180, 140, 231, 150))


polygon(points=[[17.079999999999998, 24.84], 
                [28.287999999999993, 17.440000000000001], 
                [28.640000000000143, 15.519999999992214], 
                [28.815359999999998, 15.462400000000001], 
                [28.992000000000118, 28.224000000007582], 
                [17.863653688665508, 26.730361416065499]], 
        name='polygon3', alias='p3', fillColor=(233, 229, 101, 150))


polygon(points=[[31.167999999999999, 15.552], 
                [31.52, 15.552], 
                [31.64408318846894, 31.028617247225252], 
                [29.822219423494186, 30.914750761914302], 
                [31.074750761914302, 28.922087268973236]], 
        name='polygon4', alias='p4', fillColor=(173, 250, 136, 150))


circle(x=30.0015, y=26.908, radius=0.964871494034, 
       name='circle18', alias='c18', fillColor=(180, 140, 231, 150))


circle(x=30.0015, y=24.692, radius=0.964871494034, 
       name='circle19', alias='c19', fillColor=(180, 140, 231, 150))


circle19.angle = 3.14159265359
circle(x=30.0015, y=22.428, radius=0.964871494034, 
       name='circle20', alias='c20', fillColor=(180, 140, 231, 150))


circle20.angle = 1.22460635382e-016
circle(x=30.0015, y=20.212, radius=0.964871494034, 
       name='circle21', alias='c21', fillColor=(180, 140, 231, 150))


circle21.angle = 3.14159265359
circle(x=30.0015, y=18.108, radius=0.964871494034, 
       name='circle22', alias='c22', fillColor=(180, 140, 231, 150))


circle22.angle = 1.22460635382e-016
circle(x=30.04246, y=16.05584, radius=0.964871494034, 
       name='circle23', alias='c23', fillColor=(180, 140, 231, 150))


circle23.angle = 3.14159265359
motor(body1=rectangle2, body2=ground, b1x=0.0, b1y=-0.625, 
      rpm=150, torqueLimit=1500, name='motor1', alias='m1')




hinge(body1=rectangle1, body2=rectangle2, b1x=0.0, b1y=0.0, 
     name='hinge1', alias='h1')


hRail(body1=polygon1, body2=ground, b1x=5.625, b1y=1.38157894737, 
      name='hRail1', alias='h1')


weld(body1=rectangle3, body2=ground, b1x=14.4164743863, b1y=-0.060172306003, 
     name='weld1', alias='w1')


weld(body1=polygon3, body2=ground, b1x=1.77344470059, b1y=-0.595086811194, 
     name='weld7', alias='w7')


weld(body1=polygon4, body2=ground, b1x=-0.12370066812, b1y=5.39557389369, 
     name='weld8', alias='w8')

noCollision([polygon1, rectangle2])
hide(MOTOR)
hide(HRAIL)
hide(WELD)
system.box.active = False
...
...