TRIM
Posted: Fri Sep 23, 2022 1:46 am
Is it possible to trim one object back to a line without actually picking the object?
I have an issue with my piping utility as a result of the changes to the REVOLVE command.
(the changes are actually bug fixes)
Where I was able to revolve a closed shape that crossed the revolve axis, this no longer works.
So I can draw the 2d shape as before, I can add a line to trim back to, All works fine, but I am selecting points on the 2D shape.
Here is what I have:
.
The full code in the attached file for context.
While this works, by 'picking' the object, do I run the risk of multiple objects being selected?
and is there a way I can achieve the same result without 'picking' the objects?
I hope that actually makes sense
SteveN
I have an issue with my piping utility as a result of the changes to the REVOLVE command.
(the changes are actually bug fixes)
Where I was able to revolve a closed shape that crossed the revolve axis, this no longer works.
So I can draw the 2d shape as before, I can add a line to trim back to, All works fine, but I am selecting points on the 2D shape.
Here is what I have:
Code: Select all
;--------------------------------------------------------------------
; - trim shell to line
(progn
(command "ucs" "w" "")
(command "trim" ENTLN1 ENTDH3 "" TP04 "")
(setq ENTDH3A (entlast))
(command "trim" ENTLN1 ENTDH3A "" PT06 "")
(setq ENTDH3B (entlast))
(command "trim" ENTLN1 ENTDH3B "" PT02z1 "")
(setq ENTDH3C (entlast))
(command "trim" ENTLN1 ENTDH3C "" TP02z1 "") ;was PT04z1
;-----------end trim shell ***working***
The full code in the attached file for context.
While this works, by 'picking' the object, do I run the risk of multiple objects being selected?
and is there a way I can achieve the same result without 'picking' the objects?
I hope that actually makes sense
SteveN