I respect you as one of the active members of CADTutor. I learn much in this forum and thank you and all other friends for this. hello anyone can help me plzzz
You still looking for a help .
What's the issue buddy . i have a drawing with 4 lines of points (each line of points with the same Y) . i have the coordinate of the points of each line in a list and all the lists in a list .
so now i want to calculate the disatnce between points of each list knowing that the number of points in lines may change and may not be equal as follows :
.....
.....
.. ..
...
thanks tharwat You want to calculate the distance from the list or from the distance between points ? yes i want to calculate the distance between points in every line If your point list is in the format:
( (... ) (... ) ... (... ))
then perhaps:
(defun test ( mainlist ) (mapcar (function (lambda ( sublist ) (mapcar 'distance sublist (cdr sublist)) ) ) mainlist )) yes exactlymy list is in that format and i want to calculate the distance between(and ) ,(and )...... and ) Try my test code... thank you lee Macit worked thanks for your help actually i was stuck in it for 3 days
页:
1
[2]