Skip to main content
Known Participant
February 16, 2022
Question

Making a rectangular line

  • February 16, 2022
  • 3 replies
  • 877 views

Hello,

 

I have a problem like this: how to make a rectangular line to the existing line by script, but always on the right side to the direction of vector line ? Like this on the example ?

 

Thank you,

This topic has been closed for replies.

3 replies

renél80416020
Inspiring
February 17, 2022

Bonjour Belf,

J'ai travaillé sur ce script spécialement pour toi pour des prunes...

La version la plus simple du script:

La couleur par défaut (blue)

Le script vous montre le sens du tracé afin de choisir le coté gauche ou droit.

Pour coef, ce serait trop long à expliquer.

René

PS

La version plus complète.

Ici, si "Applies style" n'est pas coché, le type de trait peut être modifié.
La boîte de dialogue peut être permanente pour le tracé de plusieurs traits.

 

BeffAuthor
Known Participant
February 17, 2022

Bonjour Rene,

I want this script very much. Let's talk.

renél80416020
Inspiring
February 17, 2022

Bonjour Beff, tu as mon adresse mail...

Cordialement René.

barbara_a7746676
Community Expert
Community Expert
February 17, 2022

Follow Monika's suggestion and create a brush.

It's easy to do.

Draw the two lines.

Select them and drag them into the Brushes panel. Choose Art Brush.

Paint with the Brush tool. Be aware that the direction that you drag the brush can flip the colors in the two lines, so always drag in the same direction or else use the Brushes panel to change the direction of a line you've drawn.

You can draw with any tool, not just the Brush tool, and then click on the brush you want to use in the Brushes panel.

 

Monika Gause
Community Expert
Community Expert
February 16, 2022

I would create a brush.