See the top rated post in this thread. Click here

Page 1 of 2 12 LastLast
Results 1 to 10 of 12

Thread: Rotate not playing nicely with the Stretch command

  1. #1
    Active Member
    Join Date
    2005-05
    Posts
    64
    Login to Give a bone
    0

    Default Rotate not playing nicely with the Stretch command

    My rotate is messing with the stretch commands again! I'm trying to create this block to drop on a foundation plan to indicate a single bay of concrete slab control joints. I had it done and it was simple and working. Then I realized that I only had equal spacings in each direction available and that may not always work.

    So I added a couple more visibility states and need to add a rotate (so I can change which direction the increased spacings are running). I've tried adding the rotate action to the block with the rotate command including the stretch action and without it including the stretch action. It's worked out so that when i do include the stretch action within the rotate selection set the block at least retains it's orthogonal direction when stretching after the rotate. If I do not include the stretch actions in the rotate, the block stretches at odd angles after the rotate.

    The problem with the orthogonal stretch (which I'm attaching) is that it stretches in the perpendicular direction. In other words, if you rotate the block 90 degrees, then try to stretch up, the block stretches out to the left; if you try to stretch left, the block stretches down. If you stretch first and rotate you don't have the problem. I've tried numerous different combinations and have been unsuccessful.

    Anyone have any insight?
    Attached Files Attached Files

  2. #2
    Retired Forum Staff Chris.N's Avatar
    Join Date
    2001-12
    Location
    Rochester, MN
    Posts
    2,561
    Login to Give a bone
    0

    Default Re: Rotate not playing nicely with the Stretch command



    ok, it's got me beat for the moment... sorry.
    Sometimes, i get lost in my own thoughts and need to ask directions to find my way back.
    S&D DB Sharing Forum

  3. #3
    Retired Forum Staff Rico's Avatar
    Join Date
    2005-06
    Location
    In the hospital cuz of my fever for more cowbell
    Posts
    1,828
    Login to Give a bone
    0

    Default Re: Rotate not playing nicely with the Stretch command

    Quote Originally Posted by Chris.N


    ok, it's got me beat for the moment... sorry.
    Ditto that .....

    the only thing I can see is that you're using the XY parameter and those are generally a lot more finicky when combined with rotates ....

    But I'm sure there's a way to make it all work .........
    [SIGPIC][/SIGPIC]
    Return of the Cowbell

  4. #4
    Active Member
    Join Date
    2005-05
    Posts
    64
    Login to Give a bone
    1

    Default Re: Rotate not playing nicely with the Stretch command

    Thanks guys. I know I can remove the rotate action/parameter set and after inserting the d-block actually rotate the block when necessary. I'm going to keep playing with it to see if I can make it work. I'm about out of ideas though - I've tried just about everything I can think to try. I'll let you know if I figure it out - if you have a chance to playaround with it, let me know if you figure anything out.

    I still love the old "don't include another action within the selection of another command." That old stand by seems to work about 80% of time... until it doesn't and then you're completely confused. haha.

  5. #5
    Retired Forum Staff Chris.N's Avatar
    Join Date
    2001-12
    Location
    Rochester, MN
    Posts
    2,561
    Login to Give a bone
    0

    Default Re: Rotate not playing nicely with the Stretch command

    ok, untill we can figure out out to get these parameters to play nice together, how about some work-around suggestions if using Toolpalettes:

    • turn on block rotation prompting
    • embed the base "stretchy" block inside a block with your flip and rotate parameters, once you have the block positioned as desired, you can explode and modify as needed.
    that's all i can come up with at the moment...
    Sometimes, i get lost in my own thoughts and need to ask directions to find my way back.
    S&D DB Sharing Forum

  6. #6
    Active Member
    Join Date
    2005-05
    Posts
    64
    Login to Give a bone
    0

    Default Re: Rotate not playing nicely with the Stretch command

    Chris & Rico

    I've been trying to figure out how to make this block work with the x/y parameter instead using linear parameters. I had a brainstorm and wanted to run it past you to see what you think (before I put a bunch of work into the block).

    What if I use a single linear parameter on the diagonal to stretch a single linear parameter in both the x and y directions (and then assign the corner stretches and moves accordingly to each of those parameters). Here's the problem I see. If I do it this way and must set up the x and the y parameters as "chain actions", then I think the rotate and the flip may have some serious implications on the linear stretch. Is there a way to stretch another parameter without them being a "chain action"? Or do you see this as not being an issue?

    Actually - I thought it would be just as easy to try this myself. Turns out that a linear parameter does all sorts of weird stuff (not like stretch linearly) when you turn on chain actions and stretch it with a linear parameter (or a polar stretch) on the diagonal. Check this out and see what you think (no rotate even applied yet - just trying to work out the stretch without using the xy parameter). I was hoping that by stretching a two linear parameters with one polar one (the block named Control_Joints4 in the drawing), that the linear parameters would stretch only along their axis - apparently that's not the way it works. It really is interesting though. Have a look.
    Attached Files Attached Files

  7. #7
    Retired Forum Staff Chris.N's Avatar
    Join Date
    2001-12
    Location
    Rochester, MN
    Posts
    2,561
    Login to Give a bone
    0

    Default Re: Rotate not playing nicely with the Stretch command

    without looking at it (sorry, will later) i would can the diagonal parameter idea. instead, replace the 'xy' w/ 2 linear parameters ending at the same point. i've seen someone else do that and it works identical to how you want the block to operate anyway. place them at the top side and the right side. they should also work with the rotate then.
    Sometimes, i get lost in my own thoughts and need to ask directions to find my way back.
    S&D DB Sharing Forum

  8. #8
    Retired Forum Staff Rico's Avatar
    Join Date
    2005-06
    Location
    In the hospital cuz of my fever for more cowbell
    Posts
    1,828
    Login to Give a bone
    0

    Default Re: Rotate not playing nicely with the Stretch command

    Quote Originally Posted by pbrumberg
    Chris & Rico

    I've been trying to figure out how to make this block work with the x/y parameter instead using linear parameters. I had a brainstorm and wanted to run it past you to see what you think (before I put a bunch of work into the block).

    What if I use a single linear parameter on the diagonal to stretch a single linear parameter in both the x and y directions (and then assign the corner stretches and moves accordingly to each of those parameters). Here's the problem I see. If I do it this way and must set up the x and the y parameters as "chain actions", then I think the rotate and the flip may have some serious implications on the linear stretch. Is there a way to stretch another parameter without them being a "chain action"? Or do you see this as not being an issue?

    Actually - I thought it would be just as easy to try this myself. Turns out that a linear parameter does all sorts of weird stuff (not like stretch linearly) when you turn on chain actions and stretch it with a linear parameter (or a polar stretch) on the diagonal. Check this out and see what you think (no rotate even applied yet - just trying to work out the stretch without using the xy parameter). I was hoping that by stretching a two linear parameters with one polar one (the block named Control_Joints4 in the drawing), that the linear parameters would stretch only along their axis - apparently that's not the way it works. It really is interesting though. Have a look.
    No it doesn't work that way. Or any way you have listed, unfortunately. To stretch an object in 2 directions you need one of two things:

    1) a parameter (linear) going in each direction (X & Y)

    2) an XY Parameter with a stretch (or array depending on what you want)

    I've attached my version of your question with a semi true / mostly false answer. As you can see, it IS possible to re-create a pseudo polar stretch, but the problem is that the grip will always be behind because the stretches are not aligned with each other ..... wow ... that is incredibly vague if I re-read it but it makes sense ..... sort of ... anyway, have a look see and play around with it.

    Mine is OUTSIDE of the boxes.

    PS - You CAN array the block and stretch it using an XY parameter .. there ios no question that it'll work doing that ... but including a rotate in that action set is what's gonna throw things off ....

    The whole scenario certainly begs more research and play time .....
    Attached Files Attached Files
    [SIGPIC][/SIGPIC]
    Return of the Cowbell

  9. #9
    Retired Forum Staff Rico's Avatar
    Join Date
    2005-06
    Location
    In the hospital cuz of my fever for more cowbell
    Posts
    1,828
    Login to Give a bone
    0

    Default Re: Rotate not playing nicely with the Stretch command

    Quote Originally Posted by Chris.N
    without looking at it (sorry, will later) i would can the diagonal parameter idea. instead, replace the 'xy' w/ 2 linear parameters ending at the same point. i've seen someone else do that and it works identical to how you want the block to operate anyway. place them at the top side and the right side. they should also work with the rotate then.
    I've done something like that before ....... i'm gonna go find it .....
    [SIGPIC][/SIGPIC]
    Return of the Cowbell

  10. #10
    Retired Forum Staff Rico's Avatar
    Join Date
    2005-06
    Location
    In the hospital cuz of my fever for more cowbell
    Posts
    1,828
    Login to Give a bone
    0

    Default Re: Rotate not playing nicely with the Stretch command

    Quote Originally Posted by Rico
    I've done something like that before ....... i'm gonna go find it .....
    This was one of my first test blocks where I played with stretches and rotates ... not sure it'll shed any new light on anything .... but this is how I learned what neededto be done for the rotates to be done ceorrectly ...

    I had to separate it from the monster DB file it was embedded in ... hehe ... 192 blocks in one drawing ....
    Attached Files Attached Files
    [SIGPIC][/SIGPIC]
    Return of the Cowbell

Page 1 of 2 12 LastLast

Similar Threads

  1. stretch hatch using the STRETCH COMMAND
    By Wish List System in forum AutoCAD Wish List
    Replies: 5
    Last Post: 2013-06-07, 08:35 PM
  2. Polar stretch or rotate with stretch help
    By Opie in forum Dynamic Blocks - Technical
    Replies: 19
    Last Post: 2008-08-15, 10:43 PM
  3. Can I add a stretch to a rotate?
    By r424andy in forum Dynamic Blocks - Technical
    Replies: 8
    Last Post: 2007-03-09, 03:28 PM
  4. Rotate & Stretch help
    By MikeM4OSU in forum Dynamic Blocks - Technical
    Replies: 5
    Last Post: 2005-12-09, 07:00 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •