EIA Posted June 7, 2024 Posted June 7, 2024 Let´s say I have a square and some lines passing through it, like in the image above. Is there any lisp routine (or maybe autocad command?) out there that lets you select objects and then a polygon so autocad trims everything out of that polygon and leaves only what's inside? Quote
lastknownuser Posted June 7, 2024 Posted June 7, 2024 Autocad EXTRIM command, select polygon and click outside Quote
BIGAL Posted June 7, 2024 Posted June 7, 2024 Another that is very reliable like Extrim is Cookiecutter.lsp. Sometimes use as Extrim has not worked properly. If you want to automate say pick rectang then outside all done, inside Extrim is a lisp function that can be called from lisp. Pt a hint use extmax. (if (null etrim) (load "extrim.lsp")) (etrim ent pt) CookieCutter2_v1.0.lspFetching info... Quote
SLW210 Posted June 7, 2024 Posted June 7, 2024 There is a 1.1 version of CookieCutter2 at CookieCutter2 - more fun with ET extrim (theswamp.org) This may be the latest, though I never saw this at the Swamp --- CookieCutter2 v1.2.lsp GitHub Quote
EIA Posted June 7, 2024 Author Posted June 7, 2024 (edited) I forgot to say that I am currently working on AutoCAD LT, and as it seems you get Extrim from Express Tools which is an AutoCAD Mechanical thing, is there any way to do this anyway for us LT users? edit - does CookieCutter use extrim for anyhting? I only read the first answer when I sent the reply tbh Edited June 7, 2024 by EIA Quote
Steven P Posted June 7, 2024 Posted June 7, 2024 You can try it, LT doesn't support all LISP functions so it might not work Quote
BIGAL Posted June 7, 2024 Posted June 7, 2024 (edited) You need LT2024 at least, but all hope is not lost, manually Trim select the rectang, Enter, then "F" draw a shape around rectang, Enter should be done. Edited June 7, 2024 by BIGAL 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.