We have moved to https://dokuwiki.librecad.org/

Lots of content was already moved to the new wiki, but there is still work to do. If you want to contribute, please register a new account at https://dokuwiki.librecad.org/

This wiki will be kept for a while to keep search engine results valid. Moved sites may be deleted here in future.

Difference between revisions of "Snapping"

From LibreCAD wiki
Jump to: navigation, search
(Or)
m (Added that "endpoint" snaps to the alignment points of text objects)
 
(8 intermediate revisions by 3 users not shown)
Line 1: Line 1:
The snap tools are available either from the main menubar option 'Snap'.
 
  
[[File:Selection 038.png|800px|left]]
+
{| class="wikitable" style="width:512px;"
 +
! Mode
 +
! Info
 +
|-
 +
| [[File:Snapfree.png|center|64x64px|frame|Free Snap]]
 +
| Allows for the crosshair to move freely while other snap modes are enabled. Commands: os, sf
 +
|-
 +
| [[File:Snapgrid.png|center|64x64px|frame|Snap Grid]]
 +
| Snap to a grid intersection. Command: sg
 +
|-
 +
| [[File:Snapendpoint.png|center|64x64px|frame|Snap Endpoints]]
 +
| Snap to the endpoints of a line segment, the quadrants of a circle, a point, or the alignment point of a text or mtext object. Command: se
 +
|-
 +
| [[File:Snaponentity.png|center|64x64px|frame|Snap on Entity]]
 +
| Snap to the path of an entity. Commands: np, sn
 +
|-
 +
| [[File:Snapcenter.png|center|64x64px|frame|Snap Center]]
 +
| Snap to the center of a circle or ellipse. It will also snap to the foci of an ellipse. Command: sc
 +
|-
 +
| [[File:Snapmiddle.png|center|64x64px|frame|Snap Middle]]
 +
| Snap to the middle of a path. Enabling this mode displays a "Middle points" input. If you change the value to 2 then you can snap to the trisection points of a line segment. Command: sm
 +
|-
 +
| [[File:Snapdist.png|center|64x64px|frame|Snap Distance]]
 +
| If you snap to the endpoint of a line segment then activate 'snap distance' and input 50, then it will snap to a point 50 units from the endpoint on the line segment. However, it will also snap to a point that is 50 units from the other endpoint. Command: sd
 +
|-
 +
| [[File:Snapintersection.png|center|64x64px|frame|Snap Intersection]]
 +
| Snap to the intersection of two entities. This does not currently work for polylines. Command: si
 +
|-
 +
| [[File:exclusive.png|center|64x64px|frame|Exclusive Snap Mode]]
 +
| '''On''': only one snap mode is allowed '''Off''': multiple snap modes are allowed The snap modes are remembered in each state.
 +
|}
  
  
 +
{| class="wikitable"
 +
! scope="col" width="128px" | Action
 +
! scope="col" width="128px" | Tool
 +
! scope="col" width="128px" | Commands
 +
|-
 +
| RestrictNothing
 +
| Restrict Nothing
 +
| rn
 +
|-
 +
| RestrictOrthogonal
 +
| Restrict Orthogonal
 +
| rr
 +
|-
 +
| RestrictHorizontal
 +
| Restrict Horizontal
 +
| rh
 +
|-
 +
| RestrictVertical
 +
| Restrict Vertical
 +
| rv
 +
|}
  
 
+
[[Category:Usage]]
(Menubar may look different depending on which operating system you are using)
+
 
+
 
+
 
+
 
+
===='''Or'''====
+
 
+
 
+
From the Snap Tools toolbar.
+
 
+
 
+
[[File:Selection 037.png|600px|left]]
+
 
+
 
+
1. Snap on grid.
+
 
+
2. Snap on endpoints.
+
 
+
3. Snap on entity.
+
 
+
4. Snap center.
+
 
+
5. Snap middle.
+
 
+
6. Snap distance.
+
 
+
7. Snap intersection.
+
 
+
8. Restrict horizontal.
+
 
+
9. Restrict vertical.
+
 
+
10. Set relative zero position.
+
 
+
11. Lock relative zero position.
+
 
+
 
+
 
+
 
+
 
+
===='''Or'''====
+
 
+
 
+
 
+
 
+
From entering 'Keycodes' into the command line.
+
 
+
 
+
os / sf - free positioning
+
 
+
sg      - Snap on grid
+
 
+
se      - Snap on endpoints
+
 
+
sn      - Snap on entity
+
 
+
sc      - Snap center
+
 
+
sm      - Snap middle
+
 
+
sd      - snap distance
+
 
+
si      - Snap intersection
+
 
+
 
+
'''Some 'Snap' examples''' (images to follow)
+

Latest revision as of 02:10, 5 August 2017

Mode Info
Free Snap
Allows for the crosshair to move freely while other snap modes are enabled. Commands: os, sf
Snap Grid
Snap to a grid intersection. Command: sg
Snap Endpoints
Snap to the endpoints of a line segment, the quadrants of a circle, a point, or the alignment point of a text or mtext object. Command: se
Snap on Entity
Snap to the path of an entity. Commands: np, sn
Snap Center
Snap to the center of a circle or ellipse. It will also snap to the foci of an ellipse. Command: sc
Snap Middle
Snap to the middle of a path. Enabling this mode displays a "Middle points" input. If you change the value to 2 then you can snap to the trisection points of a line segment. Command: sm
Snap Distance
If you snap to the endpoint of a line segment then activate 'snap distance' and input 50, then it will snap to a point 50 units from the endpoint on the line segment. However, it will also snap to a point that is 50 units from the other endpoint. Command: sd
Snap Intersection
Snap to the intersection of two entities. This does not currently work for polylines. Command: si
Exclusive Snap Mode
On: only one snap mode is allowed Off: multiple snap modes are allowed The snap modes are remembered in each state.


Action Tool Commands
RestrictNothing Restrict Nothing rn
RestrictOrthogonal Restrict Orthogonal rr
RestrictHorizontal Restrict Horizontal rh
RestrictVertical Restrict Vertical rv