Linear pattern

Linear pattern

kresh.bell
Collaborator Collaborator
1,391 Views
5 Replies
Message 1 of 6

Linear pattern

kresh.bell
Collaborator
Collaborator

Hi,

is it possible to create an iLogic for a linear pattern that would allow the first member to be used multiple times, but for different values?

0 Likes
1,392 Views
5 Replies
Replies (5)
Message 2 of 6

J-Camper
Advisor
Advisor

Do you mean the distance between each instance would be a different?  Or do you want, let's say Instance 2 will be a different size than Instance 1 and Instance 3 is another third size?

 

For the first case, you could set up a sketch of points and do a sketch driven pattern, either manually or through iLogic/API

 

For the second case, I've never tried this myself, but I would imagine doing a linear pattern of an iPart might let you set the other instances to a different iPart row.

 

Let me know more about your goal and I'll try to help.

0 Likes
Message 3 of 6

kresh.bell
Collaborator
Collaborator

Hi,

very often I need a pattern with different distances, but the biggest problem for me is that I can't use the first part more than once in the pattern.

Ideally this would be shown in the drawing, but if the red part could still be used after this pattern for one or more other patterns

pattern.jpg

0 Likes
Message 4 of 6

WCrihfield
Mentor
Mentor

Which types of patterns are you asking about?  (sketch patterns (in sketches), assembly component patterns (in assemblies), part feature patterns (in parts)

Your image looks like it might be a DrawingSketch using the patterning tools available within the sketch environment, but I it might also be a view of either an assembly or a multi-body part.

If it is a sketch, it's fairly easy to copy just the original geometry set again, even after it has been used within an earlier rectangular pattern (using sketch tools), so I'm guessing you mean one of the other methods.  Can you clarify a little further, or maybe supply a test file with detailed instructions of what you are hoping to accomplish?

 

Wesley Crihfield

EESignature

(Not an Autodesk Employee)

0 Likes
Message 5 of 6

kresh.bell
Collaborator
Collaborator

This is just an example, I mean a pattern in an assembly environment. The biggest problem for me is that when the first member is a participant in the pattern it cannot be the second time.

0 Likes
Message 6 of 6

_dscholtes_
Advocate
Advocate

If you use constraints to create a pattern, you can re-use the first item...

It's not iLogic and it doesn't create a pattern, but it's a start. In this thread , zeintlinger  created a macro to 'clone' a component including its constraints, with the option to change selected entities and offset values. It only works for mate / flush constraints, so it can be used to create linear patterns (by adding one component at a time).

 

You could use the above macro to create something of your own, which might look something like this (WIP):   PatternWithConstraints.png

0 Likes