{"id":1189,"date":"2011-12-08T13:56:34","date_gmt":"2011-12-08T13:56:34","guid":{"rendered":"http:\/\/www.west-racing.com\/mf\/?page_id=1189"},"modified":"2011-12-08T15:44:09","modified_gmt":"2011-12-08T15:44:09","slug":"rectangle","status":"publish","type":"page","link":"http:\/\/www.west-racing.com\/mf\/?page_id=1189","title":{"rendered":"Rectangle"},"content":{"rendered":"<p><a href=\"http:\/\/www.west-racing.com\/mf\/wp-content\/uploads\/2011\/12\/megarect.jpg\"><img loading=\"lazy\" src=\"http:\/\/www.west-racing.com\/mf\/wp-content\/uploads\/2011\/12\/megarect-300x147.jpg\" alt=\"\" title=\"megarect\" width=\"300\" height=\"147\" class=\"alignleft size-medium wp-image-1190 fancy\" srcset=\"http:\/\/www.west-racing.com\/mf\/wp-content\/uploads\/2011\/12\/megarect-300x147.jpg 300w, http:\/\/www.west-racing.com\/mf\/wp-content\/uploads\/2011\/12\/megarect-680x334.jpg 680w, http:\/\/www.west-racing.com\/mf\/wp-content\/uploads\/2011\/12\/megarect.jpg 1013w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><br \/>\nUse Rectangle to create a closed box shape with 4 control points, you can define the width and length of the box. You can also make the box have rounded corners by changing the fillet example, this will add an extra control point per corner as seen in the pic.<br \/>\n<a href=\"http:\/\/www.west-racing.com\/mf\/wp-content\/uploads\/2011\/12\/megarectinsp.jpg\"><img loading=\"lazy\" src=\"http:\/\/www.west-racing.com\/mf\/wp-content\/uploads\/2011\/12\/megarectinsp.jpg\" alt=\"\" title=\"megarectinsp\" width=\"260\" height=\"139\" class=\"alignright size-full wp-image-1191 fancy\" \/><\/a><\/p>\n<h3>Rectangle Param Description<\/h3>\n<h4><strong>Length<\/strong><\/h4>\n<p>Length of the box (Z Axis).<\/p>\n<h4><strong>Width<\/strong><\/h4>\n<p>Width of the box (X Axis).<\/p>\n<h4><strong>Fillet<\/strong><\/h4>\n<p>How much to round the corners.<br \/>\n<div class=\"message_box warning_box\">\n<p class=\"message_box_sign warning_box_sign\">Warning<\/p>\nChanging any of the parameters above will reset the shape, so if you have created a shape and moved the handles or knots about or manually added or deleted knots those changes will be lost.\n<\/div><\/p>\n<h3>Rectangle Class<\/h3>\n<p>[cc lang=&#8221;c#&#8221;]public class MegaShapeRectangle : MegaShape<br \/>\n{<br \/>\n    public float   length;<br \/>\n    public float   width;<br \/>\n    public float   fillet;<br \/>\n}[\/cc]<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Use Rectangle to create a closed box shape with 4 control points, you can define the width and length of the box. You can also make the box have rounded [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":390,"menu_order":0,"comment_status":"closed","ping_status":"open","template":"","meta":[],"_links":{"self":[{"href":"http:\/\/www.west-racing.com\/mf\/index.php?rest_route=\/wp\/v2\/pages\/1189"}],"collection":[{"href":"http:\/\/www.west-racing.com\/mf\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"http:\/\/www.west-racing.com\/mf\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"http:\/\/www.west-racing.com\/mf\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.west-racing.com\/mf\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1189"}],"version-history":[{"count":4,"href":"http:\/\/www.west-racing.com\/mf\/index.php?rest_route=\/wp\/v2\/pages\/1189\/revisions"}],"predecessor-version":[{"id":1207,"href":"http:\/\/www.west-racing.com\/mf\/index.php?rest_route=\/wp\/v2\/pages\/1189\/revisions\/1207"}],"up":[{"embeddable":true,"href":"http:\/\/www.west-racing.com\/mf\/index.php?rest_route=\/wp\/v2\/pages\/390"}],"wp:attachment":[{"href":"http:\/\/www.west-racing.com\/mf\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1189"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}