Equal Point Spacing in Dynamic Block

Equal Point Spacing in Dynamic Block

pallen9JA6T
Enthusiast Enthusiast
1,299 Views
11 Replies
Message 1 of 12

Equal Point Spacing in Dynamic Block

pallen9JA6T
Enthusiast
Enthusiast

I'm looking to add a feature to a dynamic block that I built for architectural wall panels. The current block has common points at the corners then once I set the width of the panel, I use a lisp file and create points with a maximum spacing of 16" but equally between the common points at the corners. A coworker figured out how to make the point spacing a part of the block without having to go back and use the lisp, but he won't share the block or how he created it. I'll attach a video he sent me of how it works. Notice when he drags the grip to stretch the panel, it adds points to keep them at a maximum of 16" spacing. Any help would be greatly appreciated. I would also like the option to specify the maximum width so that if I do a high wind load project, I can space the points at 8" maximum. 

0 Likes
Accepted solutions (2)
1,300 Views
11 Replies
Replies (11)
Message 2 of 12

j.palmeL29YX
Mentor
Mentor

I think you can do that without LISP. Post your file please ... 

 

 

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

0 Likes
Message 3 of 12

pallen9JA6T
Enthusiast
Enthusiast

My dynamic block is now posted.

0 Likes
Message 4 of 12

j.palmeL29YX
Mentor
Mentor

In the attached file you find a block "TP1 - pa".

In the properties panel you can change the Width and Height of the model (both you can drag with the grips too) and a custom parameter "MaxDist", which you can change to to 8 (or any other value if you need).
Is this what you want to achieve?

 

 

 

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 5 of 12

pallen9JA6T
Enthusiast
Enthusiast

Thank you for your reply. This is similar to what I need. I need the green points to be equally spaced from the fixed points at the corner (instead of the circles you used). I have multiple blocks of different shapes and designs that I need to do this to. Can you give me an explanation of how you did it and then I can fix them all? I'm going to try to dissect the block and figure it out, but an explanation might speed that up. Thanks so much for your help.

0 Likes
Message 6 of 12

j.palmeL29YX
Mentor
Mentor

@pallen9JA6T wrote:

I need the green points to be equally spaced from the fixed points at the corner 


Sorry, excuse my ignorance. I don't understand. Would you please show an example how the result should look. 

 

 

 Can you give me an explanation of how you did it 


The "base idea" to solve such tasks is the use of an Array (not Array Action) with calculated number of items and distances between them. The prerequisite for this is a completely constraints-controlled geometry (Parametric).
Attached a base example. 

 

 

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

0 Likes
Message 7 of 12

pallen9JA6T
Enthusiast
Enthusiast

Is there a way to do an array with a maximum spacing of 16" without using parametric constraints? I really struggle to understand constraints. I'm just not that advanced. Another scenario would be if I were building a wall and wanted my studs equally spaced, but not further than 16" apart. Maybe I'm trying to make it too simple. Just trying to help with productivity. Thanks again for your help.

0 Likes
Message 8 of 12

pallen9JA6T
Enthusiast
Enthusiast

Below is an example of what the finished product looks like. I need the dimensions to remain. I also explode the block once completed so that it can be programmed for a CNC.

 

Screenshot 2024-05-10 144326.png

0 Likes
Message 9 of 12

MMcCall402
Mentor
Mentor
Accepted solution

Attached is sort of a semi-automatic spacing of the points.  After you perform the stretch it will show you what the spacing is for the current number of points.  There are two input values (user parameters) in the properties window for you to choose a different number of points as needed to get the spacing you want.

 

MMcCall402_0-1715374734879.png

 

Mark Mccall 
CAD Mangler


EESignature


VHB - Vanasse Hangen Brustlin, Inc.


Linkedin

0 Likes
Message 10 of 12

pallen9JA6T
Enthusiast
Enthusiast

This is certainly a reasonable alternative to what I'm wanting. I'm still hoping someone can figure out how my coworker did it. I know he did it with array, but I don't know how he set the maximum spacing. Thanks for the suggestion.

0 Likes
Message 11 of 12

j.palmeL29YX
Mentor
Mentor
Accepted solution

@pallen9JA6T wrote:

Below is an example of what the finished product looks like. 

 

 


Now I know which points you want to be arrayed and can offer a refined suggestion which should give you the needed result. 

And no, I don't know a solution without using constraints. 

 

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

0 Likes
Message 12 of 12

pallen9JA6T
Enthusiast
Enthusiast

It works perfectly. Thanks so much for the help.

0 Likes