![]() ![]() Look Jan, if you are trying to fillet polylines with circle at their vertices, try this code : The calculation of the points of contact to the 2-m circles (7.zip) Calculation of the point of contact from the point of the circle (6.zip)ģ7. The distance between the planes (38.zip)ģ6. Projection of a point on the plane (37.zip)ģ5. Projection of a point on the line (line given two points) (36.zip)ģ4. Projection of a point on the line (line set-point vector) (35.zip)ģ3. Rotate the point around the axis (34.zip)ģ2. The distance from the point to the segment (33.zip)ģ1. The nearest point from a given point of the segment (32.zip)ģ0. Vector angle with respect to this part of the normal (31.zip)Ģ9. The angle between the vectors in a clockwise direction from the normal (30.zip)Ģ8. The angle between the vectors (29.zip)Ģ7. The condition of orthogonality (27.zip)Ģ6. Point, offset by a 2-m vectors (26.zip)Ģ5. Point lying on P1 at a distance L along the vector Wekt (25.zip)Ģ4. Point lying on the point P1 at a distance L in the direction of the point P2 (24.zip)Ģ3. Reduction of the vector to the length of 1000 (long vector) (23.zip)Ģ2. Calculation of the unit vector (unit vector) (22.zip)Ģ1. The plane defined by 3 points (21.zip)Ģ0. Intersection of line and circle, randomly located (9.zip)ġ9. Intersection of line and circle, lying in one plane (8.zip)ġ7. Calculation of the intersection line of planes (14.zip)ġ6. Point of intersection of the circle with the plane (13.zip)ġ5. Point of intersection of the line and plane (12.zip)ġ4. The intersection of 2 circles given center and radius,ġ3. The intersection of 2 circles given center and radius,ġ2. Affiliation point arc (points in different planes!) (18.zip)įunction calculating the intersection of objects in spaceġ1. Affiliation point arc (all points in the same plane!) (17.zip)ĩ. Accessory points on the line, set point and the vector (15.zip)Ĩ. Calculation of the center of the arc (the arc is defined by 2 points and the directionĪnalysis functions belonging and intersection elementsĦ. Computation of the mid-point arc (4.zip)ĥ. Calculation of the central angle of arc (3.zip)Ĥ. Distance from a point in the plane of the arc to arc (1.zip)ģ. In terms of AutoCAD it comes to squeezing the direction vector, which all primitives stored under 210 associative code.ġ. Wekt, Wekt1, Wekt2, WektX, WektY, WektZ, W, W1, W2-vector (the list of 3 numbers) #AUTOCAD VBA POLYLINE BULGE PC#Pc - the central point of an arc or a circle In the parameters of these functions are frequently used variable names. To initialize variables in the start of your program to insert the line He just needed to cope with the accumulated error in the calculations. $ Dopusk has a value of 0.00001 - contains the error value is used for various comparisons (such as coordinates of points). Many library functions refer to two global variables No liability for the use of these texts and the possible errors the authors did not carry.Īll calculations are made by mathematical methods (vector algebra, analytic geometry) without using auxiliary AutoCAD entities and their analysis. (co-ords2xy) list of 2d points making pline (setq co-ords (getcoords (car (entsel "\nplease pick pline")))) odd (setq xy (list (nth i co-ords)(nth ( I 1) co-ords)(nth ( I 2) co-ords) )) (setq xy (list (nth i co-ords)(nth ( I 1) co-ords) )) (setq numb (/ len 2)) even and odd check required convert now to a list of xy as co-ords are x y x y x y if 3d x y z x y z You can get the co-ords of a pline as a list so you would just take pt1 pt2, pt2 pt3 to get angles in lisp (angle pt1 pt2) ![]() Also re angles its best to work in radians as this is the default for autocad but be aware zero is to the east and they are measured clock wise. 1st question do you want one radius for all if so then search here the code for that is done. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |