Index: trunk/doc/user/06_feature/ddraft/index.html =================================================================== --- trunk/doc/user/06_feature/ddraft/index.html (revision 18832) +++ trunk/doc/user/06_feature/ddraft/index.html (revision 18833) @@ -16,8 +16,43 @@ of the board):
+ +
+Coordinate and/or angle constraints can be applied on line drawing (when +all-direction lines turned on) and move operation. Executing the +constraint() action without arguments opens a dialog box with the +settings. The same settings are accessible from the command line, using +the constraint() action with arguments: +
+
action syntax | description + |
---|---|
constraint(line_angle, ang1, ang2, ...) | permit drawing lines only at specific angles + |
constraint(line_angle_mod, ang) | permit drawing lines only at angles which are integer multiplies of ang + |
constraint(line_length, len1, len2, ...) | draw lines with length matching any length on the list + |
constraint(line_length_mod, len) | draw lines with length matching any integer multiply of the len + |
constraint(move_angle, ang1, ang2, ...) | permit moving objects only at specific angles + |
constraint(move_angle_mod, ang) | permit moving objects only at angles which are integer multiplies of ang + |
constraint(move_length, len1, len2, ...) | move objects at a distance matching any length on the list + |
constraint(move_length_mod, len) | move objects at a distance matching an integer multiply of the len + |
constraint(reset) | reset all constraints + |
+Length can include unit (on the GUI: without space). Multiple constraints +can be set in the same time. Constraints are reset upon explicit user +request or pcb-rnd restart. +
+For line drawing, it is possible to get the angle constraints calculated using +the line start point and an existing object: +
+
action syntax | description + |
---|---|
perp() | click on a line; set line_angle perpendicular to that line + |
paral() | click on a line; set line_angle parallel to that line + |
tang() | click on an arc; set line_angle tangential to the circle of the arc + |