Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations IDS on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Trimming to within .xxx of an entity

Status
Not open for further replies.

Binary

Mechanical
May 16, 2003
247
Hi there.

Does anybody know of a means to trim to within a specified distance (say .1") of an entity rather than right up to it?

The ways I do it now are:

A) offset the cutting edge, trim, then delete the offset

or

B) Trim the entity to the cutting edge and then stretch the grip to an offset (@.xxx,0)

Both are pretty laborious. What I'd like to do is click the grip and say "move to within +.xxx,-.yyy of this point" or say "trim to within .xxx of this cutting edge"

Any ideas?
 
Replies continue below

Recommended for you

view -> toolbars
select [new]
give name, [ok]
choose "commands" tab, highlight "user defined"
hold control and drag copy of "user defined button" to new toolbar
right click button in new toolbar, choose properties
then copy and paste below code into new button

^C^COFFSET;\\\;TRIM;LAST;;

this will let you specify offset, then it will select the new offset as the cutting edge and prompts for objects to trim, when complete just [e] [spacebar] [p] [spacebar] to erase edge

hope this helps

Intel P4 1.7 GHZ
768 RDRAM
Win 2000 Pro
Autocad 14, 2002 with EP 2.3.1
 
Thanks OZZY84. That works pretty well. Is there any way to embed the Erase Previous into the original script so that it executes automatically when the trim commnad is done?

Part of the reason for my asking is that I've been wanting to string other commands together in scripts, too, but I don't know how.
 
yes,

^C^COFFSET;\\\;TRIM;LAST;;\;E;P;

the last "\" assumes you are trimming only one object, if you trim more, add "\" to match number you trim.

tell me some details of how, when, and why you trim to offset. there might be a better alternative.

Intel P4 1.7 GHZ
768 RDRAM
Win 2000 Pro
Autocad 14, 2002 with EP 2.3.1
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor