# رسم مخطط منزل في أوتوكاد

> كيف ترسم مخطط منزل في أوتوكاد: الجدران بأمر ⁨OFFSET⁩، وجدار داخلي، وفتحات تُشذَّب بـ⁨TRIM⁩، والأبواب بقوس فتحها، والنوافذ والأبعاد. جرّبه أون لاين.

المخطط، أو المسقط الأفقي، هو المنزل مقطوعًا على ارتفاع متر ونصف تقريبًا ومنظورًا إليه من أعلى: كل جدار خطان بينهما سماكته، والفتحات فيه، والأبواب مرسومة مفتوحة بقوس فتحها، والنوافذ والأبعاد. ويرسم هذا الدليل منزلًا من غرفتين، 8 في 6 أمتار، بالسنتيمتر: الوحدة سنتيمتر واحد، فسماكة الجدران الخارجية 20 والداخلي 10. وتعرض كل خطوة رسمها وسجل سطر الأوامر كما تكتبه أنت. [افتح المحرّر](/ar/draw) بجانب هذه الصفحة واتّبع خطواتها.

## أنشئ الطبقات

لكل نوع من الكائنات طبقته الخاصة بلونها، فتستطيع إخفاء أيٍّ منها: «الجدران» و«الأبواب» و«النوافذ» و«الأبعاد». أنشئها في مدير خصائص الطبقات، `LAYER`، واجعل الطبقة المناسبة حالية من قائمة الطبقات المنسدلة قبل كل خطوة. ولكي تُقرأ الأبعاد بمقاس منزل، اضبط المقياس العام لنمطها في `DIMSTYLE`: 12 هنا، فيصير ارتفاع نصها 30.

## ارسم الجدران الخارجية

في طبقة «الجدران»، `RECTANG` من `0,0` إلى `800,600`: الوجه الخارجي للجدران. ويعطي `OFFSET` الوجه الداخلي: اكتب السماكة، `20`، وحدّد المستطيل وانقر داخله.

الجدران الخارجية: مستطيل وإزاحته المتوازية، 20 إلى الداخل.

```text
Command: RECTANG
Specify first corner point or [Chamfer/Elevation/Fillet/Thickness/Width]: 0,0
Specify other corner point or [Area/Dimensions/Rotation]: @800,600
Command: OFFSET
Current settings: Erase source=No  Layer=Source  OFFSETGAPTYPE=0
Specify offset distance or [Through/Erase/Layer] <Through>: 20
Select object to offset or [Exit/Undo] <Exit>:
Specify point on side to offset or [Exit/Multiple/Undo] <Exit>:
Select object to offset or [Exit/Undo] <Exit>:
```

## ارسم الجدار الداخلي

خط بـ`LINE` من `500,20`، و`0,560` صعودًا حتى الوجه الداخلي للجدران الخارجية، ثم `OFFSET` بمسافة `10` إلى يمينه: الجدار الفاصل بين الغرفتين.

الجدار الداخلي: خط وإزاحته المتوازية، 10 إلى يمينه.

```text
Command: LINE
Specify first point: 500,20
Specify next point or [Undo]: @0,560
Specify next point or [Undo]:
Command: OFFSET
Current settings: Erase source=No  Layer=Source  OFFSETGAPTYPE=0
Specify offset distance or [Through/Erase/Layer] <20.00>: 10
Select object to offset or [Exit/Undo] <Exit>:
Specify point on side to offset or [Exit/Multiple/Undo] <Exit>:
Select object to offset or [Exit/Undo] <Exit>:
```

## اقطع الفتحات

تُقطع الفتحة بين خطين عرضيين في الجدار، هما جانباها. ارسمهما بـ`LINE`، ثم شذّب بـ`TRIM` خطَّي الجدار بينهما، بنقرة على كلٍّ منهما: المدخل، بعرض 90، من `100,0`؛ والباب الداخلي، بعرض 80، من `500,200`؛ والنافذتان، بعرض 120، من `200,580` في الجدار العلوي و`780,250` في الجدار الأيمن.

أربع فتحات: لكلٍّ منها جانبان، وخطا الجدار مشذّبان بينهما.

```text
Command: LINE
Specify first point: 100,0
Specify next point or [Undo]: @0,20
Specify next point or [Undo]:
Command: LINE
Specify first point: 190,0
Specify next point or [Undo]: @0,20
Specify next point or [Undo]:
Command: LINE
Specify first point: 500,200
Specify next point or [Undo]: @10,0
Specify next point or [Undo]:
Command: LINE
Specify first point: 500,280
Specify next point or [Undo]: @10,0
Specify next point or [Undo]:
Command: LINE
Specify first point: 200,580
Specify next point or [Undo]: @0,20
Specify next point or [Undo]:
Command: LINE
Specify first point: 320,580
Specify next point or [Undo]: @0,20
Specify next point or [Undo]:
Command: LINE
Specify first point: 780,250
Specify next point or [Undo]: @20,0
Specify next point or [Undo]:
Command: LINE
Specify first point: 780,370
Specify next point or [Undo]: @20,0
Specify next point or [Undo]:
Command: TRIM
Current settings: Projection=UCS, Edge=None, Mode=Quick
Select object to trim or shift-select to extend or [cuTting edges/Crossing/mOde/eRase]:
Select object to trim or shift-select to extend or [cuTting edges/Crossing/mOde/eRase/Undo]:
Select object to trim or shift-select to extend or [cuTting edges/Crossing/mOde/eRase/Undo]:
Select object to trim or shift-select to extend or [cuTting edges/Crossing/mOde/eRase/Undo]:
Select object to trim or shift-select to extend or [cuTting edges/Crossing/mOde/eRase/Undo]:
Select object to trim or shift-select to extend or [cuTting edges/Crossing/mOde/eRase/Undo]:
Select object to trim or shift-select to extend or [cuTting edges/Crossing/mOde/eRase/Undo]:
Select object to trim or shift-select to extend or [cuTting edges/Crossing/mOde/eRase/Undo]:
Select object to trim or shift-select to extend or [cuTting edges/Crossing/mOde/eRase/Undo]:
```

## ارسم الأبواب

في طبقة «الأبواب»، يتكوّن كل باب من ضلفته، مرسومة مفتوحة بـ`LINE`، ومن قوس فتحه بـ`ARC`: اختر خياره ⁨Center⁩، ثم أعطِ المفصّلة مركزًا، ثم بداية القوس ونهايته. والطرفان نقطتان مرسومتان من قبل، ركن جانب الفتحة وطرف الضلفة: اكتب `_END`، أي التقاط نقطة النهاية لنقطة واحدة، وحدّد كلًّا منهما.

كل باب: ضلفته مفتوحة على ⁨90°⁩ وقوس فتحه.

```text
Command: LINE
Specify first point: 100,20
Specify next point or [Undo]: @0,90
Specify next point or [Undo]:
Command: ARC
Specify start point of arc or [Center]: C
Specify center point of arc: 100,20
Specify start point of arc: _END of
Specify end point of arc (hold Ctrl to switch direction): _END of
Command: LINE
Specify first point: 510,200
Specify next point or [Undo]: @80,0
Specify next point or [Undo]:
Command: ARC
Specify start point of arc or [Center]: C
Specify center point of arc: 510,200
Specify start point of arc: _END of
Specify end point of arc (hold Ctrl to switch direction): _END of
```

## ارسم النوافذ

في طبقة «النوافذ»، يملأ `RECTANG` كل فتحة بدءًا من جانبها، ويمثّل خطٌّ في منتصفه الزجاج.

النوافذ: مستطيل في كل فتحة وخط للزجاج.

```text
Command: RECTANG
Specify first corner point or [Chamfer/Elevation/Fillet/Thickness/Width]: 200,580
Specify other corner point or [Area/Dimensions/Rotation]: @120,20
Command: LINE
Specify first point: 200,590
Specify next point or [Undo]: @120,0
Specify next point or [Undo]:
Command: RECTANG
Specify first corner point or [Chamfer/Elevation/Fillet/Thickness/Width]: 780,250
Specify other corner point or [Area/Dimensions/Rotation]: @20,120
Command: LINE
Specify first point: 790,250
Specify next point or [Undo]: @0,120
Specify next point or [Undo]:
```

## ضع أبعاد المخطط

في طبقة «الأبعاد»، ضع بـ`DIMLINEAR` المقاسات الخارجية، ثم الغرف من الداخل: عرض الغرفة الأولى بـ`DIMLINEAR`، ثم الجدار الداخلي والغرفة الثانية بـ`DIMCONTINUE`، مكتوبةً من نقطة الأصل بـ`#`.

المخطط بأبعاده: 800 في 600 من الخارج، والغرف من الداخل.

```text
Command: DIMLINEAR
Specify first extension line origin or <select object>: 0,0
Specify second extension line origin: @800,0
Non-associative dimension created.
Specify dimension line location or [Text/Angle/Horizontal/Vertical/Rotated]:
Dimension text = 800
Command: DIMLINEAR
Specify first extension line origin or <select object>: 0,0
Specify second extension line origin: @0,600
Non-associative dimension created.
Specify dimension line location or [Text/Angle/Horizontal/Vertical/Rotated]:
Dimension text = 600
Command: DIMLINEAR
Specify first extension line origin or <select object>: 20,20
Specify second extension line origin: @480,0
Non-associative dimension created.
Specify dimension line location or [Text/Angle/Horizontal/Vertical/Rotated]:
Dimension text = 480
Command: DIMCONTINUE
Specify second extension line origin or [Select/Undo] <Select>: #510,20
Dimension text = 10
Specify second extension line origin or [Select/Undo] <Select>: #780,20
Dimension text = 270
Specify second extension line origin or [Select/Undo] <Select>:
Select continued dimension:
```

## بعد ذلك

- سمِّ كل غرفة بـ`TEXT`، واملأ الجدران بـ`HATCH`، بتحديد نقطة بين خطَّيها.
- تدرّب بـ[التمارين](https://mellowcad.com/ar/docs/exercises.md): [الدرج في المسقط الأفقي](https://mellowcad.com/ar/docs/exercises/stairs.md) و[الطاولة المستديرة والكراسي](https://mellowcad.com/ar/docs/exercises/round-table.md) يُرسمان بالسنتيمتر أيضًا.
- [الإحداثيات](https://mellowcad.com/ar/docs/coordinates.md): كل طرق كتابة النقطة.
