GLAVCVS Posted June 18 Posted June 18 Hi @pkenewell I don’t use tangents. For straight segments, the geometry progresses or retreats based on the angular direction of the lateral segments of the selected one. For arc segments, in order to “link” them, progression and retreat are done based on the radius. The variable *s* is currently single-use if passed to the second part of the command, outside of GRREAD. The code is like a living being: it’s born with the idea of following a path, and along the way, it chooses a different route. So *s* was implemented with the intention of providing a complete solution within GRREAD, and along the way, the current solution was chosen instead. 2 Quote
GLAVCVS Posted June 18 Posted June 18 *s* remains for the future as a small device abandoned on the moon that, perhaps one day, will be used by the next visitor. 2 Quote
dexus Posted June 23 Posted June 23 I've changed ElpanovEvgeniy's code. Now it uses snapping with help from dyndraw.arx by Alexander Rivilis. The topic for dyndraw: https://www.theswamp.org/index.php?topic=9133.0 The latest version seems to be AutoCAD 2019 and the arx can still be downloaded here: http://web.archive.org/web/http://www.maestrogroup.com.ua/support/dyndraw.zip Here is my adaptation, let me know how it functions: offset.lsp 1 Quote
dexus Posted June 24 Posted June 24 Aj, unlucky. Hopefully Alexander Rivilis will make an updated version for newer versions! Quote
SLW210 Posted June 24 Author Posted June 24 I meant to try this at home last night on AutoCAD 2000i, but never got on the computer. I am still looking over the codes, maybe I can get something going on my own. As it is, @GLAVCVS solution for the top was the only necessary for the moment issue, but who knows when I'll need to modify the curves, so I'll work on it as my time allows. 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.