Announcements
Due to scheduled maintenance, the Autodesk Community will be inaccessible from 10:00PM PDT on Oct 16th for approximately 1 hour. We appreciate your patience during this time.
Community
Dynamic Blocks Forum
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Stretch action on ellipse in dynamic blocks

8 REPLIES 8
SOLVED
Reply
Message 1 of 9
pratikk20990
2748 Views, 8 Replies

Stretch action on ellipse in dynamic blocks

Hi, I want to stretch a ellipse (not 2D polyline) in AutoCAD Dynamic blocks but not able to achieve it. Any suggestions on how to implement it?

 

The grip on ellipse can be modified manually while editing dynamic blocks but the stretch action does not move that grip handle.

 

Screenshot is attached.

 

8 REPLIES 8
Message 2 of 9
j.palmeL29YX
in reply to: pratikk20990

I'd do it using parametric constraints (and dimensions) as shown >>here<<

A sample dwg attached.

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.

EESignature

Message 3 of 9
pratikk20990
in reply to: j.palmeL29YX

Hello,

 

Yes this is exactly what I want to do. Thank you so much for sending your acad file.

 

Kindly explain a bit as well that how you did this as I can see just two geometric constraints in your file .

 

Also, how you picked up the top point of ellipse while placing a dimensional constraint there? When I try to do it by activating the quadrant option while placing dimensional constraint, it says invalid point.

 

 

Message 4 of 9
pratikk20990
in reply to: pratikk20990

Okay, I have figured out most of the things.

 

Just a few questions:

 

1. What is the role of collinear constraint on ellipse and rectangle line? Any particular order in which the two objects shall be selected?

2. What is the role of parallel constraint on ellipse and tangent line?

3. How you made that tangent line invisible in model?

 

 

Message 5 of 9
j.palmeL29YX
in reply to: pratikk20990

A >>video<< what I did, and some explanatory words: 

 

First we need a geometric stable model, because later we want to change some dimensions, but we have to make sure that the rectangle always remains a rectangle, and the half ellipse always remains a half ellipse, touching the rectangle. 

Adding some geometric constraints I reduce step by step the unwanted degrees of freedom

- constrain the opposite lines of the rectangle parallel

- constrain two touching lines perpendicular

- constrain one of the lines horizontal 

=> You can drag wherever you want, the rectangle stays a stable one.

 

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.

EESignature

Message 6 of 9
j.palmeL29YX
in reply to: j.palmeL29YX

Ignore the previous post (#5). my laptop went on strike for a moment (suddenly I lost the internet connection).

I hope now it will work fine.

 

Here a >>video<< what I did, and some explanatory words: 

 

First we need a geometric stable model, because later we want to change some dimensions, but we have to make sure that the rectangle always stays a rectangle, and the half ellipse always stays a half ellipse, touching the rectangle. 

Adding some geometric constraints I reduce step by step the unwanted degrees of freedom: 

- constrain the opposite lines of the rectangle parallel

- constrain two touching lines perpendicular

- constrain one of the lines horizontal 

=> Now you can drag wherever you want, the rectangle stays a stable one.

- constrain the endpoints of the ellipse coincident to the endpoints of the upper line 

=> Now we have still an unwanted vertical movement of the ellipse. This we can remove by adding a 

- collinear constraint between the main axis of the ellipse and the upper horizontal line of the rectangle. 

=> Now we have a geometric stable model that only has the desired and required degrees of freedom. 

(of course, we can do all this so far also in the block editor).

 

Next we can add the needed dimensions in the blockeditor. 

No problem for the dimensions of the rectangle. 

But the ellipse doesn't have a point for adding the wished dimension. 

Workaround: 

- I add a helpline, 

- constrain horizontal

- constrain coincident the endpoint to the object ellipse. 

- constrain this point vertical to the midpoint of the rectangle. 

=> The line is restricted to the upper quadrant point of the ellipse. 

Now we can add a dimension to the endpoint of this helpline

 

At the end we convert this line into a construction line (which always is invisible in the block references) as shown in the video.

 

HTH

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.

EESignature

Message 7 of 9

There is also another way - You can't stretch ellipse but You can stretch two halves of it. However this works with halves, but not 1/4 of ellipse. Maybe this will be usefull for somebody LT positive.

Message 8 of 9
g1nchh
in reply to: pratikk20990

Try this dynamic block for an ellipse. it works for me. 

Basically, following some of the principles in the thread.

Could be cleaned up a little more to create only one line per ellipse quadrant

Message 9 of 9
j.palmeL29YX
in reply to: g1nchh


@g1nchh wrote:

Try this ... it works for me. 

 


 

For the moment it may work well. But this mixture of dynamic parameters/actions and constraints is not recommended. 

Assuming you want to add a Rotation Action at a later time - see what now will happen: 

 

 

SCNR

 

 

 

 

 

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.

EESignature

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

AutoCAD Inside the Factory


Autodesk Design & Make Report