I have a box that will can not grow, only shrink. As it shrinks there is geometry inside that I would like trimmed or removed if it follows outside the perimeter of the main box of the block
In this picture I pulled the left grip which shrink the box, and left a vertical line and part of an arc outside it. Is there a way for the arc to be trimmed, and the line to be deleted if it falls outside the main "box" but not before it falls outside?
Thanks again for any help!
Show us a sketch how it shall look after shrinking please.
And what do you expect after dragging the right grip?
My first shoot into the dark: >>cllick<<
Jürgen Palme
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.
Yes but then the problem will become are you drawing anything to the left of the rectangle?
The answer is to put a very thin vertical wipeout to the left of the rectangle. Make sure the right edge of the wipeout is on the left edge of the rectangle, and add the wipeout to the stretch.
Howard Walker
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.
@h_s_walker wrote:
Yes but then the problem will become are you drawing anything to the left of the rectangle?
No problems with my suggestion: neither with existing objects before inserting nor with objects drawn after inserting the block.
Jürgen Palme
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.
I'm assuming that's done with parametric constraints.
As I only have LT in the office I cannot use those, and the OP might only have LT as well
Howard Walker
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.
thank you @j.palmeL29YX ! that last screen cast looked perfect! how did you do it?
@nshupeFMPE3 wrote:
how did you do it?
As @h_s_walker assumed, it's done using parametric constraints.
For a better analysis of the block definition you should set BACTIONBARMODE to 0 (if it is not yet done).
Furthermore I set for better recognizability the number of grips of the lookup parameter and of the visibility parameter to 1. And at least I changed the precision of drawing units to 1/256 (otherwise you would not see that the value of d2 is greater than 0).
Try to analyze what I did. If you have questions ... ask.
Jürgen Palme
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.
What purpose does the (d2=1/256") dimensional constraint on the arc serve @j.palmeL29YX ?
@nshupeFMPE3 wrote:
What purpose does the (d2=1/256") dimensional constraint on the arc serve?
Assuming you have a parametric constrained arc as shown in >>this video<< and want to drag the left endpoint horizontally (orthogonal).
- If the initial angle of the arc is smaller than 180° then the angle will ever stay smaller than 180°.
- If the initial angle of the arc is greater than 180° then the angle will ever stay greater than 180°.
- If the initial angle of the arc is exactly equal 180°, AutoCAD can not drag this endpoint horizontally (it doesn't know to which direction [up or down] this point should be moved. )
(And if AutoCAD will move this point in case of some internal calculation inaccuracies it will always move to the wrong direction [Murphy's law 😉 ]).
Therefore I decided to draw an initial position where the left point is a small amount above the center point (i.e. on the correct side).
Jürgen Palme
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.
Sorry that it has been so long @j.palmeL29YX, but I'm wondering could this be done in series with multiple arcs? Like as the line passes through the first arc it keeps shrinking, then as it hits the next it trims that one?
Show an example please what you expect to get.
Jürgen Palme
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.
@nshupeFMPE3 wrote:
... could this be done in series with multiple arcs?
In >>this case<< you should consider to follow @h_s_walker 's suggestion - use a Wipeout.
To see what I did in the block editor, turn ON the visibility of the Wipeout's Frame.
Jürgen Palme
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.
I wish that would work, unfortunately the way we use the blocks wouldn't do well with the wipeout since you can snap to it, which is an undesirable behavior. Also we use many of these blocks and wipeouts in our experience slow down our drafting when there are many.
@nshupeFMPE3 wrote:
... the way we use the blocks wouldn't do well with ...
Before we continue this discussion you should describe in detail and completely what the block should be able to do, how the block should be used, what other restrictions might affect the use of the block. The isolated and out of context solution of single small subproblems is not target-oriented and will not lead to success. And of course I cannot foresee whether what you want will be feasible at all. Therefore you should also tell which functionalities have to be realized urgently and which additional functions are desirable but not necessarily implemented.
Jürgen Palme
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.
I've attached the block we currently work with. It has all the functionality we critically need. I'm trying to improve the experience by removing the need to use the visibility state to remove the interior lines. Sorry for the lack of information and confusion.
Even if some points are not yet clear for me, for example
- what shall happen with the horizontal arrow(s) while decreasing the width of the rectangle?
- do you want to decrease the width of the rectangle in incremental steps (as your visibility states) or do you want to change the width in a continuous manner as shown in my example above?
- why did you define visibility states until to the half width of the arcs only is hidden, but the width of the rectangle can decreased until zero?
- what shall happen with the circle and the "hatch" while decreasing the width of the rectangle? (perhaps move horizontally the half way?)
- why is inside of the circle a bunch of lines instead of a hatch (similar ANIS31)?
but regardless of all these ambiguities I can not yet see a reason why not use a wipeout to hide the unwanted part of the arcs. Can you tell or show us an example? At the end: If a wipeout is not akzeptable for you - an other solution I don't know, I can not offer an other suggestion.
Jürgen Palme
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.
WIPEOUTFRAME (System Variable) | AutoCAD 2016 | Autodesk Knowledge Network
Use variable 0
Howard Walker
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.
Did you consider the possibility, to insert the block as XREFs and hide the unwanted range/s using the xclip command?
BTW: Im not sure what it is not a hatch
Jürgen Palme
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.
Can't find what you're looking for? Ask the community or share your knowledge.