Spline in Dynamic Block

Spline in Dynamic Block

nathanhayes98
Enthusiast Enthusiast
1,547 Views
8 Replies
Message 1 of 9

Spline in Dynamic Block

nathanhayes98
Enthusiast
Enthusiast

Hi all,

 

I have a spline (see attached) that we use to represent a crack. We are having to recreate the spline every time because the lengths of cracks are different. Is there a way to create a block were we could increase/decrease the length of the spline but keep its 'wavy' appearance?

 

Thanks in advance

0 Likes
Accepted solutions (1)
1,548 Views
8 Replies
Replies (8)
Message 2 of 9

Libbya
Mentor
Mentor
Accepted solution

How long does this spline become?  Does the length need to be fine tuned to be accurate?  Would a simple array of a couple arcs suffice?  The end result of the following screencast might suffice.

Message 3 of 9

nathanhayes98
Enthusiast
Enthusiast

The length of the arc doesn't have to accurate it is just for representation. What you have shown in your screenshot is exactly what I'm looking for thank you.

0 Likes
Message 4 of 9

nathanhayes98
Enthusiast
Enthusiast

@Libbya 

 

I created the block as shown in your screenshot but I encountered a problem when I extend the block, see attached screenshots. It doesn't appear to be extending the line, just making copy's of the line. I have also attached a drawing containing the block.

0 Likes
Message 5 of 9

h_s_walker
Mentor
Mentor

Here's your block corrected.

 

@Libbya was working in inches, but you were working in millimetres which is why you block wasn't working.

 

The start points of the arrays needed to be moved by back by 187.5 (the horizontal distance of the arc you created).

The array distances also needed to be set to 1500 (the length of your first crack).

 

And the minimum distance for distance1 needed to be set at 1500 and the increment set at 187.5

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.

EESignature


Left Handed and Proud

0 Likes
Message 6 of 9

Anonymous
Not applicable

Hi,

I created a block with a dynamic spline like how you posted. It came out great.

However,when a Rotation attribute was added to the block, the spline came out in bits and pieces while rotating.

please review the attached dwg and share your thoughts.

 

-Hema

0 Likes
Message 7 of 9

Libbya
Mentor
Mentor

Attached.

0 Likes
Message 8 of 9

Anonymous
Not applicable

Thanks for resolving the issue.

What was the mistake I made? I tried Polar Stretch but it did not work for me.

- Hema

0 Likes
Message 9 of 9

Libbya
Mentor
Mentor

The chained parameters all need their basepoints located at the same point as the rotation base point.  

0 Likes