{"id":960,"date":"2016-05-02T11:25:23","date_gmt":"2016-05-02T09:25:23","guid":{"rendered":"http:\/\/www.htflux.com\/en\/?page_id=960"},"modified":"2016-05-02T11:53:43","modified_gmt":"2016-05-02T09:53:43","slug":"draw-rectangle","status":"publish","type":"page","link":"https:\/\/www.htflux.com\/en\/documentation\/drawing\/draw-rectangle\/","title":{"rendered":"Draw rectangle"},"content":{"rendered":"<h2>Drawing a rectangle<\/h2>\n<p><a href=\"http:\/\/www.htflux.com\/de\/wp-content\/uploads\/sites\/3\/2014\/11\/Zeichnen-Rechteck-e1422820887791.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-940\" src=\"http:\/\/www.htflux.com\/en\/wp-content\/uploads\/sites\/4\/2016\/04\/Button-Rectangle.png\" alt=\"Button-Rectangle\" width=\"52\" height=\"70\" \/><br \/>\n<\/a>A rectangle is being drawn by defining two of its corner points. The rectangle defines a solid object that can be filled with a material or boundary later on (eg. a wall, floor slab,&#8230;).\u00a0 Like within the other drawing functions you can either use the mouse (and snapping tools) or keyboard entries to draw the polyline. Type in the commands decribed below into the command line displayed on the bottom side of the screen. Most entries will have to be confirmed using the return key.<\/p>\n<p>To draw a rectangle you will have to following functions and features available:<\/p>\n<table class=\"command-table\">\n<tbody>\n<tr>\n<td><strong>Mouse<\/strong><\/td>\n<td>Freely draw the corners of the rectangle with the mouse clicking the left mouse button. However you should make use of snapping tools whenever it is possible to make sure your objects are aligned perfectly.The second corner will finish the rectangle.<\/td>\n<\/tr>\n<tr>\n<td><strong>[x;y]<\/strong><\/td>\n<td>Enter coordinates for the corners, e.g. enter 0;0 to place a corner in the origin, or type 5;4 to set a cornerst 5 units left and 4 units top of the origin.<br \/>\n(you can also add units to the values, if you do not type in a unit the defaut unit, whicht can be set in the preferences dialog will be assumed).<\/td>\n<\/tr>\n<tr>\n<td><strong>[R x;y]<\/strong><\/td>\n<td>Relative coordinates. Type R before the coordinates to define them as relative coordinates. The coordinates will always be measured from the reference point then. The reference point is displayed with green concentric circles, and be set to any position using the right mouse button.<\/td>\n<\/tr>\n<tr>\n<td><strong>[W]<\/strong><\/td>\n<td>Enter the width of the rectangle, e.g. <span class=\"highlight-input\">W10<\/span> to draw a rectangle with a width of 10 units. (use the default unit or specify a certain unit)<\/td>\n<\/tr>\n<tr>\n<td><strong>[H]<\/strong><\/td>\n<td>Enter the height, e.g. <span class=\"highlight-input\">H20<\/span> for a height of 20 units, using the default unit (or specify another unit after the value, e.g. <span class=\"highlight-input\">H20in<\/span>)<\/td>\n<\/tr>\n<tr>\n<td><strong>[P d;\u03b1]<\/strong><\/td>\n<td>Enter relative coordinates in polar form. Specify distance and angle realtive to the currently set reference point. e.g. <span class=\"highlight-input\">P 10; 45<\/span> will set the corner at a distance of 10 and an angle of 45 relative to the reference point.<\/td>\n<\/tr>\n<tr>\n<td><strong>[X]<\/strong><\/td>\n<td>Vertical guide line. Pressing the x key while bring up a vertical guide line at the current position of the mouse cursor (&#8220;fix the current x-coordinate&#8221;).<br \/>\nGuide lines are very useful to perfectly align objects.<\/td>\n<\/tr>\n<tr>\n<td><strong>[Y]<\/strong><\/td>\n<td>Horizontal guide line. Pressing the y key on a certain mouse position will bring up a horizontal guide line (&#8220;fix the current y-coodinate&#8221;).<\/td>\n<\/tr>\n<tr>\n<td><strong>[U]<\/strong><\/td>\n<td>Undo; pressing the U key will let you set the first corner of the rectangle again.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Drawing a rectangle A rectangle is being drawn by defining two of its corner points. The rectangle defines a solid object that can be filled with a material or boundary later on (eg. a wall, floor slab,&#8230;).\u00a0 Like within the other drawing functions you can either use the mouse (and snapping tools) or keyboard entries [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"parent":927,"menu_order":0,"comment_status":"open","ping_status":"open","template":"pageTemp-userGuide_NEW.php","meta":{"footnotes":""},"class_list":["post-960","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.htflux.com\/en\/wp-json\/wp\/v2\/pages\/960","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.htflux.com\/en\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.htflux.com\/en\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.htflux.com\/en\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.htflux.com\/en\/wp-json\/wp\/v2\/comments?post=960"}],"version-history":[{"count":5,"href":"https:\/\/www.htflux.com\/en\/wp-json\/wp\/v2\/pages\/960\/revisions"}],"predecessor-version":[{"id":962,"href":"https:\/\/www.htflux.com\/en\/wp-json\/wp\/v2\/pages\/960\/revisions\/962"}],"up":[{"embeddable":true,"href":"https:\/\/www.htflux.com\/en\/wp-json\/wp\/v2\/pages\/927"}],"wp:attachment":[{"href":"https:\/\/www.htflux.com\/en\/wp-json\/wp\/v2\/media?parent=960"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}