المشكلة:
تحاول تصدير نموذج STEP ثلاثي الأبعاد لـ PCB باستخدام أمر مثل
kicad_export_step.sh
kicad-cli pcb export step MyPCB.kicad_pcbلكن ملف STEP الناتج يفتقد جميع (أو معظم) نماذج المكونات (أي يُصدَّر الـ PCB فقط).
علاوةً على ذلك، في مخرجات الأمر، يمكنك قراءة
kicad_vrml_error.txt
Cannot add a VRML model to a STEP file.لكل مكون على حدة، على سبيل المثال
kicad_vrml_error_examples.txt
Add component R6.
Cannot add a VRML model to a STEP file.
Add component R21.
Cannot add a VRML model to a STEP file.
Add component C7.
Cannot add a VRML model to a STEP file.
Add component C16.
Cannot add a VRML model to a STEP file.الحل
أضف العلم --subst-models إلى kicad-cli لاستبدال نماذج VRML بنماذج STEP تلقائيًا:
kicad_export_step_with_subst.sh
kicad-cli pcb export step MyPCB.kicad_pcb --subst-modelsبعد ذلك، ستُصدَّر جميع نماذج المكونات المتاحة تمامًا كما في العارض.
Check out similar posts by category:
الإلكترونيات KiCad
If this post helped you, please consider buying me a coffee or donating via PayPal to support research & publishing of new posts on TechOverflow