point A=point( 0 [ m ], 0 [ m ], 0 [ m ] ); point D=point( 0.1[ m ], 0 [ m ], 0 [ m ] ); point B1=point( 0 [ m ], 0.1 [ m ], -0.01 [ m ] ); point C1=point( 0.1 [ m ], 0.1 [ m ], -0.01 [ m ] ); line line2=polyLine( list( A, B1, C1, D, A ) ); body body1=body( color = RGB( 229, 229, 229 ) ); set ground = body1; body body1 < ( A, D ); body body2=body( color = RGB( 255, 153, 153 ) ); joint joint2=rotational( body1, body2, A, projectX, work = on: ); joint joint3=rotational( body2, body1, D, projectX, work = on: ); gravity gravity1=parallel( reverse( projectY, visible = hide: ) ); solid solid2=extrude( line2, point( 0 [ m ], 0 [ m ], 0 [ m ], visible = hide: ), point( 0 [ m ], 0 [ m ], 0.01 [ m ], visible = hide: ), mass = 1 [ kg ] ); body body2 < ( solid2 ); sensor sensor1=jointForce( force:, body2, D, projectZ, joint3 ); /\/////////////////////////////////////////////////////////////////////////////////// /\ Единицы измерения; set units = SI;