Message 1 of 5
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Im a little new to LISP in general and I am trying to make a arc leader LISP as a small project for myself. Currently I have made an arc using the 3 points the user need to input. I could like to make the arrow out of a shape and point the arrow in the direction tangent to the end point of the arc.
Based on how I want to use the geometry I need to get the center point of the arc I just made.
my question is: how can I select the center point of the arc I just made? Ideally I would like get the centerpoint of the arc and throw it into a variable that I can use for the geomerty calculations.
This is what I have so far.. I know its kinda basic:
(defun C:artic ( / PT1 PT2 PT3)
; GET INITIAL POINTS AND MAKE ARC
;----------------------------------------------
(setq PT1 (GETPOINT "/nPICK START POINT: ")
PT2 (GETPOINT "/nPICK MIDDLE POINT")
PT3 (GETPOINT "/nPICK FINAL POINT")
)
(COMMAND "ARC" PT1 PT2 PT3)
;-----------------------------------------------
)
Solved! Go to Solution.