maahee Posted September 2, 2023 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
Steven P Posted September 2, 2023 Posted September 2, 2023 Yup, we get COS and SIN, and have to make up the rest, search arccos, acos or suimilar 1 Quote
Lee Mac Posted September 2, 2023 Posted September 2, 2023 You're welcome to use my implementation from here. 2 1 Quote
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.