Ploopy drawing packet comparison / مقارنة حزم رسم Ploopy

Unzip this example and open a terminal in the extracted folder. You need Python 3.9+ and a STEP viewer to inspect the drawing. Each inner ZIP holds the same original drawing, its source record, licence and a dimension-reading task. The website compares the complete sizes of the four inner ZIP files. The outer ZIP is a convenient carrier for all four.

فُكّ ضغط هذا المثال وافتح الطرفية في المجلد الناتج. تحتاج إلى Python 3.9 أو أحدث، وإلى برنامج عرض STEP لفحص الرسم. تحتوي كل حزمة ZIP داخلية على الرسم الأصلي نفسه وبيانات مصدره وترخيصه ومهمة قراءة أحد الأبعاد. يعرض الموقع حجم كل حزمة داخلية كاملة. يجمع الملف الخارجي الحزم الأربع في تنزيل واحد.

Restore each packet in a new folder / استعد كل حزمة في مجلد جديد

python3 -B receive.py gzip-cold.zip first-gzip
python3 -B receive.py codec-cold.zip first-codec
python3 -B receive.py gzip-warm.zip repeat-gzip
python3 -B receive.py codec-warm.zip repeat-codec --reader first-codec/cn-preview-0.3.pyz

The cold Codec packet supplies the pinned 0.3 reader and its MIT notice. Before timing a separate warm delivery, prepare the reader on the receiving machine. You can use the verified reader and its licence saved by the cold restore. Both gzip packets are byte-identical. All four restored STEP files should contain 15,392 bytes and have the SHA-256 below. Read task.txt beside a restored drawing to try measuring it.

تتضمن حزمة الترميز للإرسال الأول القارئ المحدد بالإصدار ٠٫٣ ونسخة من ترخيصه MIT. قبل توقيت إرسال منفصل بقارئ مثبّت، جهّز القارئ على جهاز المستلِم. يمكن استخدام القارئ المتحقّق منه وترخيصه اللذين تحفظهما عملية استعادة الحزمة الأولى. حُزمتا gzip متطابقتان. ينبغي أن يبلغ حجم كل ملف STEP مُستعاد ١٥٬٣٩٢ بايت وأن تتطابق بصمته مع SHA-256 أدناه. يشرح ملف task.txt المجاور للرسم البعد المطلوب قياسه.

Drawing SHA-256
c4b20508a3a309f483336c7bd2a43f6a9546472f8cb99c0d0eddb8ccbf77e9b5

Bit Bearing Press Complete.step · Ploopy Corporation · CERN OHL v1.2
Revision 66134a982366751794067b96b1c69276c179b20f
https://github.com/ploopyco/trackball/blob/66134a982366751794067b96b1c69276c179b20f/hardware/Mechanicals/STEPs/Bit%20Bearing%20Press%20Complete.step
See hardware-LICENSE.txt for the hardware licence. Community Codec 0.3 reader notice is in reader-LICENSE.txt.
https://github.com/mostafanasrrsp/cn-community-codec/releases/tag/v0.3.0-preview
