maahee Posted September 2, 2023 Share Posted September 2, 2023 (setq vertpt-1 (polar vertpt-f (+ (* pi 1.5) (angle p1 p2)) 0.04)) (setq fwpt-3 (polar fwpt (+ (* pi 0.5) (angle p1 p2)) 0.04)) (setq vertpt-2 (polar vertpt-1 (+ (angle vertpt-f fwpt) (Acos (/ 0.04 (distance vertpt-f fwpt))) ( * pi 1.5)) 0.04)) (setq fwpt-3 (polar fwpt-3 (+ (angle vertpt-f fwpt) (Acos (/ 0.04 (distance vertpt-f fwpt))) ( * pi 0.5)) 0.04)) (command "line" vertpt-1 fwpt-4 fwpt-3 vertpt-2 "c") Error : No function definition: Acos Quote Link to comment Share on other sites More sharing options...
Steven P Posted September 2, 2023 Share Posted September 2, 2023 Yup, we get COS and SIN, and have to make up the rest, search arccos, acos or suimilar 1 Quote Link to comment Share on other sites More sharing options...
Lee Mac Posted September 2, 2023 Share Posted September 2, 2023 You're welcome to use my implementation from here. 2 1 Quote Link to comment Share on other sites More sharing options...
maahee Posted September 2, 2023 Author Share Posted September 2, 2023 Thank for suggestions Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.