แสดงบทความที่มีป้ายกำกับ BEGINNER แสดงบทความทั้งหมด
แสดงบทความที่มีป้ายกำกับ BEGINNER แสดงบทความทั้งหมด

คำสั่ง AutoLISP เพื่อใช้เขียนเสา

ผมเคยเขียนคำสั่งเพื่อใช้ช่วยในการเขียนแปลนเสาแบบง่ายๆ
โดยเริ่มแรกผมเริ่มจากการเขียนเสาสี่เหลี่ยมโดยการให้ป้อนค่า แล้วก็เพิ่มเติมไปทีละนิด โดยลองผิดถูกไปเรื่อยๆ  เป็นคำสั่งแบบง่ายๆที่ไม่ได้มีอะไรมาก แล้วก็เพิ่มเสาแบบต่างๆเข้าไป

จนสุดท้ายได้ไปเจอที่มีคนอื่นได้เขียนเป็น Dialog box ไว้เพื่อให้ใช้งานได้สะดวกยิ่งขึ้น



ดูแล้วมันน่าสนใจมากๆ ก็เลยไปลองหาหนังสือมาอ่านดู หาข้อมูลจากอินเตอร์เน็ตบาง ลองทำแล้วก็ปรับแต่งไปบางส่วนจนทำให้มันใช้ได้ ลองโหลดไปใช้ดูนะครับ ไม่ดียังไงก็เข้าไปปรับปรุงดูให้ดียิ่งขึ้นก็ได้ เพราะผมไม่ได้ Protect Lisp ไฟล์นี้ อยากให้ลองศึกษาการเขียน DCL เหมือนที่ผมเคยมึนๆงงๆกับมันมาแล้ว แต่ก็พอใช้ได้ครับ กดโหลด ที่นี้ครับ

BEGINNER

BEGINNER

AutoCAD will now create a new drawing file named drawing1.dwg.


AutoCAD will default to 'model space'. For now it is sufficient to say that model space is the blank space where all the drawing is carried out. Paperspace (now called Layout space since AutoCAD 2000) isn't really required until we are ready to plot (print) the drawing.


Toolbars

There are many toolbars available in AutoCAD. Go to View > Toolbars from the drop down menu to see them all. For now make sure that the following toolbars are checked:

Draw - Contains AutoCADs most common drawing tools

Modify - Contains all of the common editing commands such as erase, copy etc.

Object Properties - Contains 'layer' information as well as object colours and line style options. (Covered Later).

Standard Toolbar - Contains open & save options as well as zoom & pan options.

Object Snap - AutoCAD's intelligent drawing aid - joins lines at specific points. (Covered later).

คลังบทความของบล็อก