Dynamic Blocks

Reply
Distinguished Contributor
GilesPhillips
Posts: 495
Registered: ‎12-03-2003
Message 1 of 7 (419 Views)
Accepted Solution

Oval/slot headache

419 Views, 6 Replies
01-11-2013 06:32 AM

I'm trying to create a dynamic block for a slotted hole, where I can specify and vary the width and length independatly.

 

To add complications, I also want the centrelines to stretch accordingly.

 

I've made some progress, it's 75% there, however certain combinations seem to 'break' the block.


Any thoughts or guidance on this? It's kinda doing my nut..

 

ta

 

G

ACad, MEP, 3DS Max
Windows 7x64
X5482 @3.2Ghz 8Gb Ram
Quadro FX1700

Try this

 

Juris

Valued Mentor
AcadAdamLT
Posts: 493
Registered: ‎12-14-2010
Message 2 of 7 (410 Views)

Re: Oval/slot headache

01-11-2013 08:07 AM in reply to: GilesPhillips

Hi GilesPhillips, I started looking into this and it's a real mind-boggler, my time has run up so I gotta go, I leave you some thoughts..

 

Firstly, I started by renaming all the actions for their purposes and placed them so you easily could see what controls what, See "capture.png".

 

Secondly, I looked over the function of paramter "Distance1", this one is a crucial parameter. It's a chained paramter that is being controlled by to many actions resulting in a lose of association, you need to find someway of controlling this one better, also this parameter needs to be separated into 2 parameters, one controlling the top, and one controlling the bottom, see "Capture.png".

 

I regret to say I didn't have time to see this through and even tho this might already be clear to you I wanted to give my input, the reason why I don't upload the modified .dwg is because I screwed it all up and it would only cause mind-boggle for anyone who looks at it.

 

I hope it helps to some degree and if you do finish it i'd love to see the solution here =P

Good luck!

 

 

Signature, sincerely... //Adam
AutoCad LT 2014
Give Kudos where credit is due, Mark "accepted as solution" if the post solved your question.
Distinguished Contributor
GilesPhillips
Posts: 495
Registered: ‎12-03-2003
Message 3 of 7 (407 Views)

Re: Oval/slot headache

01-11-2013 08:33 AM in reply to: AcadAdamLT

Hi adam,

thanks for your thoughts, I'll certainly look at the chaining thing again - I'm a little vague on how it works so I usually take the scattergun approach. Most the time it works, this time it just boggled me.

 

Rest assured I'll post the finished article once I've figured it out.

 

G

ACad, MEP, 3DS Max
Windows 7x64
X5482 @3.2Ghz 8Gb Ram
Quadro FX1700
*Expert Elite*
Charles_Shade
Posts: 8,204
Registered: ‎04-10-2005
Message 4 of 7 (401 Views)

Re: Oval/slot headache

01-11-2013 11:40 AM in reply to: GilesPhillips

Stretch this Vertically before you stretch Horizontal.

It does fall apart otherwise.

Regards, Charles Shade            Win8 FAQ
CSHADEDESIGN|AUTOCAD LT|LT-KB|DYNAMIC BLOCKS

 
Please mark Accept as Solution if your question is answered. Kudos gladly accepted.
Mentor
ojuris
Posts: 248
Registered: ‎06-08-2010
Message 5 of 7 (396 Views)

Re: Oval/slot headache

01-12-2013 07:17 AM in reply to: GilesPhillips

Try this

 

Juris

Distinguished Contributor
GilesPhillips
Posts: 495
Registered: ‎12-03-2003
Message 6 of 7 (386 Views)

Re: Oval/slot headache

01-14-2013 12:34 AM in reply to: ojuris

Brilliant!

 

Nice one - it would never have occurred to me to use the Move action on this sort of problem.

 

Many thanks!

 

G

ACad, MEP, 3DS Max
Windows 7x64
X5482 @3.2Ghz 8Gb Ram
Quadro FX1700
*Expert Elite*
Charles_Shade
Posts: 8,204
Registered: ‎04-10-2005
Message 7 of 7 (381 Views)

Re: Oval/slot headache

01-14-2013 04:53 AM in reply to: GilesPhillips

Amazing that it takes that much manipulation for such a simple shape.

 

The MOVE for a Scale Action is a tough one to remember (At least for me). This Moves the center point of the Scale Action which in this case is Independant. Otherwise the center stays put and the scale of the arc is off since this is no longer tied to the geometry of the rest of the block. This is more pronounced if the Scale Action is left Dependant because the placement of the Center relative to the Parameter controlling it scales as well.

Regards, Charles Shade            Win8 FAQ
CSHADEDESIGN|AUTOCAD LT|LT-KB|DYNAMIC BLOCKS

 
Please mark Accept as Solution if your question is answered. Kudos gladly accepted.
Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Need installation help?

Start with some of our most frequented solutions or visit the Installation and Licensing Forum to get help installing your software.