Vertices: Difference between revisions

From OCAD Wiki - English
Jump to navigation Jump to search
No edit summary
 
(24 intermediate revisions by 7 users not shown)
Line 11: Line 11:
[[File:Icon DashVertex.PNG]] Add dash vertex<br />
[[File:Icon DashVertex.PNG]] Add dash vertex<br />


===Add Normal Vertex===
===Add Normal Vertex [[File:Space.PNG]][[File:Pro40px.PNG|This function is available in OCAD Mapping Solution.|link=https://www.ocad.com/en/products/ocad-for-cartography]][[File:Std40px.PNG|This function is available in OCAD Orienteering.|link=https://www.ocad.com/en/products/ocad-for-orienteering]][[File:Sta40px.PNG|This function is available in OCAD Starter.|link=https://www.ocad.com/en/products/ocad-for-orienteering]][[File:CS40px.PNG|This function is available in OCAD Course Setting.|link=https://www.ocad.com/en/products/ocad-for-orienteering]]===
----
----
The [[File:Icon NormalVertex.PNG]] '''Add normal vertex''' function is enabled when a line, line text or area object is selected. Click this button to change the cursor to the '''Add normal vertex''' mode.
The [[File:Icon NormalVertex.PNG]] '''Add normal vertex''' function is enabled when a line, line text or area object is selected. Click this button to change the cursor to the '''Add normal vertex''' mode.
When this mode is selected, you can insert additional normal vertices or change existing vertices to normal vertices.
When this mode is selected, you can insert additional normal vertices or change existing vertices to normal vertices.
Hold the '''Alt''' key to switch temporary to [[File:Icon_SelectObjectAndEditVertex.PNG]] '''[[Select#Select_Object_and_Edit_Vertex|Select Object and Edit Vertex]]''' mode, in order to select other objects.


====Insert Normal Vertices====
====Insert Normal Vertices====
Line 20: Line 22:
<br />
<br />
You can also insert normal vertices in [[File:Icon SelectAndEditObject.PNG]] '''[[Select#Select and Edit Object|Select and Edit Object]]''' or [[File:Icon SelectObjectAndEditVertex.PNG]] '''[[Select#Select Object and Edit Vertex|Select Object and Edit Vertex]]''' mode when holding down both the [[File:Shift.JPG|shift]] and the '''Ctrl''' key.
You can also insert normal vertices in [[File:Icon SelectAndEditObject.PNG]] '''[[Select#Select and Edit Object|Select and Edit Object]]''' or [[File:Icon SelectObjectAndEditVertex.PNG]] '''[[Select#Select Object and Edit Vertex|Select Object and Edit Vertex]]''' mode when holding down both the [[File:Shift.JPG|shift]] and the '''Ctrl''' key.
[[File:AddVertex.gif]]


====Change a Vertex to a Normal Vertex====
====Change a Vertex to a Normal Vertex====
Select a line, line text or area object, change to the '''Add normal vertex''' mode and move the mouse pointer to the vertex to be converted. Then, click the left mouse button. The vertex is changed to a normal vertex.
Select a line, line text or area object, change to the '''Add normal vertex''' mode and move the mouse pointer to the vertex to be converted. Then, click the left mouse button. The vertex is changed to a normal vertex.
<br />
[[File:Hint.jpg]] If you want to change all vertices of an object to normal vertices use the '''[[Vertices#Change Vertex Types to|Change Vertex Types to]]''' function.


===Add Corner Vertex===
===Add Corner Vertex [[File:Space.PNG]][[File:Pro40px.PNG|This function is available in OCAD Mapping Solution.|link=https://www.ocad.com/en/products/ocad-for-cartography]][[File:Std40px.PNG|This function is available in OCAD Orienteering.|link=https://www.ocad.com/en/products/ocad-for-orienteering]][[File:Sta40px.PNG|This function is available in OCAD Starter.|link=https://www.ocad.com/en/products/ocad-for-orienteering]][[File:CS40px.PNG|This function is available in OCAD Course Setting.|link=https://www.ocad.com/en/products/ocad-for-orienteering]]===
----
----
A [[File:Icon CornerVertex.PNG]] '''Corner Vertex''' is a special vertex of line, line text and area objects. You can use this function if a line, line text or area object is selected.<br />
A [[File:Icon CornerVertex.PNG]] '''Corner Vertex''' is a special vertex of line, line text and area objects. You can use this function if a line, line text or area object is selected.<br />
Line 35: Line 41:
<br />
<br />
Corner vertices are automatically created when drawing in the [[File:Icon StraightLineMode.PNG]] '''[[Drawing_an_Object#Draw_a_Straight_Line|Straight Line]]''' mode.  
Corner vertices are automatically created when drawing in the [[File:Icon StraightLineMode.PNG]] '''[[Drawing_an_Object#Draw_a_Straight_Line|Straight Line]]''' mode.  
Hold the '''Alt''' key to switch temporary to [[File:Icon_SelectObjectAndEditVertex.PNG]] '''[[Select#Select_Object_and_Edit_Vertex|Select Object and Edit Vertex]]''' mode, in order to select other objects.


====Insert Corner Vertices====
====Insert Corner Vertices====
Line 40: Line 48:


====Change a Vertex to a Corner Vertex====
====Change a Vertex to a Corner Vertex====
Select a line, line text or area object, change to the '''Add corner vertex''' mode and move the mouse pointer to the vertex to be converted. Then, click the left mouse button. The vertex is changed to a corner vertex.
Select a line, line text or area object, change to the '''Add corner vertex''' mode and move the mouse pointer to the vertex to be converted. Then, click the left mouse button. The vertex is changed to a corner vertex.<br />
[[File:Hint.jpg]] If you want to change all vertices of an object to corner vertices use the '''[[Vertices#Change Vertex Types to|Change Vertex Types to]]''' function.


====Influence on line objects====
====Influence on line objects====
Line 50: Line 59:
Corner vertices allow you to create corners in Bézier curves. The '''Bezier vertex''' before and after a corner vertex can be moved individually without influencing each other. This allows you to create sharp corners.
Corner vertices allow you to create corners in Bézier curves. The '''Bezier vertex''' before and after a corner vertex can be moved individually without influencing each other. This allows you to create sharp corners.


===Add Dash Vertex===
===Add Dash Vertex [[File:Space.PNG]][[File:Pro40px.PNG|This function is available in OCAD Mapping Solution.|link=https://www.ocad.com/en/products/ocad-for-cartography]][[File:Std40px.PNG|This function is available in OCAD Orienteering.|link=https://www.ocad.com/en/products/ocad-for-orienteering]][[File:Sta40px.PNG|This function is available in OCAD Starter.|link=https://www.ocad.com/en/products/ocad-for-orienteering]]===
----
----
A [[File:Icon DashVertex.PNG]] '''Dash Vertex''' is a special vertex of line or area objects. Dash vertices influence how line objects are rendered. When an object is selected, dash vertices are marked with a diamond ([[File:Diamond.JPG|diamond]]). You can use this function if a line, line text or area object is selected.
A [[File:Icon DashVertex.PNG]] '''Dash Vertex''' is a special vertex of line or area objects. Dash vertices influence how line objects are rendered. When an object is selected, dash vertices are marked with a diamond ([[File:Diamond.JPG|diamond]]). You can use this function if a line, line text or area object is selected.
Hold the '''Alt''' key to switch temporary to [[File:Icon_SelectObjectAndEditVertex.PNG]] '''[[Select#Select_Object_and_Edit_Vertex|Select Object and Edit Vertex]]''' mode, in order to select other objects.


====Insert Dash Vertices====
====Insert Dash Vertices====
Line 58: Line 69:


====Change a Vertex to a Dash Vertex====
====Change a Vertex to a Dash Vertex====
Select a line, line text or area object, change to the '''Add dash vertex''' mode and move the mouse pointer to the vertex to be converted. Then, click the left mouse button. The vertex is changed to a dash vertex.
Select a line, line text or area object, change to the '''Add dash vertex''' mode and move the mouse pointer to the vertex to be converted. Then, click the left mouse button. The vertex is changed to a dash vertex.<br />
[[File:Hint.jpg]] If you want to change all vertices of an object to dash vertices use the '''[[Vertices#Change Vertex Types to|Change Vertex Types to]]''' function.


====Influence on line objects====
====Influence on line objects====
Line 73: Line 85:


====Dashed Line with Intersection====
====Dashed Line with Intersection====
[[File:DashedLineIntersection.PNG|none|frame|caption|Dashed line with normal vertex (1), dash vertex (2) and corner vertex (3) at the intersection.]]
[[File:NormalDashCornerVertexRound.PNG]]


==Remove Vertex==
==Remove Vertex [[File:Space.PNG]][[File:Pro40px.PNG|This function is available in OCAD Mapping Solution.|link=https://www.ocad.com/en/products/ocad-for-cartography]][[File:Std40px.PNG|This function is available in OCAD Orienteering.|link=https://www.ocad.com/en/products/ocad-for-orienteering]][[File:Sta40px.PNG|This function is available in OCAD Starter.|link=https://www.ocad.com/en/products/ocad-for-orienteering]][[File:CS40px.PNG|This function is available in OCAD Course Setting.|link=https://www.ocad.com/en/products/ocad-for-orienteering]]==
Click the [[File:Icon_RemoveVertex.PNG]] '''Remove Vertex''' button in the '''Editing and Drawing Toolbar''' to remove a vertex.
Click the [[File:Icon_RemoveVertex.PNG]] '''Remove Vertex''' button in the '''Editing and Drawing Toolbar''' to remove a vertex.


This function is enabled when a line or area object is selected. When you use this function, the cursor changes to the '''Remove Vertex''' mode.
This function is enabled when a line or area object is selected. When you use this function, the cursor changes to the '''Remove Vertex''' mode.
<br />
<br />
Remove a vertex from a line or area object by clicking the desired vertex on the selected object with the left mouse button.
Remove a vertex from a line or area object by clicking the desired vertex on the selected object with the left mouse button.<br>


You can also remove vertices in [[File:Icon SelectAndEditObject.PNG]] '''[[Select#Select and Edit Object|Select and Edit Object]]''' or [[File:Icon SelectObjectAndEditVertex.PNG]] '''[[Select#Select Object and Edit Vertex|Select Object and Edit Vertex]]''' mode when holding down the '''Ctrl''' key.
[[File:Hint.jpg]] '''Remove multiple vertices''' by clicking the [[File:Icon_RemoveVertex.PNG]] '''Remove Vertex''' button and '''holding down''' the '''Ctrl''' key and the '''left mouse''' key while moving over the vertices. The mouse movement works like an eraser for the vertices of the selected object.<br>


==Change Vertex Types to==
[[File:Hint.jpg]] You can also remove vertices in [[File:Icon SelectAndEditObject.PNG]] '''[[Select#Select and Edit Object|Select and Edit Object]]''' or [[File:Icon SelectObjectAndEditVertex.PNG]] '''[[Select#Select Object and Edit Vertex|Select Object and Edit Vertex]]''' mode when holding down the '''Ctrl''' key and clicking on a vertex.<br>
Select '''Change Vertex Types''' to in '''Object''' Menu


Choose this command to change the symbol of all objects with a symbol A to symbol B. The '''Change Symbol of Objects''' dialog box is displayed.
[[File:Hint.jpg]] Hold the '''Alt''' key to switch temporary to [[File:Icon_SelectObjectAndEditVertex.PNG]] '''[[Select#Select_Object_and_Edit_Vertex|Select Object and Edit Vertex]]''' mode, in order to select other objects.


This command is especially useful to '''translate the layers''' of an imported file to OCAD symbols.
[[File:RemoveVertex.gif]]
* '''Change all objects with: ''' Enter here the symbol number or the name of the layer of the objects to be changed. If an object is selected this edit box initially contains the symbol number or the layer name of the selected object.
 
* '''To symbol no.: ''' Enter here the new symbol number to be given to the objects. Initially this edit box contains the number of the currently selected symbol This command is enabled when 1 or more objects are selected. This command will change the specified vertex types of all the selected objects in one step.
==Change Vertex Types to [[File:Space.PNG]][[File:Pro40px.PNG|This function is available in OCAD Mapping Solution.|link=https://www.ocad.com/en/products/ocad-for-cartography]][[File:Std40px.PNG|This function is available in OCAD Orienteering.|link=https://www.ocad.com/en/products/ocad-for-orienteering]]==
* '''Normal vertex: ''' The '''Change Vertex Types''' dialog box is opened. Check the vertex types (normal, corner, dash, virtual gap) that should be changed to normal vertex. Click '''OK''' button to execute this command.
You can find this function in the '''Object''' menu and is enabled if at least one line, line text or area object is selected.
* '''Corner vertex: ''' The '''Change Vertex Types''' dialog box is opened. Check the vertex types (normal, corner, dash, virtual gap) that should be changed to corner vertex. Click '''OK''' button to execute this command.
# Select at least one line, line text or area object.
* '''Dash vertex: ''' The '''Change Vertex Types''' dialog box is opened. Check the vertex types (normal, corner, dash, virtual gap) that should be changed to dash vertex. Click '''OK''' button to execute this command.
# Select the '''Change Vertex Types to''' submenu in the '''Object''' menu and choose the desired vertex type (normal vertex, corner vertex or dash vertex).
# The '''Change Vertex Types to''' dialog appears.
# In the '''From''' field, choose which vertex types you want to convert.
# If you do not want to change the first and last vertex, check the '''Do not change first and last vertex''' option.
# Click the '''OK''' button.
Note: Virtual gap vertices can only be converted to normal vertices (Learn how to make a virtual gap here: '''[[Cut#Cut_Line|Cut Line]]''').
 
==More==
 
'''[[Select#Toggle_between_segments|Toggle between straight and bezier curve segment]]''' with CTRL+SPACE key + click on segment.
 
'''[[Select#Toggle_between_vertices|Toggle between normal-dash-corner vertex]]''' with CTRL+SPACE key + click on vertex.  
 
----
To the '''[[Edit Object#Vertices|Edit Object]]''' page.

Latest revision as of 17:04, 9 March 2021

Vertices are specified by a pair of coordinates (x/y values). Vertices are used to define the position of points, lines and areas.
There are 3 types of vertices:

  • Normal Vertex
  • Corner Vertex
  • Dash Vertex

Add Vertex

The commands for adding new vertices can be found in the Editing and Drawing Toolbar.
Icon NormalVertex.PNG Add normal vertex
Icon CornerVertex.PNG Add corner vertex
Icon DashVertex.PNG Add dash vertex

Add Normal Vertex Space.PNGThis function is available in OCAD Mapping Solution.This function is available in OCAD Orienteering.This function is available in OCAD Starter.This function is available in OCAD Course Setting.


The Icon NormalVertex.PNG Add normal vertex function is enabled when a line, line text or area object is selected. Click this button to change the cursor to the Add normal vertex mode. When this mode is selected, you can insert additional normal vertices or change existing vertices to normal vertices.

Hold the Alt key to switch temporary to Icon SelectObjectAndEditVertex.PNG Select Object and Edit Vertex mode, in order to select other objects.

Insert Normal Vertices

Select a line, line text or area object, change to the Add normal vertex mode and move the mouse pointer to the desired position on the line object or on the border of the area object. Then, click the left mouse button. A new normal vertex is inserted.
You can also insert normal vertices in Icon SelectAndEditObject.PNG Select and Edit Object or Icon SelectObjectAndEditVertex.PNG Select Object and Edit Vertex mode when holding down both the shift and the Ctrl key.

AddVertex.gif

Change a Vertex to a Normal Vertex

Select a line, line text or area object, change to the Add normal vertex mode and move the mouse pointer to the vertex to be converted. Then, click the left mouse button. The vertex is changed to a normal vertex.
Hint.jpg If you want to change all vertices of an object to normal vertices use the Change Vertex Types to function.

Add Corner Vertex Space.PNGThis function is available in OCAD Mapping Solution.This function is available in OCAD Orienteering.This function is available in OCAD Starter.This function is available in OCAD Course Setting.


A Icon CornerVertex.PNG Corner Vertex is a special vertex of line, line text and area objects. You can use this function if a line, line text or area object is selected.
Corner vertices have 3 effects:

  • they influence how line objects are drawn
  • they influence the editing of a Bézier curves
  • when smoothing (automatically or manually) they remain in the same position

When an object is selected, corner vertices are marked with an empty rectangle (empty rectangle).
Corner vertices are automatically created when drawing in the Icon StraightLineMode.PNG Straight Line mode.

Hold the Alt key to switch temporary to Icon SelectObjectAndEditVertex.PNG Select Object and Edit Vertex mode, in order to select other objects.

Insert Corner Vertices

Select a line, line text or area object, change to the Add corner vertex mode and move the mouse pointer to the desired position on the line object or on the border of the area object. Then, click the left mouse button. A new corner vertex is inserted.

Change a Vertex to a Corner Vertex

Select a line, line text or area object, change to the Add corner vertex mode and move the mouse pointer to the vertex to be converted. Then, click the left mouse button. The vertex is changed to a corner vertex.
Hint.jpg If you want to change all vertices of an object to corner vertices use the Change Vertex Types to function.

Influence on line objects

Corner vertices influence structured line objects such as dashed lines. When OCAD renders a dashed line it distributes dashes of equal length on that line. Corner vertices divide a line into several line sections. OCAD distributes the dashes on each section as if they are individual objects.

In the Comparison part of this page some examples can be found.

Influence on Bézier curves

Corner vertices allow you to create corners in Bézier curves. The Bezier vertex before and after a corner vertex can be moved individually without influencing each other. This allows you to create sharp corners.

Add Dash Vertex Space.PNGThis function is available in OCAD Mapping Solution.This function is available in OCAD Orienteering.This function is available in OCAD Starter.


A Icon DashVertex.PNG Dash Vertex is a special vertex of line or area objects. Dash vertices influence how line objects are rendered. When an object is selected, dash vertices are marked with a diamond (diamond). You can use this function if a line, line text or area object is selected.

Hold the Alt key to switch temporary to Icon SelectObjectAndEditVertex.PNG Select Object and Edit Vertex mode, in order to select other objects.

Insert Dash Vertices

Select a line, line text or area object, change to the Add dash vertex mode and move the mouse pointer to the desired position on the line object or on the border of the area object. Then, click the left mouse button. A new dash vertex is inserted.

Change a Vertex to a Dash Vertex

Select a line, line text or area object, change to the Add dash vertex mode and move the mouse pointer to the vertex to be converted. Then, click the left mouse button. The vertex is changed to a dash vertex.
Hint.jpg If you want to change all vertices of an object to dash vertices use the Change Vertex Types to function.

Influence on line objects

Dash vertexes influence structured line objects such as dashed lines. When OCAD renders a dashed line it distributes dashes of equal length on that line. Insert a dash vertex to force a dash to a certain position.
In the Comparison part of this page some examples can be found.

Comparison and Examples


Dotted Line

Dotted line with normal vertex (1) and corner vertex (2) at the corner.

Dashed Line

Dashed line with normal vertex (1), dash vertex (2) and corner vertex (3) at the corner.

Dashed Line with Intersection

NormalDashCornerVertexRound.PNG

Remove Vertex Space.PNGThis function is available in OCAD Mapping Solution.This function is available in OCAD Orienteering.This function is available in OCAD Starter.This function is available in OCAD Course Setting.

Click the Icon RemoveVertex.PNG Remove Vertex button in the Editing and Drawing Toolbar to remove a vertex.

This function is enabled when a line or area object is selected. When you use this function, the cursor changes to the Remove Vertex mode.
Remove a vertex from a line or area object by clicking the desired vertex on the selected object with the left mouse button.

Hint.jpg Remove multiple vertices by clicking the Icon RemoveVertex.PNG Remove Vertex button and holding down the Ctrl key and the left mouse key while moving over the vertices. The mouse movement works like an eraser for the vertices of the selected object.

Hint.jpg You can also remove vertices in Icon SelectAndEditObject.PNG Select and Edit Object or Icon SelectObjectAndEditVertex.PNG Select Object and Edit Vertex mode when holding down the Ctrl key and clicking on a vertex.

Hint.jpg Hold the Alt key to switch temporary to Icon SelectObjectAndEditVertex.PNG Select Object and Edit Vertex mode, in order to select other objects.

RemoveVertex.gif

Change Vertex Types to Space.PNGThis function is available in OCAD Mapping Solution.This function is available in OCAD Orienteering.

You can find this function in the Object menu and is enabled if at least one line, line text or area object is selected.

  1. Select at least one line, line text or area object.
  2. Select the Change Vertex Types to submenu in the Object menu and choose the desired vertex type (normal vertex, corner vertex or dash vertex).
  3. The Change Vertex Types to dialog appears.
  4. In the From field, choose which vertex types you want to convert.
  5. If you do not want to change the first and last vertex, check the Do not change first and last vertex option.
  6. Click the OK button.

Note: Virtual gap vertices can only be converted to normal vertices (Learn how to make a virtual gap here: Cut Line).

More

Toggle between straight and bezier curve segment with CTRL+SPACE key + click on segment.

Toggle between normal-dash-corner vertex with CTRL+SPACE key + click on vertex.


To the Edit Object page.