![]() ![]() Replaced goto with do_error_handling() in the code to avoid not relevant discussion.Īs i stated before 80 characters not relevant today it's just a number 100 is good as well. Second example is much less readable hard to maintain and probably will lead to some problem on the way. * nest again and get line behind visible screen */ Finally drag the endpoint of the original line to the crossing of the circle and the 2nd line. This AutoLISP code can easily be modified to show the length or perimeter of a polyline or area of hatch. Then draw a Center&Radius circle R1,5' starting from the beginning of the original line. * do more of you regular flow and keep you line 80 chars*/ It snaps if you have all point snaps ON except snap to grid. Just compare the following examples : status = do_something() ![]() DXF), fast edit and save your work with high precision, organize and group objects with layers and blocks, draw and modify 2D vector objects like point, line, rectangle, polyline with arc segments, circle, arc, hatch with patter. The original reason for 80 char limitation is not relevant today, but some number should be picked.īeside the obvious (code organization and readability) usually i found that long lines are result of bad styling and folowing such rule improve code quality and reduce errors. BabaCAD Vista download - Create models and to save them as DXF files. BabaCad has a lot of features, too many to list here but to give you an idea it supports standard CAD files (.DWG. We use coding standard of 80 characters in line. SRL (single random length): means that the pipe has any random size between 5-7 meters generally, pipes below 2 inches in diameter are manufactured with SRL, i.e. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |