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
(updated formatting // generalized syntax)
(added link to page about vector math // added image for rotation // added link to coordinate system page)
Line 15: Line 15:
 
<tt>
 
<tt>
 
: This creates a point located relative to the last point created;  
 
: 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).
+
: the coordinates are [http://www.mathsisfun.com/algebra/vectors.html added] to the coordinates of the last point created.
 
</tt>
 
</tt>
  
 
* '''distance<rotation'''
 
* '''distance<rotation'''
 
<tt>
 
<tt>
: This creates a point a specified distance from the origin, and rotated a specified amount of degrees around the origin.
+
: This creates a point a specified distance from the origin,  
: The positive x axis is at 0 degrees, the positive y axis is at 90 degrees.
+
: and rotated a specified amount of degrees around the origin.
 
</tt>
 
</tt>
  
 
* '''@distance<rotation'''
 
* '''@distance<rotation'''
 
<tt>
 
<tt>
: This creates a point a specified distance from the last point created, and rotated a specified amount of degrees around that point.
+
: This creates a point a specified distance from the last point created,  
 +
: and rotated a specified amount of degrees around that point.
 
</tt>
 
</tt>
 +
 +
[[Image:Selection 030.png|400px]]
 +
 +
You can read [[Coordinate system]] for more information.
  
 
[[Category:Tools]]
 
[[Category:Tools]]
 
[[Category:Usage]]
 
[[Category:Usage]]

Revision as of 08:57, 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.

  • distance<rotation

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

  • @distance<rotation

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

Selection 030.png

You can read Coordinate system for more information.