| 12 | | Later, you can cancel the movement of certain nodes, select them and press **{{{Shift+Q}}}**. |
| | 12 | [[JOSMImage(misc/error,24,middle,link=,margin-right=5,margin-bottom=5)]] **Be careful when using this feature e.g. on buildings. A lot of buildings are indeed not orthogonal in reality.** |
| | 13 | |
| | 14 | |
| | 15 | == Simple use case == |
| | 16 | Select each way separately or several ways together and hit `Q`. This will orthogonalize each single way on its own. Ways with minimum two sharing nodes which are selected together will be orthogonalized together, too. |
| | 17 | |
| | 18 | [[Image(q-simple.gif,link=)]] |
| | 19 | |
| | 20 | |
| | 21 | == Using two nodes for alignment == |
| | 22 | You can select two additional nodes. Then segments will be aligned in accordance with these nodes. |
| | 23 | |
| | 24 | [[Image(q-align.gif,link=)]] |
| | 25 | |
| | 26 | |
| | 27 | == Complex buildings == |
| | 28 | * temporarily split buildings with `P` [wikitr:/Help/Action/SplitWay Split Way] |
| | 29 | * orthogonalize portions of a building as usual |
| | 30 | * reconnect parts back with `C` [wikitr:/Help/Action/CombineWay Combine Ways] |
| | 31 | |
| | 32 | [[Image(split-q-then-combine.gif,link=)]] |
| | 33 | |
| | 34 | To orthogonalize a part of a building without splitting it, simply select the wanted nodes. Note that the selection order of the nodes does matter here, so selecting e.g. via rectangle will usually not work. |
| | 35 | |
| | 36 | [[Image(q-partial-without-split.gif,link=)]] |
| | 37 | |
| | 38 | |
| | 39 | == Undo moves of selected nodes ==#Undomovesofselectednodes |
| | 40 | Select nodes you want to undo, then press `Shift+Q` and selected nodes will be placed back to origin. |
| | 41 | |
| | 42 | [[Image(shift-q.gif,link=)]] |
| | 43 | |
| | 44 | |
| | 45 | == Orthogonalization is not Rotation == |
| | 46 | Before (note small extrusion, multiple times smaller than other part): |
| | 47 | |
| | 48 | [[Image(Orthogonalization is not Rotation - before - cropped.png,link=)]] |
| | 49 | |
| | 50 | After Orthogonalization ([https://knowledge.autodesk.com/support/autocad/getting-started/caas/CloudHelp/cloudhelp/2016/ENU/AutoCAD-Core/files/GUID-9810D35D-E975-49E2-88EA-51FE4ACC92DB-htm.html dimensions]/length is not preserved): |
| | 51 | |
| | 52 | [[Image(Orthogonalization is not Rotation - after - cropped.png,link=)]] |
| | 53 | |
| | 54 | For rotation see [wikitr:/Help/Action/Select#Rotate Rotate]. |
| | 55 | |
| | 56 | |