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 "Points"

From LibreCAD wiki
Jump to: navigation, search
(rewrote the whole thing)
(updated formatting // generalized syntax)
Line 5: Line 5:
 
<code>''Specify location''<br/></code>
 
<code>''Specify location''<br/></code>
  
Click in the drawing area or enter one of the following in the command line:
+
Click in the drawing area or use the following syntax with the command line:
  
*3,4 - to create a point at coordinates x=3, y=4.
+
* '''x,y'''
 +
<tt>
 +
: This creates a point at coordinates x,y.
 +
</tt>
  
*@3,4 - to create a point located relative to the last point created; this is vector addition (x,y)+(3,4) where x and y are the coordinates of the last point created.
+
* '''@x,y'''
 +
<tt>
 +
: This creates a point located relative to the last point created;  
 +
: the coordinates are added to the coordinates of the last point created (vector addition).
 +
</tt>
  
*50<45 - to create a point 50 units from the origin, and rotated 45 degrees around the origin. The positive x axis is at 0 degrees, the positive y axis is at 90 degrees.
+
* '''distance<rotation'''
 +
<tt>
 +
: This creates a point a specified distance from the origin, and rotated a specified amount of degrees around the origin.  
 +
: The positive x axis is at 0 degrees, the positive y axis is at 90 degrees.
 +
</tt>
  
*@50<45 - to create a point 50 units away from the last point, and rotated 45 degrees around that point.
+
* '''@distance<rotation'''
 +
<tt>
 +
: This creates a point a specified distance from the last point created, and rotated a specified amount of degrees around that point.
 +
</tt>
  
 
[[Category:Tools]]
 
[[Category:Tools]]
 
[[Category:Usage]]
 
[[Category:Usage]]

Revision as of 08:06, 29 April 2015

Points.png

Commands: po, point

Specify location

Click in the drawing area or use the following syntax with the command line:

  • x,y

This creates a point at coordinates x,y.

  • @x,y

This creates a point located relative to the last point created;
the coordinates are added to the coordinates of the last point created (vector addition).

  • distance<rotation

This creates a point a specified distance from the origin, and rotated a specified amount of degrees around the origin.
The positive x axis is at 0 degrees, the positive y axis is at 90 degrees.

  • @distance<rotation

This creates a point a specified distance from the last point created, and rotated a specified amount of degrees around that point.