Skip to main content
14-Alexandrite
August 30, 2024
Solved

ASSEMBLY PATTERN RELATIONS

  • August 30, 2024
  • 2 replies
  • 1297 views

Hi,

 

I've done a direction pattern with respect to the blue directions (of another object of the assembly) in the picture.

 

MB_10508968_0-1725014777839.png

 

With relations, I want to invert the direction of the pattern in relation to the constraint of the first object of the pattern.

 

MB_10508968_1-1725014912535.png

 

Wich is the command that I have to insert afther the if conditions in the following relations?

 

MB_10508968_3-1725015047252.png

 

Thanks a lot.

 

Michele Barile

 

Best answer by Armando_Pirlo

Hi,

you could use a relation like this:

 

/* PARAMETERS FOR DIMENSIONS PATTERN

1_DIRECTION = 50
2_DIRECTION = 150

 

/* PARAMETER SET

PARAMETER_SET = 1

 

/* IF CONDITION

IF PARAMETER_SET  == 1
$d4 = 1_DIRECTION
$d5 = 2_DIRECTION
ENDIF

 

IF PARAMETER_SET == 2
$d4 = - 1_DIRECTION
$d5 = - 2_DIRECTION
ENDIF

2 replies

Community Moderator
September 4, 2024

Hi MB_10508968,

Thank you for your question. 

Your post appears well documented but has not yet received any response. I am replying to raise awareness. Hopefully, another community member will be able to help.

Regards,

Vivek N
Community Moderation Team.

12-Amethyst
September 4, 2024

Hi,

you could use a relation like this:

 

/* PARAMETERS FOR DIMENSIONS PATTERN

1_DIRECTION = 50
2_DIRECTION = 150

 

/* PARAMETER SET

PARAMETER_SET = 1

 

/* IF CONDITION

IF PARAMETER_SET  == 1
$d4 = 1_DIRECTION
$d5 = 2_DIRECTION
ENDIF

 

IF PARAMETER_SET == 2
$d4 = - 1_DIRECTION
$d5 = - 2_DIRECTION
ENDIF