Claude و SolidWorks: 10 استخدامات عملية لمهندس التصميم الميكانيكي + سير عمل PDF

📥 ملفات PDF وشيتات مجانية للمهندسين كل يوم على قناة التليجراماشترك في القناة

لو بتشتغل على SolidWorks كل يوم، أكيد عندك حاجات بتاخد وقت أكتر من اللازم: تكتب Custom Properties لمية قطعة، وتجهز Design Table، وتحسب الطول المفرود للصاج، وتراجع اللوحة قبل ما تطلع للورشة. في المقال ده هنشرح Claude و SolidWorks مع بعض بشكل عملي: Claude يقدر يعمل إيه مع شغل SolidWorks وإيه اللي مايقدرش عليه، و10 استخدامات حقيقية لمهندس التصميم الميكانيكي، ومع كل استخدام Prompt كامل تنسخه وتعدّل القيم اللي بين [ ]. وفي الآخر ملف PDF فيه سير العمل خطوة بخطوة.

Claude و SolidWorks: 10 استخدامات لمهندس التصميم الميكانيكي

لو لسه بتتعرف على Claude، ابدأ بـ مقال Claude للمهندسين: 12 استخدام عملي.

Claude بيتعامل مع ملفات SolidWorks إزاي؟

أول حاجة لازم تعرفها: Claude مش بيفتح ملفات SolidWorks الأصلية (SLDPRT وSLDASM وSLDDRW)، ومش بيتحكم في البرنامج نفسه. اللي بيعمله إنه يشتغل على اللي بتصدّره من SolidWorks، ويكتبلك اللي إنت هتحطه فيه:

الملفClaude يقدر يقراه؟بتستخدمه في إيه
SLDPRT / SLDASM / SLDDRWلاصدّر منه Screenshots أو PDF أو جداول
PDF للوحةأيوه، وفي الملفات لحد 100 صفحة بيشوف الرسومات مش النص بسمراجعة اللوحات
صور وScreenshotsأيوهرسايل الأخطاء، ونتايج الـ Simulation، وشجرة الـ Features
Excel وCSVأيوه، وكمان بيعمل ملفات Excel بمعادلاتالـ BOM والـ Design Tables والحسابات
ماكرو VBAبيكتب الكود، وإنت بتشغّله جوه SolidWorksأتمتة الشغل المتكرر

10 استخدامات عملية لـ Claude و SolidWorks

1. ماكرو يملا Custom Properties من Excel

بدل ما تفتح كل Part وتكتب الـ Description والـ Material ورقم الرسمة بإيدك، Claude يكتبلك ماكرو VBA يعمل ده لكل الملفات مرة واحدة. الخصائص دي هي اللي بتظهر في الـ Title Block والـ BOM.

Role: You are a SolidWorks API (VBA) developer.
Context: SolidWorks [version]. A folder with .SLDPRT and .SLDASM files. An Excel file with columns: File Name, Part Number, Description, Material, Finish, Drawn By.
Task:
1. Write a VBA macro that reads the Excel file row by row.
2. For each row, open the matching file silently, add or update the custom properties (file level, not configuration specific) with the Excel values.
3. Save and close the file.
4. Write a log sheet in Excel: file name, status (updated / not found / error).
Output: The full macro with comments, then the steps to add the Excel reference and run it.
Rules: Do not change geometry or any other property. Skip open files and report them. Make a backup copy of the folder before running.

2. Design Table لعيلة مقاسات (Configurations)

لو بتعمل نفس القطعة بأكتر من مقاس (فلانشات، كانات، براغي)، Claude يجهزلك جدول الـ Design Table بالأبعاد والمعادلات، وإنت تلصقه في الموديل.

Role: You are a mechanical design engineer building a parametric part family in SolidWorks.
Context: Part: [e.g. slip-on flange]. Standard: [e.g. EN 1092-1 PN16] — I will attach the dimension table. Dimension names in my model: [D1@Sketch1, D2@Boss-Extrude1, …].
Task:
1. Build a SolidWorks design table: first column configuration name, then one column per dimension using my exact dimension names.
2. Add rows for sizes [DN50 to DN200].
3. Add columns for $PRP@Description and $PRP@PartNo with a naming rule I can change.
4. Add a $STATE column for features that are suppressed in some sizes.
Output: Excel table ready to paste into the design table, plus a short explanation of each column.
Rules: Use only the values from the attached standard table. If a size is missing, leave the row empty and tell me.

3. Equations وGlobal Variables

اطلب منه يحوّل علاقات التصميم لمعادلات SolidWorks، عشان لما تغيّر بُعد واحد الموديل كله يتظبط صح.

Role: You are a SolidWorks power user.
Context: Part: [e.g. rectangular tank]. Design rules: wall thickness = [rule], number of stiffeners = [rule], hole pattern spacing = [rule]. Units: mm.
Task:
1. Define the global variables I need with clear names.
2. Write the equations in SolidWorks syntax ("D1@Sketch1" = "Length" / 2), including IIF conditions where needed.
3. Explain the order in which I should create them and how to link them in the Equations manager.
4. Give me three test values to check that the model rebuilds correctly.
Output: Table: global variable, value or equation, purpose; then the dimension equations.
Rules: Use SolidWorks equation syntax exactly. Do not use functions SolidWorks does not support.

4. شيت حسابات الصاج (Bend Allowance وK-Factor)

لشغل الـ Sheet Metal، اطلب شيت Excel يحسب الـ Bend Allowance والـ Bend Deduction والطول المفرود، وقارنه بالـ Flat Pattern في SolidWorks.

Role: You are a sheet metal manufacturing engineer.
Context: Material: [e.g. mild steel], thickness [t] mm, inside bend radius [R] mm, bend angle [A] deg, K-factor [K] from our press brake tests, flange lengths [list].
Task:
1. Create an Excel sheet with inputs: t, R, A, K and the outside flange lengths.
2. Calculate bend allowance, outside setback and bend deduction with formulas.
3. Calculate the total flat length for a part with up to 6 bends.
4. Add a column to compare with the SolidWorks flat pattern length and show the difference in mm.
Output: Excel with formulas, yellow input cells and the formula written next to each result.
Rules: Do not choose a K-factor for me; it is an input from our shop. Use degrees for angles and convert to radians inside the formulas.

5. مراجعة لوحة تصنيع قبل ما تطلع للورشة

صدّر اللوحة PDF وارفعها، واطلب مراجعة على الأبعاد الناقصة والمكررة والـ Tolerances والملاحظات. Claude بيشوف الرسومات في ملفات الـ PDF لحد 100 صفحة.

Role: You are a senior design checker in a manufacturing company.
Context: Attached: manufacturing drawing [no.] exported as PDF from SolidWorks. Process: [machining / sheet metal / welding]. Drawing standard: [ISO / ASME Y14.5].
Task:
1. Check that every feature is fully dimensioned and list missing or duplicated dimensions.
2. Check tolerances and GD&T callouts for consistency with the function: [describe function].
3. Check the title block: material, finish, scale, projection symbol, general tolerance, revision.
4. Check notes: deburr, weld symbols, surface finish, heat treatment if needed.
Output: Table: issue no., view / location, issue, suggested correction, severity (must / should).
Rules: Only report what you can see in the PDF. Write "unclear" if a dimension cannot be read. Do not redesign the part.

6. اختيار الـ Fits والـ Tolerances

لما تصمم عمود داخل رولمان أو بنز في جلبة، اسأله على الـ Fit المناسب واطلب الحدود بالأرقام، وبعدين طابقها مع جدول ISO 286 اللي عندك.

Role: You are a mechanical design engineer.
Context: Assembly: [e.g. shaft in a ball bearing inner ring / dowel pin in a housing]. Nominal size [d] mm. Function: [rotating / fixed / sliding, load type]. Standard: ISO 286.
Task:
1. Recommend the fit (e.g. H7/k6) and explain why for this function.
2. Give the hole and shaft limits in mm (upper and lower deviation) and the resulting max and min clearance or interference.
3. Say how to show it on the SolidWorks drawing (Hole Callout or dimension tolerance type "Fit with tolerance").
4. Give one alternative fit and when to use it.
Output: Table of limits, then short explanations.
Rules: Tell me to confirm the deviation values from the ISO 286 table, and say if the bearing manufacturer's recommendation should govern.

7. حل أخطاء الـ Rebuild والـ Mates

اعمل Screenshot لشجرة الـ Features أو رسالة الخطأ، واطلب منه يشرح السبب وخطوات الحل.

Role: You are an experienced SolidWorks support engineer.
Context: SolidWorks [version]. Attached: screenshot of the FeatureManager tree and the error message: [paste text]. What I changed before the error: [describe].
Task:
1. Explain what the error means in simple words.
2. List the most likely causes in order, based on the screenshot and what I changed.
3. Give the fix for each cause step by step (menu path and button names).
4. Tell me how to avoid this error in future models (e.g. sketch relations, references, mate strategy).
Output: Numbered steps, short and practical.
Rules: Use SolidWorks menu names in English as they appear in the software. If you need another screenshot, tell me exactly which one.

8. تجهيز دراسة Simulation وقراية النتايج

قبل ما تشغّل Static Study، خلي Claude يراجع الـ Fixtures والـ Loads والـ Mesh. وبعد التشغيل، ارفع صور النتايج واطلب تفسير.

Role: You are an FEA engineer using SOLIDWORKS Simulation.
Context: Part / assembly: [describe], material [ ], real loads: [forces, pressures, where], supports: [how it is fixed in reality]. Attached: screenshots of the study setup and the von Mises and displacement plots.
Task:
1. Review my fixtures and loads against the real conditions and point out anything unrealistic.
2. Review the mesh: element size, mesh controls at fillets and holes, and whether a convergence check is needed.
3. Interpret the results: maximum stress location, factor of safety against yield, displacement.
4. Tell me if any high stress is a singularity (sharp corner, point load) and how to check it.
Output: Review table (item, my setup, comment), then a results summary with the factor of safety.
Rules: Do not trust values you cannot read in the screenshots. Remind me that the result is only as good as the boundary conditions.

9. حسبة البراغي قبل ما ترسمها

قبل ما تختار البرغي من الـ Toolbox، اطلب حسبة الـ Bolted Joint: الحمل، والـ Preload، وعزم الربط، وعامل الأمان.

Role: You are a machine design engineer.
Context: Joint: [describe], external tensile load [P] N per bolt, shear load [V] N, bolt size [M ], property class [8.8], members: [materials and thicknesses], friction coefficient [ ].
Task:
1. Calculate the tensile stress area and the proof load.
2. Calculate the recommended preload (e.g. 75% of proof load for reusable joints) and the tightening torque with the nut factor [K].
3. Calculate the joint stiffness and the load share of the bolt.
4. Check the factor of safety against yield and joint separation, and the shear capacity.
Output: Step-by-step calculation with units and a summary table.
Rules: State every assumed value and its source (e.g. Shigley's). Ask me for missing data. I will confirm torque values with the fastener supplier.

10. ذاكر لامتحان CSWA وCSWP

استخدمه زي مدرب: يشرحلك نوع السؤال، ويعملك أسئلة شبه الامتحان ويصحح إجاباتك.

Role: You are a SOLIDWORKS certification trainer.
Context: Exam: [CSWA / CSWP Segment 1]. My level: [beginner / intermediate]. Weak topics: [e.g. mass properties, configurations, mates].
Task:
1. Explain the exam structure and the skills tested for each section.
2. Give me one practice question at a time in the exam style (describe the part with dimensions, units and material, and ask for the mass or a coordinate).
3. Wait for my answer, then tell me if it is correct and the common mistakes for that question.
4. Give me a 2-week study plan for my weak topics.
Output: One question at a time, then the plan at the end.
Rules: Do not claim the questions are real exam questions. Use MMGS units unless I ask for IPS.

مثال كامل: من قطعة صاج لملف DXF في 4 خطوات

  1. الحسبة: استخدم Prompt رقم 4 بالـ K-Factor بتاع مكنة الثني عندكم، وطلّع الطول المفرود المتوقع.
  2. الموديل: ارسم القطعة في SolidWorks بنفس السُمك ونصف قطر الثني والـ K-Factor، وقارن الـ Flat Pattern بالشيت. لو الفرق أكتر من المسموح عندكم في الورشة، راجع الإعدادات.
  3. اللوحة: طلّع لوحة التصنيع، وصدّرها PDF، واستخدم Prompt رقم 5 للمراجعة قبل ما تطلع.
  4. الأتمتة: لو عندك قطع كتير، اطلب من Claude ماكرو يصدّر الـ Flat Pattern لكل القطع DXF مرة واحدة، وجرّبه على ملفين الأول.

نصايح مهمة وإنت بتستخدم Claude مع SolidWorks

  • جرّب أي ماكرو على نسخة: الماكرو بيعدّل ملفات كتير مرة واحدة، فلازم تشغّله على نسخة احتياطية وعلى ملفين الأول.
  • اكتب إصدار SolidWorks: بعض أوامر الـ API بتختلف بين الإصدارات، فاكتب الإصدار في الـ Prompt، ولو ظهر خطأ ابعتله رسالة الخطأ بالظبط.
  • الأرقام من الستاندرد: الـ Fits والـ K-Factor وعزم الربط لازم تتأكد منها من جدول ISO أو تجارب الورشة أو كتالوج المورد.
  • أسماء القوائم بالإنجليزي: اطلب منه يكتب أسماء الأوامر زي ما هي في البرنامج، عشان تلاقيها بسرعة.
  • سرية التصميم: اتأكد من سياسة شركتك قبل ما ترفع لوحات منتج لسه مانزلش.

أسئلة شائعة

هل Claude يقدر يرسم الموديل بدالي؟

لا، Claude مش بيفتح SolidWorks ولا بيرسم جواه. بس يقدر يكتبلك ماكرو بيعمل خطوات معينة، ويجهزلك الـ Design Table والمعادلات، فتوفر وقت كبير في الشغل المتكرر.

الماكرو اللي بيكتبه بيشتغل من أول مرة؟

ساعات أيوه وساعات محتاج تعديل. شغّله، ولو ظهر خطأ ابعت رسالة الخطأ ورقم السطر لـ Claude وهو يصلحه. وده طبيعي في أي كود.

ينفع أستخدمه وأنا لسه بتعلم SolidWorks؟

أيوه، وده من أحسن الاستخدامات. اسأله يشرحلك الأمر، واطلب منه أسئلة شبه امتحان CSWA، بس حل كل سؤال بنفسك على البرنامج.

الخلاصة

Claude و SolidWorks مع بعض بيوفروا عليك أكتر شغل مُمل في التصميم: الخصائص، والجداول، والمعادلات، والحسابات، ومراجعة اللوحات. Claude مش بديل لـ SolidWorks ولا لخبرتك، لكنه بيخليك تخلص الشغل المتكرر بسرعة وتركز في التصميم نفسه.

حمّل سير عمل Claude و SolidWorks PDF مجاناً

الملف فيه الـ 10 Prompts بخطوات تنفيذ كل واحد على SolidWorks، وجدول الملفات اللي تصدّرها لـ Claude، وقالب تعليمات Project لفريق التصميم، وChecklist لمراجعة لوحة التصنيع قبل ما تطلع للورشة.

⬇ تحميل سير عمل Claude و SolidWorks (PDF)

واقرأ كمان: Claude لمهندس MEP.

اشترك في قناتنا على Telegram عشان يوصلك كل جديد: t.me/techfedniy