{"id":337174,"date":"2022-08-17T15:00:26","date_gmt":"2022-08-17T15:00:26","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=337174"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=337174","title":{"rendered":"<span>\u041e\u0442\u043b\u0430\u0434\u043a\u0430 \u0432 C++ \u0433\u0435\u043e\u043c\u0435\u0442\u0440\u0438\u0438 \u0438 \u0442\u043e\u043f\u043e\u043b\u043e\u0433\u0438\u0438<\/span>"},"content":{"rendered":"<div><\/div>\n<div id=\"post-content-body\">\n<div>\n<div class=\"article-formatted-body article-formatted-body article-formatted-body_version-2\">\n<div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\">\n<p>\u0413\u0435\u043d\u0435\u0440\u0430\u0446\u0438\u044f 3\u0434 \u043e\u0431\u044a\u0435\u043a\u0442\u0430 &#8212; \u043a\u0430\u043a \u043f\u0440\u0430\u0432\u0438\u043b\u043e, \u043c\u043d\u043e\u0433\u043e\u044d\u0442\u0430\u043f\u043d\u044b\u0439 \u043f\u0440\u043e\u0446\u0435\u0441\u0441 (\u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440 \u0432 \u0431\u0443\u043b\u0435\u0432\u044b\u0445 \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u044f\u0445 \u0441\u043d\u0430\u0447\u0430\u043b\u0430 \u043f\u043e\u0438\u0441\u043a \u0433\u0440\u0430\u0444\u0430 \u043f\u0435\u0440\u0435\u0441\u0435\u0447\u0435\u043d\u0438\u0439, \u043d\u0430\u0445\u043e\u0436\u0434\u0435\u043d\u0438\u0435 \u0433\u0435\u043e\u043c\u0435\u0442\u0440\u0438\u0438 \u043a\u0440\u0438\u0432\u044b\u0445 \u043f\u0435\u0440\u0435\u0441\u0435\u0447\u0435\u043d\u0438\u044f \u0438 \u043f\u043e\u0441\u0442\u0440\u043e\u0435\u043d\u0438\u0435 \u0442\u043e\u043f\u043e\u043b\u043e\u0433\u0438\u0438 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0438\u0440\u0443\u044e\u0449\u0435\u0433\u043e \u0442\u0435\u043b\u0430). \u0417\u0430\u043a\u043e\u043d\u043e\u043c\u0435\u0440\u043d\u043e \u0432\u043e\u0437\u043d\u0438\u043a\u0430\u0435\u0442 \u0441\u043b\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u0441 \u0435\u0433\u043e \u043e\u0442\u043b\u0430\u0434\u043a\u043e\u0439. \u041f\u043e\u043b\u043e\u0436\u0438\u043c \u043f\u0440\u0438 \u0433\u0435\u043d\u0435\u0440\u0430\u0446\u0438\u0438 \u0447\u0442\u043e-\u0442\u043e \u043f\u043e\u0448\u043b\u043e \u043d\u0435 \u0442\u0430\u043a \u0438 \u0438\u043c\u0435\u0435\u043c \u043d\u0430\u043f\u043e\u043b\u043e\u0432\u0438\u043d\u0443 \u0433\u043e\u0442\u043e\u0432\u044b\u0439 \u043e\u0431\u044a\u0435\u043a\u0442, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043d\u0435 \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c \u0432\u0438\u0437\u0443\u0430\u043b\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u043d \u0440\u0430\u0437\u0440\u0430\u0431\u0430\u0442\u044b\u0432\u0430\u0435\u043c\u043e\u0439 CAD \u0441\u0438\u0441\u0442\u0435\u043c\u043e\u0439. \u0427\u0442\u043e \u0434\u0435\u043b\u0430\u0442\u044c? \u041a\u0430\u043a \u043b\u043e\u043a\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u0442\u044c \u043c\u0435\u0441\u0442\u043e \u0438 \u043c\u043e\u043c\u0435\u043d\u0442 \u043e\u0448\u0438\u0431\u043a\u0438? \u0410\u043d\u0430\u043b\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0433\u043b\u0430\u0437\u0430\u043c\u0438 \u0442\u044b\u0441\u044f\u0447\u0438 xyz \u043a\u043e\u043e\u0440\u0434\u0438\u043d\u0430\u0442 \u043f\u0440\u043e\u043c\u0435\u0436\u0443\u0442\u043e\u0447\u043d\u044b\u0445 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u043e\u0432 \u0438 \u0432\u0441\u043f\u043e\u043c\u043e\u0433\u0430\u0442\u0435\u043b\u044c\u043d\u044b\u0445 \u043e\u0431\u044a\u0435\u043a\u0442\u043e\u0432 \u043d\u0430 \u043c\u043e\u043c\u0435\u043d\u0442 \u0432\u044b\u0434\u0430\u0447\u0438 \u0438\u0441\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u044f? \u0418\u043b\u0438 \u0445\u0443\u0436\u0435, \u0435\u0441\u043b\u0438 \u043e\u0442\u043a\u043b\u043e\u043d\u0435\u043d\u0438\u044f \u0436\u0435\u043b\u0430\u0435\u043c\u043e\u0433\u043e \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u0430 \u043e\u0442 \u0444\u0430\u043a\u0442\u0438\u0447\u0435\u0441\u043a\u043e\u0433\u043e \u043d\u0435\u0437\u043d\u0430\u0447\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0435, \u0442\u043e\u0433\u0434\u0430 \u0438 \u0432\u0441\u0435 \u0447\u0438\u0441\u043b\u0430 \u0432\u043d\u0435\u0448\u043d\u0435 \u0431\u0443\u0434\u0443\u0442 \u043a\u043e\u0440\u0440\u0435\u043a\u0442\u043d\u044b. \u0420\u0430\u0431\u043e\u0442\u0430\u044f \u0421++ \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0441\u0442\u043e\u043c \u0432 \u043e\u0431\u043b\u0430\u0441\u0442\u0438 3\u0414 \u043c\u043e\u0434\u0435\u043b\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u0438 \u043f\u043e\u0441\u0442\u0440\u043e\u0435\u043d\u0438\u044f \u0440\u0430\u0437\u043b\u0438\u0447\u043d\u044b\u0445 CAD\/\u0421\u0410\u041f\u0420 \u0441\u0438\u0441\u0442\u0435\u043c, \u044f \u0440\u0435\u0433\u0443\u043b\u044f\u0440\u043d\u043e \u0441\u0442\u0430\u043b\u043a\u0438\u0432\u0430\u043b\u0441\u044f \u0441 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u043e\u0439 \u0432\u0438\u0437\u0443\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438 \u0432\u0441\u043f\u043e\u043c\u043e\u0433\u0430\u0442\u0435\u043b\u044c\u043d\u044b\u0445\/\u043f\u0440\u043e\u043c\u0435\u0436\u0443\u0442\u043e\u0447\u043d\u044b\u0445 \u0441\u0443\u0449\u043d\u043e\u0441\u0442\u0435\u0439.\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0<\/p>\n<p>\u0421\u0444\u043e\u0440\u043c\u0438\u0440\u043e\u0432\u0430\u043b \u0441\u0435\u0431\u0435 \u0443\u043d\u0438\u0432\u0435\u0440\u0441\u0430\u043b\u044c\u043d\u044b\u0439 \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u0439 <a href=\"https:\/\/github.com\/KupchishinAB\/DumpSTL\" rel=\"noopener noreferrer nofollow\">DumpSTL<\/a>, \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u044e\u0449\u0438\u0439 \u0441 \u043c\u0438\u043d\u0438\u043c\u0430\u043b\u044c\u043d\u044b\u043c\u0438 \u0443\u0441\u0438\u043b\u0438\u044f\u043c\u0438, \u0432 \u043b\u044e\u0431\u043e\u043c C++ \u043f\u0440\u043e\u0435\u043a\u0442\u0435 \u0434\u0430\u043c\u043f\u0438\u0442\u044c \u0432 .stl \u0444\u0430\u0439\u043b\u044b \u043b\u044e\u0431\u044b\u0435 \u0432\u043d\u0443\u0442\u0440\u0435\u043d\u043d\u0438\u0435 \u043e\u0431\u044a\u0435\u043a\u0442\u044b \u0432 \u043f\u0440\u043e\u0435\u043a\u0442\u0435. <\/p>\n<p>\u041f\u043e\u0447\u0435\u043c\u0443 \u0438\u043c\u0435\u043d\u043d\u043e .stl? \u0422\u0430\u043a \u0443\u0436 \u0438\u0441\u0442\u043e\u0440\u0438\u0447\u0435\u0441\u043a\u0438 \u0441\u043b\u043e\u0436\u0438\u043b\u043e\u0441\u044c. \u041c\u043d\u043e\u0433\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043b \u0447\u043f\u0443 \u0444\u0440\u0435\u0437\u0435\u0440\u0430 \u0438 3\u0434 \u043f\u0440\u0438\u043d\u0442\u0435\u0440\u0430, \u0433\u0434\u0435 \u043e\u0441\u043d\u043e\u0432\u043d\u044b\u043c \u0438 \u043f\u0440\u043e\u0441\u0442\u0435\u0439\u0448\u0438\u043c \u0444\u043e\u0440\u043c\u0430\u0442\u043e\u043c \u043c\u043e\u0434\u0435\u043b\u0435\u0439 \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f .stl.<\/p>\n<p>\u0421\u0443\u0442\u044c \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f \u0441\u0432\u043e\u0434\u0438\u0442\u0441\u044f \u043a \u043e\u0434\u043d\u043e\u043a\u0440\u0430\u0442\u043d\u043e\u0439 \u0430\u0434\u0430\u043f\u0442\u0430\u0446\u0438\u0438 \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442\u0430 \u043f\u043e\u0434 \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u044b \u0434\u0430\u043d\u043d\u044b\u0445 \u043a\u043e\u043d\u043a\u0440\u0435\u0442\u043d\u043e\u0433\u043e \u043f\u0440\u043e\u0435\u043a\u0442\u0430, \u0437\u0430\u0442\u0435\u043c:<\/p>\n<p>1) \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0438\u0442\u044c \u043e\u0434\u0438\u043d DumpSTL.h;<br \/>2) \u0432\u044b\u0437\u0432\u0430\u0442\u044c \u043a \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u044b\u043c \u0434\u0430\u043d\u043d\u044b\u043c \u043c\u0435\u0442\u043e\u0434 <code>DUMP::save(...)<\/code>;<br \/>3) \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u043d\u0430 \u0432\u044b\u0445\u043e\u0434\u0435 \u043c\u043d\u043e\u0436\u0435\u0441\u0442\u0432\u043e \u0444\u0430\u0439\u043b\u043e\u0432 \u0441 3\u0434 \u043c\u043e\u0434\u0435\u043b\u044f\u043c\u0438, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043c\u043e\u0436\u043d\u043e \u043e\u0442\u043a\u0440\u044b\u0442\u044c \u0432 \u043b\u044e\u0431\u043e\u043c 3\u0434 \u0440\u0435\u0434\u0430\u043a\u0442\u043e\u0440\u0435.<\/p>\n<h3>\u041f\u0440\u0438\u043c\u0435\u0440\u044b \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f<\/h3>\n<p><em>\u041f\u0440\u0438\u043c\u0435\u0440 1:<\/em> \u041f\u043e \u0445\u043e\u0434\u0443 \u0433\u0435\u043d\u0435\u0440\u0430\u0446\u0438\u0438 3\u0434 \u043c\u043e\u0434\u0435\u043b\u0438 \u043c\u0443\u0437\u044b\u043a\u0430\u043b\u044c\u043d\u043e\u0433\u043e \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442\u0430 &#8212; \u0444\u043b\u0435\u0439\u0442\u044b \u041f\u0430\u043d\u0430 \u00a0<\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/462\/041\/605\/4620416054cd57dd8327d10f073a8ac1.png\" alt=\"3\u0434 \u043c\u043e\u0434\u0435\u043b\u044c \u043f\u0430\u043d\u0444\u043b\u0435\u0439\u0442\u044b\" title=\"3\u0434 \u043c\u043e\u0434\u0435\u043b\u044c \u043f\u0430\u043d\u0444\u043b\u0435\u0439\u0442\u044b\" width=\"1215\" height=\"670\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/462\/041\/605\/4620416054cd57dd8327d10f073a8ac1.png\"\/><figcaption>3\u0434 \u043c\u043e\u0434\u0435\u043b\u044c \u043f\u0430\u043d\u0444\u043b\u0435\u0439\u0442\u044b<\/figcaption><\/figure>\n<p>\u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044e\u0442\u0441\u044f \u0430\u043d\u0430\u043b\u0438\u0442\u0438\u0447\u0435\u0441\u043a\u0438\u0435 \u0444\u0443\u043d\u043a\u0446\u0438\u0438 \u0434\u043b\u044f \u043f\u0440\u043e\u0435\u0446\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u0442\u043e\u0447\u0435\u043a \u043f\u043e \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u043d\u044b\u043c \u043f\u0440\u0430\u0432\u0438\u043b\u0430\u043c, r\u043e\u0442\u043e\u0440\u044b\u0435 \u043c\u043e\u0433\u0443\u0442 \u0431\u044b\u0442\u044c \u0432\u0438\u0437\u0443\u0430\u043b\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u043d\u044b \u043f\u043e\u0432\u0435\u0440\u0445\u043d\u043e\u0441\u0442\u044f\u043c\u0438 \u0434\u043b\u044f \u043b\u0443\u0447\u0448\u0435\u0433\u043e \u043f\u043e\u043d\u0438\u043c\u0430\u043d\u0438\u044f \u043e\u0431\u043b\u0430\u0441\u0442\u0435\u0439 \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u0438\u044f \u0438 \u0438\u0442\u043e\u0433\u043e\u0432\u043e\u0439 \u0433\u0435\u043e\u043c\u0435\u0442\u0440\u0438\u0438.<\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/60d\/c9e\/1bb\/60dc9e1bb3488baf0f6f986d94a1895c.png\" alt=\"\u0412\u0438\u0437\u0443\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044f \u0432\u0441\u043f\u043e\u043c\u043e\u0433\u0430\u0442\u0435\u043b\u044c\u043d\u044b\u0445 \u043f\u043e\u0432\u0435\u0440\u0445\u043d\u043e\u0441\u0442\u0435\u0439\" title=\"\u0412\u0438\u0437\u0443\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044f \u0432\u0441\u043f\u043e\u043c\u043e\u0433\u0430\u0442\u0435\u043b\u044c\u043d\u044b\u0445 \u043f\u043e\u0432\u0435\u0440\u0445\u043d\u043e\u0441\u0442\u0435\u0439\" width=\"1483\" height=\"720\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/60d\/c9e\/1bb\/60dc9e1bb3488baf0f6f986d94a1895c.png\"\/><figcaption>\u0412\u0438\u0437\u0443\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044f \u0432\u0441\u043f\u043e\u043c\u043e\u0433\u0430\u0442\u0435\u043b\u044c\u043d\u044b\u0445 \u043f\u043e\u0432\u0435\u0440\u0445\u043d\u043e\u0441\u0442\u0435\u0439<\/figcaption><\/figure>\n<p><em>\u041f\u0440\u0438\u043c\u0435\u0440 2:<\/em> \u0412\u0438\u0437\u0443\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044f \u0444\u043e\u0440\u043c\u044b \u043c\u0430\u0442\u0435\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438\u0445 \u0444\u0443\u043d\u043a\u0446\u0438\u0439 \u2013 \u0441\u043f\u043b\u0430\u0439\u043d\u043e\u0432, \u043f\u043e \u043a\u043e\u0442\u043e\u0440\u044b\u043c \u043d\u0430\u0442\u044f\u0433\u0438\u0432\u0430\u044e\u0442\u0441\u044f \u043d\u0435\u043a\u0430\u044f \u0432\u043d\u0443\u0442\u0440\u0435\u043d\u043d\u044f\u044f \u043f\u043e\u0432\u0435\u0440\u0445\u043d\u043e\u0441\u0442\u044c \u0438 \u0444\u043e\u0440\u043c\u0438\u0440\u0443\u0435\u0442\u0441\u044f \u0433\u0435\u043e\u043c\u0435\u0442\u0440\u0438\u044f \u0432\u0445\u043e\u0434\u043d\u043e\u0433\u043e \u043e\u0442\u0432\u0435\u0440\u0441\u0442\u0438\u044f (\u044d\u0442\u043e \u043d\u0435 \u043f\u0440\u043e\u0441\u0442\u043e \u043a\u0440\u0443\u0433 \u0438 \u0446\u0438\u043b\u0438\u043d\u0434\u0440, \u043f\u043e\u0441\u0442\u0430\u0440\u0430\u043b\u0441\u044f \u043f\u043e\u043a\u0430\u0437\u0430\u0442\u044c \u0441\u0438\u043d\u0438\u043c \u0438 \u043a\u0440\u0430\u0441\u043d\u044b\u043c \u0433\u0438\u043f\u0435\u0440\u0442\u0440\u043e\u0444\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0439 \u0438\u0437\u0433\u0438\u0431). <\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/12e\/93d\/b4c\/12e93db4c1d995a3d2592dc1c5d7eb61.png\" alt=\"\u0418\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435 \u0441\u043f\u043b\u0430\u0439\u043d\u043e\u0432\u044b\u0445 \u043a\u0440\u0438\u0432\u044b\u0445\" title=\"\u0418\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435 \u0441\u043f\u043b\u0430\u0439\u043d\u043e\u0432\u044b\u0445 \u043a\u0440\u0438\u0432\u044b\u0445\" width=\"1419\" height=\"791\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/12e\/93d\/b4c\/12e93db4c1d995a3d2592dc1c5d7eb61.png\"\/><figcaption>\u0418\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435 \u0441\u043f\u043b\u0430\u0439\u043d\u043e\u0432\u044b\u0445 \u043a\u0440\u0438\u0432\u044b\u0445<\/figcaption><\/figure>\n<p>\u041f\u043e\u043b\u0443\u0447\u0430\u0435\u043c\u044b\u0435 \u043f\u0440\u0438 \u044d\u0442\u043e\u043c \u0433\u0440\u0430\u0444\u0438\u043a\u0438 \u0444\u0443\u043d\u043a\u0446\u0438\u0439 \u0441\u043f\u043b\u0430\u0439\u043d\u043e\u0432 \u0432 \u043f\u043b\u043e\u0441\u043a\u043e\u0441\u0442\u0438 XY:<\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/e54\/643\/61c\/e5464361cd377bf437ee6eda34382b13.png\" alt=\"\u041a\u0440\u0438\u0432\u044b\u0435 - \u0441\u043f\u043b\u0430\u0439\u043d\u044b \u0432 \u043f\u043b\u043e\u0441\u043a\u043e\u0441\u0442\u0438 XY\" title=\"\u041a\u0440\u0438\u0432\u044b\u0435 - \u0441\u043f\u043b\u0430\u0439\u043d\u044b \u0432 \u043f\u043b\u043e\u0441\u043a\u043e\u0441\u0442\u0438 XY\" width=\"975\" height=\"495\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/e54\/643\/61c\/e5464361cd377bf437ee6eda34382b13.png\"\/><figcaption>\u041a\u0440\u0438\u0432\u044b\u0435 &#8212; \u0441\u043f\u043b\u0430\u0439\u043d\u044b \u0432 \u043f\u043b\u043e\u0441\u043a\u043e\u0441\u0442\u0438 XY<\/figcaption><\/figure>\n<p><em>\u041f\u0440\u0438\u043c\u0435\u0440 3:<\/em> \u041e\u0431\u043e\u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u043e\u0440\u0438\u0435\u043d\u0442\u0430\u0446\u0438\u0438 \u043a\u0440\u0438\u0432\u044b\u0445 \u0432 \u043f\u0440\u043e\u0441\u0442\u0440\u0430\u043d\u0441\u0442\u0432\u0435, \u0447\u0442\u043e \u0431\u044b \u043f\u043e\u043d\u044f\u0442\u044c \u0433\u0434\u0435 \u043d\u0430\u0447\u0430\u043b\u043e, \u0430 \u0433\u0434\u0435 \u043a\u043e\u043d\u0435\u0446. <\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/017\/2e3\/593\/0172e3593242a1cc4185ab973040f056.png\" alt=\"\u041e\u0442\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u0435 \u043e\u0440\u0438\u0435\u043d\u0442\u0430\u0446\u0438\u0438 UV \u043f\u043e\u0432\u0435\u0440\u0445\u043d\u043e\u0441\u0442\u0438\" title=\"\u041e\u0442\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u0435 \u043e\u0440\u0438\u0435\u043d\u0442\u0430\u0446\u0438\u0438 UV \u043f\u043e\u0432\u0435\u0440\u0445\u043d\u043e\u0441\u0442\u0438\" width=\"1193\" height=\"799\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/017\/2e3\/593\/0172e3593242a1cc4185ab973040f056.png\"\/><figcaption>\u041e\u0442\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u0435 \u043e\u0440\u0438\u0435\u043d\u0442\u0430\u0446\u0438\u0438 UV \u043f\u043e\u0432\u0435\u0440\u0445\u043d\u043e\u0441\u0442\u0438<\/figcaption><\/figure>\n<h3>\u0410\u0434\u0430\u043f\u0442\u0430\u0446\u0438\u044f \u043f\u043e\u0434 \u043f\u0440\u043e\u0435\u043a\u0442 \/ \u0433\u0435\u043e\u043c\u0435\u0442\u0440\u0438\u0447\u0435\u0441\u043a\u043e\u0435 \u044f\u0434\u0440\u043e<\/h3>\n<p>\u041f\u043e\u043a\u0430\u0436\u0443 \u043d\u0430 \u043f\u0440\u0438\u043c\u0435\u0440\u0435 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0438 <a href=\"https:\/\/github.com\/MeshInspector\/MeshLib\" rel=\"noopener noreferrer nofollow\">MeshInspector<\/a>.<\/p>\n<p>1) \u0423\u043a\u0430\u0437\u0430\u0442\u044c \u043f\u0443\u0442\u044c \u043a \u043f\u0430\u043f\u043a\u0435, \u043a\u0443\u0434\u0430 \u0431\u0443\u0434\u0443\u0442 \u0434\u0430\u043c\u043f\u0438\u0442\u044c\u0441\u044f .stl \u0444\u0430\u0439\u043b\u044b \u0432 \u0433\u043b\u043e\u0431\u0430\u043b\u044c\u043d\u043e\u0439 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u043e\u0439.<code>std::string_view folderSTL = \"C:\\\\Repos\\\\STL\\\\\"<\/code><\/p>\n<p>2) \u041f\u043e\u0434\u043a\u043b\u044e\u0447\u0438\u0442\u044c include \u0432 DumpSTL.h \u0441 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u044b\u043c\u0438 \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0430\u043c\u0438, \u0432 \u0434\u0430\u043d\u043d\u043e\u043c \u043f\u0440\u0438\u043c\u0435\u0440\u0435 \u044d\u0442\u043e \u043f\u043e\u043b\u043e\u0436\u0438\u043c <code>MR::Mesh<\/code> (\u043f\u043e\u043b\u043d\u0430\u044f \u0441\u0435\u0442\u043a\u0430 3\u0434 \u0442\u0435\u043b\u043e), <code>MR::FaceBitSet<\/code> (\u043f\u043e\u0434\u043c\u043d\u043e\u0436\u0435\u0441\u0442\u0432\u043e \u0442\u0440\u0435\u0443\u0433\u043e\u043b\u044c\u043d\u0438\u043a\u043e\u0432 \u0441\u0435\u0442\u043a\u0438).<\/p>\n<p>3) \u041d\u0430\u043f\u0438\u0441\u0430\u0442\u044c \u0444\u0443\u043d\u043a\u0446\u0438\u0438 \u043f\u0440\u0435\u043e\u0431\u0440\u0430\u0437\u043e\u0432\u0430\u043d\u0438\u044f \u0432 <code>DUMP::Model3D<\/code> \u0434\u043b\u044f \u043a\u0430\u0436\u0434\u043e\u0433\u043e \u0442\u0430\u043a\u043e\u0433\u043e \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u0441\u043a\u043e\u0433\u043e \u0442\u0438\u043f\u0430 (\u0430\u0440\u0433\u0443\u043c\u0435\u043d\u0442 \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c \u043d\u0435 \u043e\u0434\u0438\u043d):<br \/>\u00a0\u00a0\u00a0 \u0430) <code>Model3D convert(const MR::Mesh&amp;, const MR::FaceBitSet&amp; );<\/code><br \/>\u00a0\u00a0\u00a0 \u0431) <code>Model3D convert(const MR::Mesh&amp; );<\/code><\/p>\n<p>4) \u041f\u043e \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e\u0441\u0442\u0438 \u043d\u0430\u043f\u0438\u0441\u0430\u0442\u044c \u043f\u0440\u0435\u043e\u0431\u0440\u0430\u0437\u043e\u0432\u0430\u043d\u0438\u044f \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u0441\u043a\u0438\u0445 \u0442\u0438\u043f\u043e\u0432 \u0432 \u043c\u043d\u043e\u0436\u0435\u0441\u0442\u0432\u043e \u0442\u043e\u0447\u0435\u043a <code>const std::vector&lt;Point3f>&amp; points<\/code>, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043c\u043e\u0433\u0443\u0442 \u0431\u044b\u0442\u044c \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u044b \u0434\u043b\u044f \u0434\u0430\u043c\u043f\u0430 \u0441 \u043e\u0441\u043e\u0431\u044b\u043c\u0438 \u043c\u043e\u0434\u0438\u0444\u0438\u043a\u0430\u0446\u0438\u044f\u043c\u0438:<br \/>\u00a0\u00a0\u00a0 a) <code>Model3D direction(const std::vector&lt;Point3f>&amp; points)<\/code> \u2013 \u043f\u043e\u0440\u043e\u0436\u0434\u0430\u0435\u0442 \u043f\u043e \u0443\u043f\u043e\u0440\u044f\u0434\u043e\u0447\u0435\u043d\u043d\u043e\u043c\u0443 \u043c\u043d\u043e\u0436\u0435\u0441\u0442\u0432\u0443 \u0442\u043e\u0447\u0435\u043a \u043e\u0440\u0438\u0435\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u0443\u044e \u0446\u0435\u043f\u043e\u0447\u043a\u0443 \u043a\u043e\u043d\u0443\u0441\u043e\u0432 (\u043f\u0438\u0440\u0430\u043c\u0438\u0434\u043e\u043a);<br \/>\u00a0\u00a0\u00a0 \u0431) <code>Model3D line(const std::vector&lt;Point3f>&amp; points)<\/code> \u2013 \u043f\u043e\u0440\u043e\u0436\u0434\u0430\u0435\u0442 \u043f\u043e \u0443\u043f\u043e\u0440\u044f\u0434\u043e\u0447\u0435\u043d\u043d\u043e\u043c\u0443 \u043c\u043d\u043e\u0436\u0435\u0441\u0442\u0432\u0443 \u0442\u043e\u0447\u0435\u043a \u043e\u0442\u0440\u0435\u0437\u043a\u0438;<br \/>\u00a0\u00a0\u00a0 \u0432) <code>Model3D sphere(const std::vector&lt;Point3f>&amp; points)<\/code> \u2013 \u043f\u043e\u0440\u043e\u0436\u0434\u0430\u0435\u0442 \u043f\u043e \u043c\u043d\u043e\u0436\u0435\u0441\u0442\u0432\u0443 \u0442\u043e\u0447\u0435\u043a \u043d\u0438\u0437\u043a\u043e\u043f\u043e\u043b\u0438\u0433\u043e\u043d\u0430\u043b\u044c\u043d\u044b\u0435 \u0441\u0444\u0435\u0440\u044b.<\/p>\n<h4>\u041f\u0440\u0438\u043c\u0435\u0440 \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438 convert \u043c\u0435\u0442\u043e\u0434\u043e\u0432<\/h4>\n<p><code>DUMP::Point3f convert( const MR::Vector3f&amp; point )<br \/>{<br \/>\u00a0\u00a0\u00a0 return { point.x, point.y, point.z };<br \/>}<\/code><\/p>\n<p><code>DUMP::Model3D convert( const MR::Mesh&amp; mesh, const MR::FaceBitSet&amp; faces)<br \/>{<br \/>\u00a0\u00a0\u00a0 DUMP::Model3D res;<br \/>\u00a0\u00a0\u00a0 for ( auto f : faces )<br \/>\u00a0\u00a0\u00a0 {<br \/>\u00a0\u00a0\u00a0 \u00a0\u00a0\u00a0 MR::Vector3f a, b, c;<br \/>\u00a0\u00a0\u00a0 \u00a0\u00a0\u00a0 if ( mesh.topology.hasFace( f ) )<br \/>\u00a0\u00a0\u00a0 \u00a0\u00a0\u00a0 {<br \/>\u00a0\u00a0\u00a0 \u00a0\u00a0\u00a0 \u00a0\u00a0\u00a0 mesh.getTriPoints( f, a, b, c );<br \/>\u00a0\u00a0\u00a0 \u00a0\u00a0\u00a0 \u00a0\u00a0\u00a0 res.addTriangle( convert(a), convert(b), convert(c));<br \/>\u00a0\u00a0\u00a0 \u00a0\u00a0\u00a0 }<br \/>\u00a0\u00a0\u00a0 }<br \/>\u00a0\u00a0\u00a0 return res;<br \/>}<\/code><\/p>\n<p><code>DUMP::Model3D convert( const MR::Mesh&amp; mesh )<br \/>{<br \/>\u00a0\u00a0\u00a0 return convert( mesh, mesh.topology.getValidFaces() );<br \/>}<\/code><\/p>\n<h4>\u041a\u0430\u043a \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c\u0441\u044f<\/h4>\n<p>\u041f\u0440\u0438\u043c\u0435\u043d\u044f\u0442\u044c \u043c\u0435\u0442\u043e\u0434\u044b \u043d\u0438\u0436\u0435 \u043a \u0441\u0442\u0443\u043a\u0442\u0443\u0440\u0430\u043c \u0434\u0430\u043d\u043d\u044b\u043c \u043f\u0440\u043e\u0435\u043a\u0442\u0430 \u0438 \u043f\u043e\u043b\u0443\u0447\u0430\u0442\u044c \u0433\u0435\u043d\u0435\u0440\u0438\u0440\u0443\u0435\u043c\u044b\u0435 3\u0434 \u043c\u043e\u0434\u0435\u043b\u0438:<\/p>\n<p>1) <code>void save(std::string_view fileName, Args... args)<\/code> \u2013 \u0441\u043e\u0445\u0440\u0430\u043d\u044f\u0435\u043c \u043e\u0434\u0438\u043d \u0444\u0430\u0439\u043b, \u0433\u0434\u0435 <code>fileName<\/code>\u2013 \u0442\u043e\u043b\u044c\u043a\u043e \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u0435 \u0444\u0430\u0439\u043b\u0430 (\u043d\u0443\u0436\u043d\u0430\u044f \u043f\u0430\u043f\u043a\u0430 \u0432 <code>folderSTL<\/code>), <code>args<\/code>\u2013 \u043f\u0435\u0440\u0435\u0434\u0430\u0435\u043c \u043d\u0430\u043f\u0440\u044f\u043c\u0443\u044e \u043d\u0443\u0436\u043d\u044b\u0435 \u043d\u0430\u043c \u043e\u0431\u044a\u0435\u043a\u0442\u044b<code>save(\u201cmesh\u201d, my_mesh)<\/code>, <code>save(\u201cmesh_part\u201d, my_mesh, my_faceBitSet)<\/code><\/p>\n<p>2) <code>void saveInc(std::string_view fileName, Args... args)<\/code> \u2013 \u0442\u043e \u0436\u0435 \u0441\u0430\u043c\u043e\u0435 \u0447\u0442\u043e \u0438 <code>save<\/code>, \u0441 \u0442\u043e\u0439 \u043b\u0438\u0448\u044c \u0440\u0430\u0437\u043d\u0438\u0446\u0435\u0439, \u0447\u0442\u043e \u0441\u043e\u0445\u0440\u0430\u043d\u044f\u0435\u0442 \u0432\u0441\u0435\u0433\u0434\u0430 \u0432 \u043d\u043e\u0432\u044b\u0439 \u0444\u0430\u0439\u043b. \u0415\u0441\u043b\u0438 \u0444\u0430\u0439\u043b \u0441 \u0443\u043a\u0430\u0437\u0430\u043d\u043d\u044b\u043c \u0438\u043c\u0435\u043d\u0435\u043c \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u0435\u0442, \u043f\u0440\u0438\u043f\u0438\u0441\u044b\u0432\u0430\u0435\u0442 \u0446\u0438\u0444\u0440\u0443-\u0441\u0447\u0435\u0442\u0447\u0438\u043a \u0435\u0449\u0435 \u043d\u0435 \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u044e\u0449\u0435\u0433\u043e \u0444\u0430\u0439\u043b\u0430. \u0422\u0430\u043a \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440 \u0435\u0441\u043b\u0438 \u043f\u0440\u043e\u0446\u0435\u0441\u0441 \u0438\u0442\u0435\u0440\u0430\u0446\u0438\u043e\u043d\u043d\u044b\u0439, \u0438 \u043d\u0430 135 \u0438\u0442\u0435\u0440\u0430\u0446\u0438\u0438 \u0432\u0441\u0435 \u0432\u0437\u0440\u044b\u0432\u0430\u0435\u0442\u0441\u044f, \u0442\u043e \u0435\u0441\u0442\u044c \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u0443\u0432\u0438\u0434\u0435\u0442\u044c \u044d\u0432\u043e\u043b\u044e\u0446\u0438\u044e 3\u0434 \u043e\u0431\u044a\u0435\u043a\u0442\u0430 \u0432\u043e \u0432\u0441\u0435\u0445 135 \u0438\u0442\u0435\u0440\u0430\u0446\u0438\u044f\u0445, \u0438 \u0443\u0432\u0438\u0434\u0435\u0442\u044c, \u0447\u0442\u043e \u0431\u044b\u043b\u043e \u043d\u0435\u043f\u043e\u0441\u0440\u0435\u0434\u0441\u0442\u0432\u0435\u043d\u043d\u043e \u043f\u0435\u0440\u0435\u0434 \u043f\u0430\u0434\u0435\u043d\u0438\u0435\u043c \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f.<\/p>\n<p>3) \u0418\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u043c\u043e\u0434\u0438\u0444\u0438\u043a\u0430\u0442\u043e\u0440\u044b <code>direction<\/code>\/<code>line<\/code>\/<code>sphere<\/code>: <code>save(\u201cmesh\u201d, direction(mesh))<\/code>, <code>save(\u201cmesh_part\u201d, direction(my_mesh, my_faceBitSet))<\/code><\/p>\n<p>4) \u0421\u043e\u0437\u0434\u043e\u0432\u0430\u0442\u044c \u043d\u0430\u043f\u0440\u044f\u043c\u0443\u044e \u043e\u0431\u044a\u0435\u043a\u0442\u044b <code>Model3D<\/code>, \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044f \u043d\u0430\u043f\u0440\u044f\u043c\u0443\u044e \u0435\u0433\u043e API <code>addTriangle<\/code>\/<code>addPoint<\/code>\/<code>addEdge<\/code>\/<code>addCone<\/code>\/<code>addQuad<\/code>\/<code>addSphere<\/code> \u0438 \u0434\u0430\u043c\u043f\u0438\u0442\u044c \u0435\u0433\u043e \u0442\u0430\u043a \u0436\u0435 <code>save(\u201cmodel3D\u201d, my_Model3D)<\/code><\/p>\n<h4>Hello world<\/h4>\n<p>\u041f\u0440\u0438\u043c\u0435\u0440 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f \u0438 \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0435\u043d\u043d\u043e \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u043c\u044b\u0439 &#171;hello world&#187; \u043c\u043e\u0436\u043d\u043e \u043d\u0430\u0439\u0442\u0438 \u0432 \u0441\u043e\u0441\u0435\u0434\u043d\u0435\u043c \u043f\u0440\u043e\u0435\u043a\u0442\u0435 \u0432 \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0438 <a href=\"https:\/\/github.com\/KupchishinAB\/DumpSTL\/tree\/main\/example\" rel=\"noopener noreferrer nofollow\">example<\/a>. \u041f\u0440\u0438 \u0437\u0430\u043f\u0443\u0441\u043a\u0435 \u0438\u0437 \u043a\u043e\u0440\u043e\u0431\u043a\u0438 \u0434\u043e\u043b\u0436\u043d\u044b \u043f\u043e\u043b\u0443\u0447\u0430\u0442\u044c\u0441\u044f \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0435 \u043f\u0440\u0438\u043c\u0438\u0442\u0438\u0432\u044b:<\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/770\/d77\/ae9\/770d77ae9d34df65cca48d322198aa6a.png\" alt=\"\u041a\u0443\u0431\u0438\u043a, \u0442\u0435\u0442\u0440\u0430\u044d\u0434\u0440, \u043d\u0435\u043c\u043d\u043e\u0433\u043e \u043a\u043e\u043d\u0443\u0441\u043e\u0432, \u0441\u0444\u0435\u0440\u044b...\" title=\"\u041a\u0443\u0431\u0438\u043a, \u0442\u0435\u0442\u0440\u0430\u044d\u0434\u0440, \u043d\u0435\u043c\u043d\u043e\u0433\u043e \u043a\u043e\u043d\u0443\u0441\u043e\u0432, \u0441\u0444\u0435\u0440\u044b...\" width=\"537\" height=\"417\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/770\/d77\/ae9\/770d77ae9d34df65cca48d322198aa6a.png\"\/><figcaption>\u041a\u0443\u0431\u0438\u043a, \u0442\u0435\u0442\u0440\u0430\u044d\u0434\u0440, \u043d\u0435\u043c\u043d\u043e\u0433\u043e \u043a\u043e\u043d\u0443\u0441\u043e\u0432, \u0441\u0444\u0435\u0440\u044b&#8230;<\/figcaption><\/figure>\n<p>\u0418 \u0432\u043e\u0442 \u0442\u0430\u043a\u043e\u0439 \u043d\u0430\u0431\u043e\u0440 \u0444\u0430\u0439\u043b\u043e\u0432 \u0441 3\u0434 \u043c\u043e\u0434\u0435\u043b\u044f\u043c\u0438: dumpStlExample_cube.stl, dumpStlExample_directionChain_0.stl, dumpStlExample_directionChain_1.stl, dumpStlExample_directionChain_2.stl, dumpStlExample_lineChain.stl, dumpStlExample_points.stl, dumpStlExample_spheres.stl, dumpStlExample_tetraedr.stl<\/p>\n<h3>\u041a\u0430\u043a \u0443\u0441\u0442\u0440\u043e\u0435\u043d\u0430 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0430<\/h3>\n<p>1) \u041f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u0442 \u0438\u0437 \u0441\u0435\u0431\u044f \u043e\u0434\u0438\u043d \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0430\u0435\u043c\u044b\u0439 header only DumpSTL.h <a href=\"https:\/\/github.com\/KupchishinAB\/DumpSTL\" rel=\"noopener noreferrer nofollow\">\u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0439<\/a> <br \/>\u00a0\u00a0\u00a0 \u0430) \u0412 \u043d\u0435\u043c \u043e\u043f\u0438\u0441\u0430\u043d\u044b \u0442\u0440\u0438\u0432\u0438\u0430\u043b\u044c\u043d\u044b\u0435 \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u044b <code>Point3<\/code>, <code>Triangle<\/code>, <code>Model3D<\/code> \u0441 \u0441\u043e\u043f\u0443\u0442\u0441\u0442\u0432\u0443\u044e\u0449\u0438\u043c\u0438 \u043c\u0435\u0442\u043e\u0434\u0430\u043c\u0438<br \/>\u00a0\u00a0\u00a0 \u0431) \u0424\u0443\u043d\u043a\u0446\u0438\u0438 \u0434\u043b\u044f \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f <code>save<\/code>, <code>saveInc<\/code> (incremental)<br \/>\u00a0\u00a0\u00a0 \u0432) \u041c\u043e\u0434\u0438\u0444\u0438\u043a\u0430\u0442\u043e\u0440\u044b: <code>direction<\/code>, <code>sphere<\/code>, <code>line<\/code><\/p>\n<p>2) \u041f\u0440\u043e\u0435\u043a\u0442 \u043f\u043e\u0434 \u0441\u0442\u0443\u0434\u0438\u044e \u0441 \u043f\u0440\u0438\u043c\u0435\u0440\u043e\u043c \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f \u0438 \u0438\u0437\u0432\u0435\u0441\u0442\u043d\u044b\u043c \u043e\u0436\u0438\u0434\u0430\u0435\u043c\u044b\u043c \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u043e\u043c example.sln <\/p>\n<p>3) \u0421\u043a\u0440\u0438\u043f\u0442 clear_stl.bat \u0434\u043b\u044f \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u043e\u0439 \u0447\u0438\u0441\u0442\u043a\u0438 \u043f\u0430\u043f\u043a\u0438 \u043e\u0442 \u043d\u0430\u043a\u043e\u043f\u0438\u0432\u0448\u0438\u0445\u0441\u044f .stl \u0444\u0430\u0439\u043b\u043e\u0432 (\u0438\u0445 \u043c\u043e\u0433\u0443\u0442 \u0431\u044b\u0442\u044c \u0441\u043e\u0442\u043d\u0438)<\/p>\n<p>4) \u0421\u043a\u0440\u0438\u043f\u0442 run_blender.bat + blenderScrypt.py \u0434\u043b\u044f \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u043e\u0433\u043e \u043e\u0442\u043a\u0440\u044b\u0442\u0438\u044f \u0432 3\u0434 \u0440\u0435\u0434\u0430\u043a\u0442\u043e\u0440\u0435 blender \u0432\u0441\u0435\u0445 \u0444\u0430\u0439\u043b\u043e\u0432 \u0432 \u043f\u0430\u043f\u043a\u0435 \u043f\u043e \u043c\u0430\u0441\u043a\u0435 *.stl \u0438 \u0444\u043e\u0442\u043e\u0433\u0440\u0430\u0444\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u043a\u0430\u0436\u0434\u043e\u0433\u043e \u0441 4\u0435\u0445 \u0440\u0430\u043a\u0443\u0440\u0441\u043e\u0432 \u0438 \u0441\u043e\u0445\u0440\u0430\u043d\u0435\u043d\u0438\u0435\u043c \u0444\u043e\u0442\u043e \u0432 \u044d\u0442\u0443 \u0436\u0435 \u043f\u0430\u043f\u043a\u0443 \u0441 \u043f\u0440\u0438\u043f\u0438\u0441\u043a\u043e\u0439 _left.jpg, _right.jpg, _top.jpg, _bottom.jpg. \u041c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c \u043f\u043e\u043b\u0435\u0437\u043d\u043e \u043f\u0440\u0438 \u043f\u043e\u043b\u0443\u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u043e\u043c \u043f\u0440\u043e\u0433\u043e\u043d\u0435 \u0442\u0435\u0441\u0442\u043e\u0432 \u0438 \u043e\u0442\u043d\u043e\u0441\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u0431\u044b\u0441\u0442\u0440\u043e\u0439 \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0438 \u0433\u043b\u0430\u0437\u0430\u043c\u0438, \u0447\u0442\u043e \u043d\u0438\u0447\u0435\u0433\u043e \u043d\u0435 \u043f\u043e\u043f\u043e\u0440\u0442\u0438\u043b\u043e\u0441\u044c \u043f\u0443\u0442\u0435\u043c \u0431\u044b\u0441\u0442\u0440\u043e\u0433\u043e \u043f\u0440\u043e\u043b\u0438\u0441\u0442\u044b\u0432\u0430\u043d\u0438\u044f \u0441\u043a\u0440\u0438\u043d\u0448\u043e\u0442\u043e\u0432.<br \/> \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 <\/p>\n<\/p>\n<\/div>\n<\/div>\n<\/div>\n<div class=\"v-portal\" style=\"display:none;\"><\/div>\n<\/div>\n<p> <!----> <!----><br \/> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"https:\/\/habr.com\/ru\/post\/683124\/\"> https:\/\/habr.com\/ru\/post\/683124\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<div><\/div>\n<div id=\"post-content-body\">\n<div>\n<div class=\"article-formatted-body article-formatted-body article-formatted-body_version-2\">\n<div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\">\n<p>\u0413\u0435\u043d\u0435\u0440\u0430\u0446\u0438\u044f 3\u0434 \u043e\u0431\u044a\u0435\u043a\u0442\u0430 &#8212; \u043a\u0430\u043a \u043f\u0440\u0430\u0432\u0438\u043b\u043e, \u043c\u043d\u043e\u0433\u043e\u044d\u0442\u0430\u043f\u043d\u044b\u0439 \u043f\u0440\u043e\u0446\u0435\u0441\u0441 (\u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440 \u0432 \u0431\u0443\u043b\u0435\u0432\u044b\u0445 \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u044f\u0445 \u0441\u043d\u0430\u0447\u0430\u043b\u0430 \u043f\u043e\u0438\u0441\u043a \u0433\u0440\u0430\u0444\u0430 \u043f\u0435\u0440\u0435\u0441\u0435\u0447\u0435\u043d\u0438\u0439, \u043d\u0430\u0445\u043e\u0436\u0434\u0435\u043d\u0438\u0435 \u0433\u0435\u043e\u043c\u0435\u0442\u0440\u0438\u0438 \u043a\u0440\u0438\u0432\u044b\u0445 \u043f\u0435\u0440\u0435\u0441\u0435\u0447\u0435\u043d\u0438\u044f \u0438 \u043f\u043e\u0441\u0442\u0440\u043e\u0435\u043d\u0438\u0435 \u0442\u043e\u043f\u043e\u043b\u043e\u0433\u0438\u0438 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0438\u0440\u0443\u044e\u0449\u0435\u0433\u043e \u0442\u0435\u043b\u0430). \u0417\u0430\u043a\u043e\u043d\u043e\u043c\u0435\u0440\u043d\u043e \u0432\u043e\u0437\u043d\u0438\u043a\u0430\u0435\u0442 \u0441\u043b\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u0441 \u0435\u0433\u043e \u043e\u0442\u043b\u0430\u0434\u043a\u043e\u0439. \u041f\u043e\u043b\u043e\u0436\u0438\u043c \u043f\u0440\u0438 \u0433\u0435\u043d\u0435\u0440\u0430\u0446\u0438\u0438 \u0447\u0442\u043e-\u0442\u043e \u043f\u043e\u0448\u043b\u043e \u043d\u0435 \u0442\u0430\u043a \u0438 \u0438\u043c\u0435\u0435\u043c \u043d\u0430\u043f\u043e\u043b\u043e\u0432\u0438\u043d\u0443 \u0433\u043e\u0442\u043e\u0432\u044b\u0439 \u043e\u0431\u044a\u0435\u043a\u0442, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043d\u0435 \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c \u0432\u0438\u0437\u0443\u0430\u043b\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u043d \u0440\u0430\u0437\u0440\u0430\u0431\u0430\u0442\u044b\u0432\u0430\u0435\u043c\u043e\u0439 CAD \u0441\u0438\u0441\u0442\u0435\u043c\u043e\u0439. \u0427\u0442\u043e \u0434\u0435\u043b\u0430\u0442\u044c? \u041a\u0430\u043a \u043b\u043e\u043a\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u0442\u044c \u043c\u0435\u0441\u0442\u043e \u0438 \u043c\u043e\u043c\u0435\u043d\u0442 \u043e\u0448\u0438\u0431\u043a\u0438? \u0410\u043d\u0430\u043b\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0433\u043b\u0430\u0437\u0430\u043c\u0438 \u0442\u044b\u0441\u044f\u0447\u0438 xyz \u043a\u043e\u043e\u0440\u0434\u0438\u043d\u0430\u0442 \u043f\u0440\u043e\u043c\u0435\u0436\u0443\u0442\u043e\u0447\u043d\u044b\u0445 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u043e\u0432 \u0438 \u0432\u0441\u043f\u043e\u043c\u043e\u0433\u0430\u0442\u0435\u043b\u044c\u043d\u044b\u0445 \u043e\u0431\u044a\u0435\u043a\u0442\u043e\u0432 \u043d\u0430 \u043c\u043e\u043c\u0435\u043d\u0442 \u0432\u044b\u0434\u0430\u0447\u0438 \u0438\u0441\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u044f? \u0418\u043b\u0438 \u0445\u0443\u0436\u0435, \u0435\u0441\u043b\u0438 \u043e\u0442\u043a\u043b\u043e\u043d\u0435\u043d\u0438\u044f \u0436\u0435\u043b\u0430\u0435\u043c\u043e\u0433\u043e \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u0430 \u043e\u0442 \u0444\u0430\u043a\u0442\u0438\u0447\u0435\u0441\u043a\u043e\u0433\u043e \u043d\u0435\u0437\u043d\u0430\u0447\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0435, \u0442\u043e\u0433\u0434\u0430 \u0438 \u0432\u0441\u0435 \u0447\u0438\u0441\u043b\u0430 \u0432\u043d\u0435\u0448\u043d\u0435 \u0431\u0443\u0434\u0443\u0442 \u043a\u043e\u0440\u0440\u0435\u043a\u0442\u043d\u044b. \u0420\u0430\u0431\u043e\u0442\u0430\u044f \u0421++ \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0441\u0442\u043e\u043c \u0432 \u043e\u0431\u043b\u0430\u0441\u0442\u0438 3\u0414 \u043c\u043e\u0434\u0435\u043b\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u0438 \u043f\u043e\u0441\u0442\u0440\u043e\u0435\u043d\u0438\u044f \u0440\u0430\u0437\u043b\u0438\u0447\u043d\u044b\u0445 CAD\/\u0421\u0410\u041f\u0420 \u0441\u0438\u0441\u0442\u0435\u043c, \u044f \u0440\u0435\u0433\u0443\u043b\u044f\u0440\u043d\u043e \u0441\u0442\u0430\u043b\u043a\u0438\u0432\u0430\u043b\u0441\u044f \u0441 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u043e\u0439 \u0432\u0438\u0437\u0443\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438 \u0432\u0441\u043f\u043e\u043c\u043e\u0433\u0430\u0442\u0435\u043b\u044c\u043d\u044b\u0445\/\u043f\u0440\u043e\u043c\u0435\u0436\u0443\u0442\u043e\u0447\u043d\u044b\u0445 \u0441\u0443\u0449\u043d\u043e\u0441\u0442\u0435\u0439.\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0<\/p>\n<p>\u0421\u0444\u043e\u0440\u043c\u0438\u0440\u043e\u0432\u0430\u043b \u0441\u0435\u0431\u0435 \u0443\u043d\u0438\u0432\u0435\u0440\u0441\u0430\u043b\u044c\u043d\u044b\u0439 \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u0439 <a href=\"https:\/\/github.com\/KupchishinAB\/DumpSTL\" rel=\"noopener noreferrer nofollow\">DumpSTL<\/a>, \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u044e\u0449\u0438\u0439 \u0441 \u043c\u0438\u043d\u0438\u043c\u0430\u043b\u044c\u043d\u044b\u043c\u0438 \u0443\u0441\u0438\u043b\u0438\u044f\u043c\u0438, \u0432 \u043b\u044e\u0431\u043e\u043c C++ \u043f\u0440\u043e\u0435\u043a\u0442\u0435 \u0434\u0430\u043c\u043f\u0438\u0442\u044c \u0432 .stl \u0444\u0430\u0439\u043b\u044b \u043b\u044e\u0431\u044b\u0435 \u0432\u043d\u0443\u0442\u0440\u0435\u043d\u043d\u0438\u0435 \u043e\u0431\u044a\u0435\u043a\u0442\u044b \u0432 \u043f\u0440\u043e\u0435\u043a\u0442\u0435. <\/p>\n<p>\u041f\u043e\u0447\u0435\u043c\u0443 \u0438\u043c\u0435\u043d\u043d\u043e .stl? \u0422\u0430\u043a \u0443\u0436 \u0438\u0441\u0442\u043e\u0440\u0438\u0447\u0435\u0441\u043a\u0438 \u0441\u043b\u043e\u0436\u0438\u043b\u043e\u0441\u044c. \u041c\u043d\u043e\u0433\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043b \u0447\u043f\u0443 \u0444\u0440\u0435\u0437\u0435\u0440\u0430 \u0438 3\u0434 \u043f\u0440\u0438\u043d\u0442\u0435\u0440\u0430, \u0433\u0434\u0435 \u043e\u0441\u043d\u043e\u0432\u043d\u044b\u043c \u0438 \u043f\u0440\u043e\u0441\u0442\u0435\u0439\u0448\u0438\u043c \u0444\u043e\u0440\u043c\u0430\u0442\u043e\u043c \u043c\u043e\u0434\u0435\u043b\u0435\u0439 \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f .stl.<\/p>\n<p>\u0421\u0443\u0442\u044c \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f \u0441\u0432\u043e\u0434\u0438\u0442\u0441\u044f \u043a \u043e\u0434\u043d\u043e\u043a\u0440\u0430\u0442\u043d\u043e\u0439 \u0430\u0434\u0430\u043f\u0442\u0430\u0446\u0438\u0438 \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442\u0430 \u043f\u043e\u0434 \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u044b \u0434\u0430\u043d\u043d\u044b\u0445 \u043a\u043e\u043d\u043a\u0440\u0435\u0442\u043d\u043e\u0433\u043e \u043f\u0440\u043e\u0435\u043a\u0442\u0430, \u0437\u0430\u0442\u0435\u043c:<\/p>\n<p>1) \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0438\u0442\u044c \u043e\u0434\u0438\u043d DumpSTL.h;<br \/>2) \u0432\u044b\u0437\u0432\u0430\u0442\u044c \u043a \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u044b\u043c \u0434\u0430\u043d\u043d\u044b\u043c \u043c\u0435\u0442\u043e\u0434 <code>DUMP::save(...)<\/code>;<br \/>3) \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u043d\u0430 \u0432\u044b\u0445\u043e\u0434\u0435 \u043c\u043d\u043e\u0436\u0435\u0441\u0442\u0432\u043e \u0444\u0430\u0439\u043b\u043e\u0432 \u0441 3\u0434 \u043c\u043e\u0434\u0435\u043b\u044f\u043c\u0438, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043c\u043e\u0436\u043d\u043e \u043e\u0442\u043a\u0440\u044b\u0442\u044c \u0432 \u043b\u044e\u0431\u043e\u043c 3\u0434 \u0440\u0435\u0434\u0430\u043a\u0442\u043e\u0440\u0435.<\/p>\n<h3>\u041f\u0440\u0438\u043c\u0435\u0440\u044b \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f<\/h3>\n<p><em>\u041f\u0440\u0438\u043c\u0435\u0440 1:<\/em> \u041f\u043e \u0445\u043e\u0434\u0443 \u0433\u0435\u043d\u0435\u0440\u0430\u0446\u0438\u0438 3\u0434 \u043c\u043e\u0434\u0435\u043b\u0438 \u043c\u0443\u0437\u044b\u043a\u0430\u043b\u044c\u043d\u043e\u0433\u043e \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442\u0430 &#8212; \u0444\u043b\u0435\u0439\u0442\u044b \u041f\u0430\u043d\u0430 \u00a0<\/p>\n<figure class=\"full-width\"><figcaption>3\u0434 \u043c\u043e\u0434\u0435\u043b\u044c \u043f\u0430\u043d\u0444\u043b\u0435\u0439\u0442\u044b<\/figcaption><\/figure>\n<p>\u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044e\u0442\u0441\u044f \u0430\u043d\u0430\u043b\u0438\u0442\u0438\u0447\u0435\u0441\u043a\u0438\u0435 \u0444\u0443\u043d\u043a\u0446\u0438\u0438 \u0434\u043b\u044f \u043f\u0440\u043e\u0435\u0446\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u0442\u043e\u0447\u0435\u043a \u043f\u043e \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u043d\u044b\u043c \u043f\u0440\u0430\u0432\u0438\u043b\u0430\u043c, r\u043e\u0442\u043e\u0440\u044b\u0435 \u043c\u043e\u0433\u0443\u0442 \u0431\u044b\u0442\u044c \u0432\u0438\u0437\u0443\u0430\u043b\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u043d\u044b \u043f\u043e\u0432\u0435\u0440\u0445\u043d\u043e\u0441\u0442\u044f\u043c\u0438 \u0434\u043b\u044f \u043b\u0443\u0447\u0448\u0435\u0433\u043e \u043f\u043e\u043d\u0438\u043c\u0430\u043d\u0438\u044f \u043e\u0431\u043b\u0430\u0441\u0442\u0435\u0439 \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u0438\u044f \u0438 \u0438\u0442\u043e\u0433\u043e\u0432\u043e\u0439 \u0433\u0435\u043e\u043c\u0435\u0442\u0440\u0438\u0438.<\/p>\n<figure class=\"full-width\"><figcaption>\u0412\u0438\u0437\u0443\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044f \u0432\u0441\u043f\u043e\u043c\u043e\u0433\u0430\u0442\u0435\u043b\u044c\u043d\u044b\u0445 \u043f\u043e\u0432\u0435\u0440\u0445\u043d\u043e\u0441\u0442\u0435\u0439<\/figcaption><\/figure>\n<p><em>\u041f\u0440\u0438\u043c\u0435\u0440 2:<\/em> \u0412\u0438\u0437\u0443\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044f \u0444\u043e\u0440\u043c\u044b \u043c\u0430\u0442\u0435\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438\u0445 \u0444\u0443\u043d\u043a\u0446\u0438\u0439 \u2013 \u0441\u043f\u043b\u0430\u0439\u043d\u043e\u0432, \u043f\u043e \u043a\u043e\u0442\u043e\u0440\u044b\u043c \u043d\u0430\u0442\u044f\u0433\u0438\u0432\u0430\u044e\u0442\u0441\u044f \u043d\u0435\u043a\u0430\u044f \u0432\u043d\u0443\u0442\u0440\u0435\u043d\u043d\u044f\u044f \u043f\u043e\u0432\u0435\u0440\u0445\u043d\u043e\u0441\u0442\u044c \u0438 \u0444\u043e\u0440\u043c\u0438\u0440\u0443\u0435\u0442\u0441\u044f \u0433\u0435\u043e\u043c\u0435\u0442\u0440\u0438\u044f \u0432\u0445\u043e\u0434\u043d\u043e\u0433\u043e \u043e\u0442\u0432\u0435\u0440\u0441\u0442\u0438\u044f (\u044d\u0442\u043e \u043d\u0435 \u043f\u0440\u043e\u0441\u0442\u043e \u043a\u0440\u0443\u0433 \u0438 \u0446\u0438\u043b\u0438\u043d\u0434\u0440, \u043f\u043e\u0441\u0442\u0430\u0440\u0430\u043b\u0441\u044f \u043f\u043e\u043a\u0430\u0437\u0430\u0442\u044c \u0441\u0438\u043d\u0438\u043c \u0438 \u043a\u0440\u0430\u0441\u043d\u044b\u043c \u0433\u0438\u043f\u0435\u0440\u0442\u0440\u043e\u0444\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0439 \u0438\u0437\u0433\u0438\u0431). <\/p>\n<figure class=\"full-width\"><figcaption>\u0418\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435 \u0441\u043f\u043b\u0430\u0439\u043d\u043e\u0432\u044b\u0445 \u043a\u0440\u0438\u0432\u044b\u0445<\/figcaption><\/figure>\n<p>\u041f\u043e\u043b\u0443\u0447\u0430\u0435\u043c\u044b\u0435 \u043f\u0440\u0438 \u044d\u0442\u043e\u043c \u0433\u0440\u0430\u0444\u0438\u043a\u0438 \u0444\u0443\u043d\u043a\u0446\u0438\u0439 \u0441\u043f\u043b\u0430\u0439\u043d\u043e\u0432 \u0432 \u043f\u043b\u043e\u0441\u043a\u043e\u0441\u0442\u0438 XY:<\/p>\n<figure class=\"full-width\"><figcaption>\u041a\u0440\u0438\u0432\u044b\u0435 &#8212; \u0441\u043f\u043b\u0430\u0439\u043d\u044b \u0432 \u043f\u043b\u043e\u0441\u043a\u043e\u0441\u0442\u0438 XY<\/figcaption><\/figure>\n<p><em>\u041f\u0440\u0438\u043c\u0435\u0440 3:<\/em> \u041e\u0431\u043e\u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u043e\u0440\u0438\u0435\u043d\u0442\u0430\u0446\u0438\u0438 \u043a\u0440\u0438\u0432\u044b\u0445 \u0432 \u043f\u0440\u043e\u0441\u0442\u0440\u0430\u043d\u0441\u0442\u0432\u0435, \u0447\u0442\u043e \u0431\u044b \u043f\u043e\u043d\u044f\u0442\u044c \u0433\u0434\u0435 \u043d\u0430\u0447\u0430\u043b\u043e, \u0430 \u0433\u0434\u0435 \u043a\u043e\u043d\u0435\u0446. <\/p>\n<figure class=\"full-width\"><figcaption>\u041e\u0442\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u0435 \u043e\u0440\u0438\u0435\u043d\u0442\u0430\u0446\u0438\u0438 UV \u043f\u043e\u0432\u0435\u0440\u0445\u043d\u043e\u0441\u0442\u0438<\/figcaption><\/figure>\n<h3>\u0410\u0434\u0430\u043f\u0442\u0430\u0446\u0438\u044f \u043f\u043e\u0434 \u043f\u0440\u043e\u0435\u043a\u0442 \/ \u0433\u0435\u043e\u043c\u0435\u0442\u0440\u0438\u0447\u0435\u0441\u043a\u043e\u0435 \u044f\u0434\u0440\u043e<\/h3>\n<p>\u041f\u043e\u043a\u0430\u0436\u0443 \u043d\u0430 \u043f\u0440\u0438\u043c\u0435\u0440\u0435 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0438 <a href=\"https:\/\/github.com\/MeshInspector\/MeshLib\" rel=\"noopener noreferrer nofollow\">MeshInspector<\/a>.<\/p>\n<p>1) \u0423\u043a\u0430\u0437\u0430\u0442\u044c \u043f\u0443\u0442\u044c \u043a \u043f\u0430\u043f\u043a\u0435, \u043a\u0443\u0434\u0430 \u0431\u0443\u0434\u0443\u0442 \u0434\u0430\u043c\u043f\u0438\u0442\u044c\u0441\u044f .stl \u0444\u0430\u0439\u043b\u044b \u0432 \u0433\u043b\u043e\u0431\u0430\u043b\u044c\u043d\u043e\u0439 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u043e\u0439.<code>std::string_view folderSTL = \"C:\\\\Repos\\\\STL\\\\\"<\/code><\/p>\n<p>2) \u041f\u043e\u0434\u043a\u043b\u044e\u0447\u0438\u0442\u044c include \u0432 DumpSTL.h \u0441 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u044b\u043c\u0438 \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0430\u043c\u0438, \u0432 \u0434\u0430\u043d\u043d\u043e\u043c \u043f\u0440\u0438\u043c\u0435\u0440\u0435 \u044d\u0442\u043e \u043f\u043e\u043b\u043e\u0436\u0438\u043c <code>MR::Mesh<\/code> (\u043f\u043e\u043b\u043d\u0430\u044f \u0441\u0435\u0442\u043a\u0430 3\u0434 \u0442\u0435\u043b\u043e), <code>MR::FaceBitSet<\/code> (\u043f\u043e\u0434\u043c\u043d\u043e\u0436\u0435\u0441\u0442\u0432\u043e \u0442\u0440\u0435\u0443\u0433\u043e\u043b\u044c\u043d\u0438\u043a\u043e\u0432 \u0441\u0435\u0442\u043a\u0438).<\/p>\n<p>3) \u041d\u0430\u043f\u0438\u0441\u0430\u0442\u044c \u0444\u0443\u043d\u043a\u0446\u0438\u0438 \u043f\u0440\u0435\u043e\u0431\u0440\u0430\u0437\u043e\u0432\u0430\u043d\u0438\u044f \u0432 <code>DUMP::Model3D<\/code> \u0434\u043b\u044f \u043a\u0430\u0436\u0434\u043e\u0433\u043e \u0442\u0430\u043a\u043e\u0433\u043e \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u0441\u043a\u043e\u0433\u043e \u0442\u0438\u043f\u0430 (\u0430\u0440\u0433\u0443\u043c\u0435\u043d\u0442 \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c \u043d\u0435 \u043e\u0434\u0438\u043d):<br \/>\u00a0\u00a0\u00a0 \u0430) <code>Model3D convert(const MR::Mesh&amp;, const MR::FaceBitSet&amp; );<\/code><br \/>\u00a0\u00a0\u00a0 \u0431) <code>Model3D convert(const MR::Mesh&amp; );<\/code><\/p>\n<p>4) \u041f\u043e \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e\u0441\u0442\u0438 \u043d\u0430\u043f\u0438\u0441\u0430\u0442\u044c \u043f\u0440\u0435\u043e\u0431\u0440\u0430\u0437\u043e\u0432\u0430\u043d\u0438\u044f \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u0441\u043a\u0438\u0445 \u0442\u0438\u043f\u043e\u0432 \u0432 \u043c\u043d\u043e\u0436\u0435\u0441\u0442\u0432\u043e \u0442\u043e\u0447\u0435\u043a <code>const std::vector&lt;Point3f>&amp; points<\/code>, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043c\u043e\u0433\u0443\u0442 \u0431\u044b\u0442\u044c \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u044b \u0434\u043b\u044f \u0434\u0430\u043c\u043f\u0430 \u0441 \u043e\u0441\u043e\u0431\u044b\u043c\u0438 \u043c\u043e\u0434\u0438\u0444\u0438\u043a\u0430\u0446\u0438\u044f\u043c\u0438:<br \/>\u00a0\u00a0\u00a0 a) <code>Model3D direction(const std::vector&lt;Point3f>&amp; points)<\/code> \u2013 \u043f\u043e\u0440\u043e\u0436\u0434\u0430\u0435\u0442 \u043f\u043e \u0443\u043f\u043e\u0440\u044f\u0434\u043e\u0447\u0435\u043d\u043d\u043e\u043c\u0443 \u043c\u043d\u043e\u0436\u0435\u0441\u0442\u0432\u0443 \u0442\u043e\u0447\u0435\u043a \u043e\u0440\u0438\u0435\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u0443\u044e \u0446\u0435\u043f\u043e\u0447\u043a\u0443 \u043a\u043e\u043d\u0443\u0441\u043e\u0432 (\u043f\u0438\u0440\u0430\u043c\u0438\u0434\u043e\u043a);<br \/>\u00a0\u00a0\u00a0 \u0431) <code>Model3D line(const std::vector&lt;Point3f>&amp; points)<\/code> \u2013 \u043f\u043e\u0440\u043e\u0436\u0434\u0430\u0435\u0442 \u043f\u043e \u0443\u043f\u043e\u0440\u044f\u0434\u043e\u0447\u0435\u043d\u043d\u043e\u043c\u0443 \u043c\u043d\u043e\u0436\u0435\u0441\u0442\u0432\u0443 \u0442\u043e\u0447\u0435\u043a \u043e\u0442\u0440\u0435\u0437\u043a\u0438;<br \/>\u00a0\u00a0\u00a0 \u0432) <code>Model3D sphere(const std::vector&lt;Point3f>&amp; points)<\/code> \u2013 \u043f\u043e\u0440\u043e\u0436\u0434\u0430\u0435\u0442 \u043f\u043e \u043c\u043d\u043e\u0436\u0435\u0441\u0442\u0432\u0443 \u0442\u043e\u0447\u0435\u043a \u043d\u0438\u0437\u043a\u043e\u043f\u043e\u043b\u0438\u0433\u043e\u043d\u0430\u043b\u044c\u043d\u044b\u0435 \u0441\u0444\u0435\u0440\u044b.<\/p>\n<h4>\u041f\u0440\u0438\u043c\u0435\u0440 \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438 convert \u043c\u0435\u0442\u043e\u0434\u043e\u0432<\/h4>\n<p><code>DUMP::Point3f convert( const MR::Vector3f&amp; point )<br \/>{<br \/>\u00a0\u00a0\u00a0 return { point.x, point.y, point.z };<br \/>}<\/code><\/p>\n<p><code>DUMP::Model3D convert( const MR::Mesh&amp; mesh, const MR::FaceBitSet&amp; faces)<br \/>{<br \/>\u00a0\u00a0\u00a0 DUMP::Model3D res;<br \/>\u00a0\u00a0\u00a0 for ( auto f : faces )<br \/>\u00a0\u00a0\u00a0 {<br \/>\u00a0\u00a0\u00a0 \u00a0\u00a0\u00a0 MR::Vector3f a, b, c;<br \/>\u00a0\u00a0\u00a0 \u00a0\u00a0\u00a0 if ( mesh.topology.hasFace( f ) )<br \/>\u00a0\u00a0\u00a0 \u00a0\u00a0\u00a0 {<br \/>\u00a0\u00a0\u00a0 \u00a0\u00a0\u00a0 \u00a0\u00a0\u00a0 mesh.getTriPoints( f, a, b, c );<br \/>\u00a0\u00a0\u00a0 \u00a0\u00a0\u00a0 \u00a0\u00a0\u00a0 res.addTriangle( convert(a), convert(b), convert(c));<br \/>\u00a0\u00a0\u00a0 \u00a0\u00a0\u00a0 }<br \/>\u00a0\u00a0\u00a0 }<br \/>\u00a0\u00a0\u00a0 return res;<br \/>}<\/code><\/p>\n<p><code>DUMP::Model3D convert( const MR::Mesh&amp; mesh )<br \/>{<br \/>\u00a0\u00a0\u00a0 return convert( mesh, mesh.topology.getValidFaces() );<br \/>}<\/code><\/p>\n<h4>\u041a\u0430\u043a \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c\u0441\u044f<\/h4>\n<p>\u041f\u0440\u0438\u043c\u0435\u043d\u044f\u0442\u044c \u043c\u0435\u0442\u043e\u0434\u044b \u043d\u0438\u0436\u0435 \u043a \u0441\u0442\u0443\u043a\u0442\u0443\u0440\u0430\u043c \u0434\u0430\u043d\u043d\u044b\u043c \u043f\u0440\u043e\u0435\u043a\u0442\u0430 \u0438 \u043f\u043e\u043b\u0443\u0447\u0430\u0442\u044c \u0433\u0435\u043d\u0435\u0440\u0438\u0440\u0443\u0435\u043c\u044b\u0435 3\u0434 \u043c\u043e\u0434\u0435\u043b\u0438:<\/p>\n<p>1) <code>void save(std::string_view fileName, Args... args)<\/code> \u2013 \u0441\u043e\u0445\u0440\u0430\u043d\u044f\u0435\u043c \u043e\u0434\u0438\u043d \u0444\u0430\u0439\u043b, \u0433\u0434\u0435 <code>fileName<\/code>\u2013 \u0442\u043e\u043b\u044c\u043a\u043e \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u0435 \u0444\u0430\u0439\u043b\u0430 (\u043d\u0443\u0436\u043d\u0430\u044f \u043f\u0430\u043f\u043a\u0430 \u0432 <code>folderSTL<\/code>), <code>args<\/code>\u2013 \u043f\u0435\u0440\u0435\u0434\u0430\u0435\u043c \u043d\u0430\u043f\u0440\u044f\u043c\u0443\u044e \u043d\u0443\u0436\u043d\u044b\u0435 \u043d\u0430\u043c \u043e\u0431\u044a\u0435\u043a\u0442\u044b<code>save(\u201cmesh\u201d, my_mesh)<\/code>, <code>save(\u201cmesh_part\u201d, my_mesh, my_faceBitSet)<\/code><\/p>\n<p>2) <code>void saveInc(std::string_view fileName, Args... args)<\/code> \u2013 \u0442\u043e \u0436\u0435 \u0441\u0430\u043c\u043e\u0435 \u0447\u0442\u043e \u0438 <code>save<\/code>, \u0441 \u0442\u043e\u0439 \u043b\u0438\u0448\u044c \u0440\u0430\u0437\u043d\u0438\u0446\u0435\u0439, \u0447\u0442\u043e \u0441\u043e\u0445\u0440\u0430\u043d\u044f\u0435\u0442 \u0432\u0441\u0435\u0433\u0434\u0430 \u0432 \u043d\u043e\u0432\u044b\u0439 \u0444\u0430\u0439\u043b. \u0415\u0441\u043b\u0438 \u0444\u0430\u0439\u043b \u0441 \u0443\u043a\u0430\u0437\u0430\u043d\u043d\u044b\u043c \u0438\u043c\u0435\u043d\u0435\u043c \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u0435\u0442, \u043f\u0440\u0438\u043f\u0438\u0441\u044b\u0432\u0430\u0435\u0442 \u0446\u0438\u0444\u0440\u0443-\u0441\u0447\u0435\u0442\u0447\u0438\u043a \u0435\u0449\u0435 \u043d\u0435 \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u044e\u0449\u0435\u0433\u043e \u0444\u0430\u0439\u043b\u0430. \u0422\u0430\u043a \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440 \u0435\u0441\u043b\u0438 \u043f\u0440\u043e\u0446\u0435\u0441\u0441 \u0438\u0442\u0435\u0440\u0430\u0446\u0438\u043e\u043d\u043d\u044b\u0439, \u0438 \u043d\u0430 135 \u0438\u0442\u0435\u0440\u0430\u0446\u0438\u0438 \u0432\u0441\u0435 \u0432\u0437\u0440\u044b\u0432\u0430\u0435\u0442\u0441\u044f, \u0442\u043e \u0435\u0441\u0442\u044c \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u0443\u0432\u0438\u0434\u0435\u0442\u044c \u044d\u0432\u043e\u043b\u044e\u0446\u0438\u044e 3\u0434 \u043e\u0431\u044a\u0435\u043a\u0442\u0430 \u0432\u043e \u0432\u0441\u0435\u0445 135 \u0438\u0442\u0435\u0440\u0430\u0446\u0438\u044f\u0445, \u0438 \u0443\u0432\u0438\u0434\u0435\u0442\u044c, \u0447\u0442\u043e \u0431\u044b\u043b\u043e \u043d\u0435\u043f\u043e\u0441\u0440\u0435\u0434\u0441\u0442\u0432\u0435\u043d\u043d\u043e \u043f\u0435\u0440\u0435\u0434 \u043f\u0430\u0434\u0435\u043d\u0438\u0435\u043c \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f.<\/p>\n<p>3) \u0418\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u043c\u043e\u0434\u0438\u0444\u0438\u043a\u0430\u0442\u043e\u0440\u044b <code>direction<\/code>\/<code>line<\/code>\/<code>sphere<\/code>: <code>save(\u201cmesh\u201d, direction(mesh))<\/code>, <code>save(\u201cmesh_part\u201d, direction(my_mesh, my_faceBitSet))<\/code><\/p>\n<p>4) \u0421\u043e\u0437\u0434\u043e\u0432\u0430\u0442\u044c \u043d\u0430\u043f\u0440\u044f\u043c\u0443\u044e \u043e\u0431\u044a\u0435\u043a\u0442\u044b <code>Model3D<\/code>, \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044f \u043d\u0430\u043f\u0440\u044f\u043c\u0443\u044e \u0435\u0433\u043e API <code>addTriangle<\/code>\/<code>addPoint<\/code>\/<code>addEdge<\/code>\/<code>addCone<\/code>\/<code>addQuad<\/code>\/<code>addSphere<\/code> \u0438 \u0434\u0430\u043c\u043f\u0438\u0442\u044c \u0435\u0433\u043e \u0442\u0430\u043a \u0436\u0435 <code>save(\u201cmodel3D\u201d, my_Model3D)<\/code><\/p>\n<h4>Hello world<\/h4>\n<p>\u041f\u0440\u0438\u043c\u0435\u0440 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f \u0438 \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0435\u043d\u043d\u043e \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u043c\u044b\u0439 &#171;hello world&#187; \u043c\u043e\u0436\u043d\u043e \u043d\u0430\u0439\u0442\u0438 \u0432 \u0441\u043e\u0441\u0435\u0434\u043d\u0435\u043c \u043f\u0440\u043e\u0435\u043a\u0442\u0435 \u0432 \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0438 <a href=\"https:\/\/github.com\/KupchishinAB\/DumpSTL\/tree\/main\/example\" rel=\"noopener noreferrer nofollow\">example<\/a>. \u041f\u0440\u0438 \u0437\u0430\u043f\u0443\u0441\u043a\u0435 \u0438\u0437 \u043a\u043e\u0440\u043e\u0431\u043a\u0438 \u0434\u043e\u043b\u0436\u043d\u044b \u043f\u043e\u043b\u0443\u0447\u0430\u0442\u044c\u0441\u044f \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0435 \u043f\u0440\u0438\u043c\u0438\u0442\u0438\u0432\u044b:<\/p>\n<figure class=\"full-width\"><figcaption>\u041a\u0443\u0431\u0438\u043a, \u0442\u0435\u0442\u0440\u0430\u044d\u0434\u0440, \u043d\u0435\u043c\u043d\u043e\u0433\u043e \u043a\u043e\u043d\u0443\u0441\u043e\u0432, \u0441\u0444\u0435\u0440\u044b&#8230;<\/figcaption><\/figure>\n<p>\u0418 \u0432\u043e\u0442 \u0442\u0430\u043a\u043e\u0439 \u043d\u0430\u0431\u043e\u0440 \u0444\u0430\u0439\u043b\u043e\u0432 \u0441 3\u0434 \u043c\u043e\u0434\u0435\u043b\u044f\u043c\u0438: dumpStlExample_cube.stl, dumpStlExample_directionChain_0.stl, dumpStlExample_directionChain_1.stl, dumpStlExample_directionChain_2.stl, dumpStlExample_lineChain.stl, dumpStlExample_points.stl, dumpStlExample_spheres.stl, dumpStlExample_tetraedr.stl<\/p>\n<h3>\u041a\u0430\u043a \u0443\u0441\u0442\u0440\u043e\u0435\u043d\u0430 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0430<\/h3>\n<p>1) \u041f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u0442 \u0438\u0437 \u0441\u0435\u0431\u044f \u043e\u0434\u0438\u043d \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0430\u0435\u043c\u044b\u0439 header only DumpSTL.h <a href=\"https:\/\/github.com\/KupchishinAB\/DumpSTL\" rel=\"noopener noreferrer nofollow\">\u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0439<\/a> <br \/>\u00a0\u00a0\u00a0 \u0430) \u0412 \u043d\u0435\u043c \u043e\u043f\u0438\u0441\u0430\u043d\u044b \u0442\u0440\u0438\u0432\u0438\u0430\u043b\u044c\u043d\u044b\u0435 \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u044b <code>Point3<\/code>, <code>Triangle<\/code>, <code>Model3D<\/code> \u0441 \u0441\u043e\u043f\u0443\u0442\u0441\u0442\u0432\u0443\u044e\u0449\u0438\u043c\u0438 \u043c\u0435\u0442\u043e\u0434\u0430\u043c\u0438<br \/>\u00a0\u00a0\u00a0 \u0431) \u0424\u0443\u043d\u043a\u0446\u0438\u0438 \u0434\u043b\u044f \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f <code>save<\/code>, <code>saveInc<\/code> (incremental)<br \/>\u00a0\u00a0\u00a0 \u0432) \u041c\u043e\u0434\u0438\u0444\u0438\u043a\u0430\u0442\u043e\u0440\u044b: <code>direction<\/code>, <code>sphere<\/code>, <code>line<\/code><\/p>\n<p>2) \u041f\u0440\u043e\u0435\u043a\u0442 \u043f\u043e\u0434 \u0441\u0442\u0443\u0434\u0438\u044e \u0441 \u043f\u0440\u0438\u043c\u0435\u0440\u043e\u043c \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f \u0438 \u0438\u0437\u0432\u0435\u0441\u0442\u043d\u044b\u043c \u043e\u0436\u0438\u0434\u0430\u0435\u043c\u044b\u043c \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u043e\u043c example.sln <\/p>\n<p>3) \u0421\u043a\u0440\u0438\u043f\u0442 clear_stl.bat \u0434\u043b\u044f \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u043e\u0439 \u0447\u0438\u0441\u0442\u043a\u0438 \u043f\u0430\u043f\u043a\u0438 \u043e\u0442 \u043d\u0430\u043a\u043e\u043f\u0438\u0432\u0448\u0438\u0445\u0441\u044f .stl \u0444\u0430\u0439\u043b\u043e\u0432 (\u0438\u0445 \u043c\u043e\u0433\u0443\u0442 \u0431\u044b\u0442\u044c \u0441\u043e\u0442\u043d\u0438)<\/p>\n<p>4) \u0421\u043a\u0440\u0438\u043f\u0442 run_blender.bat + blenderScrypt.py \u0434\u043b\u044f \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u043e\u0433\u043e \u043e\u0442\u043a\u0440\u044b\u0442\u0438\u044f \u0432 3\u0434 \u0440\u0435\u0434\u0430\u043a\u0442\u043e\u0440\u0435 blender \u0432\u0441\u0435\u0445 \u0444\u0430\u0439\u043b\u043e\u0432 \u0432 \u043f\u0430\u043f\u043a\u0435 \u043f\u043e \u043c\u0430\u0441\u043a\u0435 *.stl \u0438 \u0444\u043e\u0442\u043e\u0433\u0440\u0430\u0444\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u043a\u0430\u0436\u0434\u043e\u0433\u043e \u0441 4\u0435\u0445 \u0440\u0430\u043a\u0443\u0440\u0441\u043e\u0432 \u0438 \u0441\u043e\u0445\u0440\u0430\u043d\u0435\u043d\u0438\u0435\u043c \u0444\u043e\u0442\u043e \u0432 \u044d\u0442\u0443 \u0436\u0435 \u043f\u0430\u043f\u043a\u0443 \u0441 \u043f\u0440\u0438\u043f\u0438\u0441\u043a\u043e\u0439 _left.jpg, _right.jpg, _top.jpg, _bottom.jpg. \u041c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c \u043f\u043e\u043b\u0435\u0437\u043d\u043e \u043f\u0440\u0438 \u043f\u043e\u043b\u0443\u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u043e\u043c \u043f\u0440\u043e\u0433\u043e\u043d\u0435 \u0442\u0435\u0441\u0442\u043e\u0432 \u0438 \u043e\u0442\u043d\u043e\u0441\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u0431\u044b\u0441\u0442\u0440\u043e\u0439 \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0438 \u0433\u043b\u0430\u0437\u0430\u043c\u0438, \u0447\u0442\u043e \u043d\u0438\u0447\u0435\u0433\u043e \u043d\u0435 \u043f\u043e\u043f\u043e\u0440\u0442\u0438\u043b\u043e\u0441\u044c \u043f\u0443\u0442\u0435\u043c \u0431\u044b\u0441\u0442\u0440\u043e\u0433\u043e \u043f\u0440\u043e\u043b\u0438\u0441\u0442\u044b\u0432\u0430\u043d\u0438\u044f \u0441\u043a\u0440\u0438\u043d\u0448\u043e\u0442\u043e\u0432.<br \/> \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 <\/p>\n<\/p>\n<\/div>\n<\/div>\n<\/div>\n<div class=\"v-portal\" style=\"display:none;\"><\/div>\n<\/div>\n<p> <!----> <!----><br \/> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"https:\/\/habr.com\/ru\/post\/683124\/\"> https:\/\/habr.com\/ru\/post\/683124\/<\/a><br \/><\/br><\/br><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-337174","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/337174","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=337174"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/337174\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=337174"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=337174"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=337174"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}