Chapitres du cours
Formation · Parcours 13. Tableaux blancs · Chapitre 13.2 sur 4
13.2 Courbes et étiquettes de ligne 3:09
Modeler une ligne courbe par son sommet, rendre ses extrémités perpendiculaires aux formes, et placer, faire pivoter et supprimer des étiquettes.
Montre Holarch 2.35.
Ce que vous allez apprendre
- Dessiner une ligne courbe et placer son sommet avec le losange jaune, en l'aimantant au milieu
- Courber ou aplatir une courbe, et définir Courbe et Position du sommet dans le panneau Ligne
- Rendre les extrémités d'une ligne perpendiculaires aux bords de ses formes
- Ajouter, déplacer, faire pivoter et supprimer des étiquettes de ligne
Modelez des lignes sur la planche de concept Bike-Share Dock : dessinez une flèche courbe, déplacez le sommet de la courbe le long de la ligne avec le losange jaune (il s'aimante au milieu), courbez-la plus ou moins, définissez Courbe et Position du sommet dans le panneau Ligne, rendez les extrémités perpendiculaires aux bords qu'elles rejoignent pour que la courbe quitte chaque forme à angle droit, puis ajoutez des étiquettes de ligne, déplacez-les le long de la ligne et hors d'elle, faites-les pivoter avec aimantation, faites-les suivre la ligne et supprimez-les.
Fichiers de projet
- Projet de départ (.holarch.json ; Gérer les projets → Fichiers de projet ▾ → Importer un projet (.json)…)
- Projet terminé (.holarch.json ; Gérer les projets → Fichiers de projet ▾ → Importer un projet (.json)…)
La vidéo est diffusée depuis holarch.app ; voir la Politique de confidentialité.
Pratique
Faites-le vous-même dans Holarch, sur Bike-Share Dock.
- Ouvrez le fichier de départ du chapitre et le tableau blanc Dock Concept.
- Appuyez sur A, choisissez Courbe dans la barre d'options de ligne et faites glisser du rider vers le docking bay.
- Faites glisser le losange jaune vers une extrémité, puis ramenez-le jusqu'à ce qu'il s'aimante au milieu. Éloignez-le de la ligne en maintenant Maj enfoncée.
- Dans la section Ligne de l'inspecteur, cochez Perpendiculaire au bord pour Début et Fin, puis déplacez le rider.
- Double-cliquez sur la ligne, saisissez
returns a bikeet appuyez sur Entrée. Faites glisser l'étiquette le long de la ligne, loin d'elle, puis remettez-la dessus ; faites-la pivoter avec sa poignée ronde. - Ajoutez une deuxième étiquette et supprimez-la avec son ×.
C'est terminé quand la flèche courbe rejoint les deux formes perpendiculairement à leurs bords et porte une étiquette qui suit la ligne.
Vérifiez vos connaissances
- Que montre le losange jaune sur une ligne courbe ?
- Comment placer le sommet n'importe où sans l'aimantation au milieu ?
- Qu'est-ce qui garde une étiquette tournée le long de sa ligne quand la ligne bouge ?
Afficher les réponses
Que montre le losange jaune sur une ligne courbe ?
Le sommet : le point de la courbe le plus éloigné de la droite qui relie ses extrémités. Le faire glisser le long de la ligne déplace le sommet ; l'éloigner de la ligne courbe davantage la courbe.
Comment placer le sommet n'importe où sans l'aimantation au milieu ?
Maintenez Commande (Mac) ou Ctrl enfoncée en faisant glisser le losange.
Qu'est-ce qui garde une étiquette tournée le long de sa ligne quand la ligne bouge ?
Suivre la ligne, dans la rangée de l'étiquette du panneau Ligne.
Pour aller plus loin
Transcription
Afficher la transcription (narration et contenu de l'écran)
Introduction
Chapter two: curves and line labels. A curved line is often the clearest way to show a flow that loops around other shapes, and a label says what the line means.
In this chapter you draw a curved arrow, shape it, and label it.
A curved line
The rider returns the bike at a docking bay. Press the A key, choose Curved in the Line options bar, and drag from the rider to the docking bay.
On screen: A → Curved → drag Rider → Docking Bay.
The new line is selected. The yellow diamond sits on the peak of the curve: the point farthest from a straight line between its ends.
On screen: The curve handle on the peak.
The peak
Drag the diamond along the line toward the docking bay. The peak moves toward that end, and the curve stays one smooth arc.
On screen: Drag the peak toward the docking bay.
Drag it back. Near the middle, it snaps to the center, and a guide shows it. Hold Command, or Control, while you drag to place it anywhere.
On screen: Drag the peak back; it snaps to the middle.
Drag the diamond away from the line to bend the curve more, or toward it to flatten it. With Shift held, only the bend changes.
On screen: Drag the peak outward.
The Line panel shows the same as numbers: Curve for the bend, and Peak position, from five to ninety-five percent along the line. Center puts the peak back in the middle.
On screen: Line panel: Curve, Peak position, Center.
Square ends
Under Ends, tick End in Square to the edge. The curve now meets the docking bay at a right angle to its edge, and eases into its arc. Tick Start too, for the rider.
On screen: Ends → Square to the edge: End, Start.
The setting stays while the shapes move. Drag the rider: both ends stay square.
On screen: Drag Rider.
Line labels
Now a label. Double-click the line, type returns a bike, and press Enter.
On screen: Double-click the curve → returns a bike → Enter.
Click the label to select it. Drag it along the line: it keeps its place along the line when the line moves.
On screen: Drag the label along the line.
Drag it away from the line, and a thin leader line connects it. Bring it back within a few pixels, and it snaps onto the line again.
On screen: Drag the label off the line, then back.
A selected label shows a round knob. Drag it to rotate the label. It snaps to horizontal, to the line's direction and to fifteen-degree steps.
On screen: Drag the rotate knob to the line's direction.
In the Line panel, each label has its position, offsets and rotation, and Follow the line, which keeps it turned along the line wherever the line goes.
On screen: Line panel → Labels.
A line can have several labels. Double-click near the rider for a second one, type paid by app, and press Enter.
On screen: Double-click the line → paid by app.
To delete a label, click its cross, press Delete while it is selected, or right-click it and choose Delete Label. Delete the second one.
On screen: The label's ×.
Recap
To recap: drag the yellow diamond to place the peak, which snaps to the middle; square the ends in the Line panel; and double-click a line to label it, then move, rotate or delete the label.
In the next chapter, you add charts to the board.