o
    oÇh‚
  ã                
   @   s¨  d dl m  mZ d dlZd dlZd dlZ	e 
d¡Zejddd\ZZZe eddd¡Ze de d¡e d	¡¡Ze d
e d¡e d	¡¡Ze d¡Ze 
d¡Ze deee d	¡e ejej¡ef¡Ze ede g d¢¡ dd¡¡ e d¡Z e d¡Z!e!e_"e d¡Z#e#e_"e d¡Z$e$e_"e d¡Z%e d¡Z&e d¡Z'e ee%e&e'd d d ¡efe_e  (ej)eej ¡ e  (ej)eej* ¡ e  (eeej+ ¡ e ,ej"ej) -e ¡e¡Ze ,ej"ej) -e ¡e¡Zejd  e ,ej"ej. -e ¡e¡ Ze ,ej"ej) -e ¡e¡e ,ej"ej) -e ¡e¡ ejd   e ,ej"ej. -e ¡e¡ Ze ,ej"ej) -e ¡e¡ejd   e ,ej"ej. -e ¡e¡ Zejd  e ,ej"ej. -e ¡e¡ Zejd  Zej) (ej)eej eej*  ¡ e (ej)eej ¡ e (ej)eej* ¡ ej/ 0e eee¡Z1ej/ 0e ee¡Z1ej/ 0ej)eee¡Z1e 2d¡\Z3Z4Z5e3ej e4ej*  e5ej+  Z6e6eej   7¡ Z8ej) 9ee3ej ¡ ej) :ee3¡Zej"ej" Zej"Zej"ej" ej" ZdS )é    NÚazc1 c2 c3T)Úrealé   Úp1Úp1_ptÚmÚp2Úp2_ptÚr_cmÚr_fÚrÚDCM)	r   r   r   r   r   r   r   r   r   é   ÚoÚm1Úm2ÚmrÚi1Úi2Úi3zu1 u2 u3);Úsympy.physics.mechanicsÚphysicsÚ	mechanicsÚ_meÚsympyÚ_smÚmathr   ÚnumpyÚ_npÚReferenceFrameÚframe_aÚsymbolsÚc1Úc2Úc3Úinertiar   ÚParticleÚPointÚSymbolÚparticle_p1Úparticle_p2Ú	body_r_cmÚbody_r_fÚ	RigidBodyÚouterÚxÚbody_rÚorientÚMatrixÚreshapeÚpoint_or   Úmassr   r   r   r   r   Úset_posÚpointÚyÚzÚinertia_of_point_massÚpos_fromÚ
masscenterÚ	functionsÚcenter_of_massÚbÚdynamicsymbolsÚu1Úu2Úu3ÚvÚ	normalizeÚuÚset_velÚpartial_velocity© rI   rI   ú/var/www/html/construction_image-detection-poc/venv/lib/python3.10/site-packages/sympy/parsing/autolev/test-examples/ruletest8.pyÚ<module>   s`    


( 






"R:"
 