Rozdziały kursu
Szkolenia · Ścieżka 13. Tablice · Rozdział 13.2 z 4
13.2 Krzywe i etykiety linii 3:09
Kształtowanie linii krzywej przez jej szczyt, ustawianie końców prostopadle do kształtów oraz umieszczanie, obracanie i usuwanie etykiet.
Pokazuje Holarch 2.35.
Czego się nauczysz
- Rysowanie linii krzywej i ustawianie jej szczytu żółtym rombem, z przyciąganiem do środka
- Wyginanie lub spłaszczanie krzywej oraz ustawianie Krzywizny i położenia szczytu w panelu Linia
- Ustawianie końców linii prostopadle do krawędzi jej kształtów
- Dodawanie, przesuwanie, obracanie i usuwanie etykiet linii
Kształtuj linie na planszy koncepcji stacji Bike-Share Dock: narysuj zakrzywioną strzałkę, przesuń szczyt krzywej wzdłuż linii żółtym rombem (przyciąga się do środka), wygnij ją mocniej lub słabiej, ustaw Krzywiznę i położenie szczytu w panelu Linia, ustaw końce prostopadle do krawędzi, z którymi się stykają, tak aby krzywa opuszczała każdy kształt pod kątem prostym, a następnie dodaj etykiety linii, przesuń je wzdłuż linii i poza nią, obróć je z przyciąganiem, ustaw je wzdłuż linii i usuń.
Pliki projektu
- Projekt początkowy (.holarch.json; Zarządzaj projektami → Pliki projektu ▾ → Importuj projekt (.json)…)
- Projekt ukończony (.holarch.json; Zarządzaj projektami → Pliki projektu ▾ → Importuj projekt (.json)…)
Film jest odtwarzany z holarch.app; zobacz Politykę prywatności.
Ćwiczenie
Wykonaj to samodzielnie w Holarch na projekcie Bike-Share Dock.
- Otwórz plik początkowy rozdziału i tablicę Dock Concept.
- Naciśnij A, wybierz Zakrzywiona na pasku opcji linii i przeciągnij od rowerzysty do stanowiska dokującego.
- Przeciągnij żółty romb w stronę jednego końca, a potem z powrotem, aż przyciągnie się do środka. Przeciągnij go z dala od linii, przytrzymując Shift.
- W sekcji Linia inspektora zaznacz Prostopadle do krawędzi dla Początek i Koniec, a następnie przesuń rowerzystę.
- Kliknij dwukrotnie linię, wpisz
returns a bikei naciśnij Wprowadzanie. Przeciągnij etykietę wzdłuż linii, z dala od niej i z powrotem na nią; obróć ją okrągłym uchwytem. - Dodaj drugą etykietę i usuń ją jej przyciskiem ×.
Gotowe, gdy zakrzywiona strzałka styka się z obydwoma kształtami prostopadle do ich krawędzi i ma jedną etykietę, która biegnie wzdłuż linii.
Sprawdź się
- Co pokazuje żółty romb na linii krzywej?
- Jak umieścić szczyt w dowolnym miejscu bez przyciągania do środka?
- Co utrzymuje etykietę obróconą wzdłuż linii, gdy linia się przesuwa?
Pokaż odpowiedzi
Co pokazuje żółty romb na linii krzywej?
Szczyt: punkt krzywej najbardziej oddalony od prostej łączącej jej końce. Przeciąganie rombu wzdłuż linii przesuwa szczyt; odciąganie go od linii mocniej wygina krzywą.
Jak umieścić szczyt w dowolnym miejscu bez przyciągania do środka?
Przytrzymaj Command (Mac) lub Control podczas przeciągania rombu.
Co utrzymuje etykietę obróconą wzdłuż linii, gdy linia się przesuwa?
Opcja Wzdłuż linii w wierszu etykiety w panelu Linia.
Więcej informacji
Transkrypcja
Pokaż transkrypcję (narracja i to, co widać na ekranie)
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.