MKSHAPE (ابزار اکسپرس)
تعریف شکل را بر اساس اشیاء انتخاب شده ایجاد می کند.
هندسه ها هندسه نسبتاً ساده را به سرعت نمایش می دهند. اندازه یک شکل واحد به 2200 بایت داده محدود شده است. اگر شکلی را ایجاد کنید که بیش از آن حد باشد ، MKSHAPE اشکال هندسی پیچیده ای را ایجاد می کند تا یک شکل واحد ایجاد شود. برای لیست این “شکل های زیر” ، دستور SHAPE را شروع کنید ، مشخص کنید؟ گزینه را وارد کنید و * را وارد کنید.
نه MKN ها و نه بخش های خط صفر از MKSHAPE استفاده نمی شوند. با این وجود ، می توانید با ترسیم یک بخش خط بسیار کوتاه و استفاده از رزولوشن
بسیار زیاد برای جلوگیری از تبدیل قطعه به طول 0 ، اثر یک نقطه را بدست آورید . اگر قطعه کوتاه به شکلی که نتیجه آن ظاهر نمی شود ، با استفاده از یک
مقدار وضوح بالاتر یا یک بخش خط طولانی تر دوباره امتحان کنید . از دستور SHAPE برای قرار دادن شکل در نقشه خود استفاده کنید.
مقادیر قطعنامه
مقادیر با وضوح بزرگ اشکال ایجاد می کند که نمایش دقیق تری از هندسه انتخاب شده است. با این حال ، مقادیر با وضوح بزرگ تمایل دارند اشکال ایجاد کنند که حاوی داده های مختصات بیشتری باشد و بار پردازش بالاتری را در اتوکد هنگام بازسازی قرار دهید. در مقابل ، مقادیر با وضوح کوچک اشکال دقیقی کمتری ایجاد می کنند که با اتوکد سریعتر پردازش می شوند. شما می توانید با مقادیر مختلف وضوح تصویر را آزمایش کنید تا تعادل عملکرد و صحت را که به بهترین وجه متناسب با نیازهای شما است پیدا کنید. توجه داشته باشید که مقدار وضوح به نزدیکترین ضریب 8 جمع شده و نمی تواند از 32767 تجاوز کند. به شرح زیر نمودار نشان می دهد که چگونه ضریب وضوح در ظاهر شکل تأثیر می گذارد:
فرمان: MKSHAPE
یک پرونده “.SHP” را انتخاب کنید: <Draw.shp: یک نام فایل شکل را وارد کنید تا در آن مایل باشید شکل خود را ذخیره کنید
نام شکل را وارد کنید: نام شکل را مشخص کنید
وضوح <124 را وارد کنید : برای مقدار وضوح عددی وارد کنید
نقطه پایه درج: یک نکته را مشخص کنید
اشیاء را انتخاب کنید: اشیاء خط ، پلی خط ، قوس ، دایره و / یا بیضی را انتخاب کنید (برای اهداف تعریف ، اشیاء انتخاب شده طوری رفتار می شوند که گویی از لاینتایپ مداوم هستند)
مثال
شکل سوئیچ ایجاد کنید. پس از مشخص کردن نام پرونده و نام شکل ، نقطه درج شکل را انتخاب کنید:
بعد ، اشیاء مورد استفاده برای تعریف شکل را انتخاب کنید:
اکنون می توانید شکل را با استفاده از دستور SHAPE قرار دهید:
فایل
mkshape.lsp
منابع مرتبط
مفاهیم مرتبط
MKSHAPE (Express Tool)
Creates a shape definition based on selected objects.
Shapes display relatively simple geometry quickly. The size of a single shape is limited
to 2200 bytes of data. If you create a shape that exceeds that limit, MKSHAPE creates
complex geometry shapes to form a single shape. To list these “sub-shapes,” start
the SHAPE command, specify the ? option, and enter *.
Neither points nor zero-length line segments are used by MKSHAPE. However, you can
get the effect of a point by drawing a very short line segment and using a resolution
that is high enough to prevent the segment from being converted to a 0 length. If
the short segment does not appear in the shape that results, try again, using a higher
resolution value or a longer line segment.
Use the SHAPE command to place shapes in your drawing.
be replaced, but if you chose an existing shape in that file, that shape definition
is overwritten, and the rest of the file remains intact.If you load two or more shape files containing one or more shapes with the same shape
definitions, the shape definition from the first file loaded is used.
easily make a complex linetype with it using MKLTYPE.
Resolution Values
Large resolution values create shapes that are more accurate representations of the
selected geometry. However, large resolution values tend to create shapes that contain
more coordinate data and place a higher processing burden on AutoCAD during regeneration.
Conversely, small resolution values create less accurate shapes that are more quickly
processed by AutoCAD. You can experiment with different resolution values to find
the balance of performance and accuracy that best fits your needs. Note that the resolution
value is rounded off to the nearest factor of 8 and cannot exceed 32,767. The following
graphic shows how the resolution factor affects the resulting shape’s appearance:
Command: MKSHAPE
Select a “.SHP” file: <drawing.shp: Enter a shape file name where you would like to save your shape
Enter the name of the shape: Specify the shape name
Enter resolution <124: Enter a number for the resolution value
Insertion base point: Specify a point
Select objects: Select line, polyline, arc, circle, and/or ellipse objects (for definition purposes,
the selected objects are treated as though they are of a continuous linetype)
Example
Create a switch shape.
After specifying the file name and shape name, select the insertion point for the
shape:
Next, select the objects to be used to define the shape:
The shape can now be placed using the SHAPE command:
File
mkshape.lsp
Related Concepts