{"id":496,"date":"2021-09-25T15:33:00","date_gmt":"2021-09-25T15:33:00","guid":{"rendered":"https:\/\/262235.xyz\/?p=496"},"modified":"2021-09-25T15:33:00","modified_gmt":"2021-09-25T15:33:00","slug":"496","status":"publish","type":"post","link":"https:\/\/lyvba.com\/index.php\/2021\/09\/25\/496\/","title":{"rendered":"Adobe Illustrator \u811a\u672c\u5b66\u4e60: \u5f53\u524d\u753b\u677f\u4e2d\u4e0b\u4f4d\u7f6e\u63d2\u5165\u6587\u672c\uff0c\u8bbe\u7f6e\u5b57\u4f53\u548c\u62fc\u7248\u8272"},"content":{"rendered":"<p><img decoding=\"async\" src=\"https:\/\/lyvba.com\/wp-content\/uploads\/2021\/09\/1666335725.webp\" alt=\"372287158.webp\" title=\"372287158.webp\"><br \/>\u5728\u6392\u7248\u5370\u5237\u4e2d\uff0c\u6587\u5b57\u7684\u9ad8\u5ea6\u548c\u5bbd\u5ea6\u5f62\u6210\u7684\u6587\u5b57\u5927\u5c0f\u90fd\u6709\u7279\u6709\u7684\u5ea6\u91cf\u5355\u4f4d\u6765\u8ba1\u7b97\uff0c\u5373\u70b9\u6570\uff08point\uff09\u548c\u897f\u585e\u7f57\uff08ciceros\uff09\u3002\u73b0\u4ee3\u5e38\u7528point\uff08pt\uff09\u4f5c\u4e3a\u5355\u4f4d\u3002<br \/>1\u70b9\uff08\u82f1\u7f8e\u70b9\uff09=0.3527\u6beb\u7c73=1\/72\u82f1\u5bf8\uff1b\u201c\u78c5\u201d\u6307\u7684\u662fpoint\u7684\u97f3\u8bd1\u53d1\u97f3\uff0c\u6b63\u786e\u7684\u4e2d\u6587\u8bd1\u540d\u5e94\u4e3a\u201c\u70b9\u201d\u6216\u201c\u70b9\u6570\u201d\u3002<\/p>\n<h2>Adobe \u516c\u53f8\u8d77\u5bb6\u5c31\u662f <code>PostScript<\/code> \u8bed\u8a00\uff0c\u800c\u4e0d\u662f\u4e3a\u4eba\u719f\u77e5\u7684 <code>PS<\/code><\/h2>\n<p><code>PostScript<\/code>\uff08PS\uff09\u662f\u4e3b\u8981\u7528\u4e8e\u7535\u5b50\u4ea7\u4e1a\u548c\u684c\u9762\u51fa\u7248\u9886\u57df\u7684\u4e00\u79cd\u9875\u9762\u63cf\u8ff0\u8bed\u8a00\u548c\u7f16\u7a0b\u8bed\u8a00\u3002\u800c<code>PostScript<\/code>\u5185\u7f6e\u5c3a\u5bf8\u5355\u4f4d\u5c31\u662f\u4f7f\u7528point\uff08pt\uff09\u4f5c\u4e3a\u5355\u4f4d\uff0c\u6240\u4ee5AI\u7684\u811a\u672c\u64cd\u4f5c\u7684\u6570\u5b57\u90fd\u662f\u4ee5pt\u4f5c\u4e3a\u5355\u4f4d\u7684\u3002<\/p>\n<ul>\n<li>AI \u753b\u677f\u5927\u5c0f\u9650\u5236: \u503c\u5fc5\u987b\u4ecb\u4e8e0.36mm \u548c 5779.55mm<\/li>\n<\/ul>\n<h2>\u811a\u672c\u529f\u80fd\u548c\u548c\u6240\u7528\u5230\u7684\u6570\u636e\u7ed3\u6784<\/h2>\n<p><img decoding=\"async\" src=\"https:\/\/lyvba.com\/wp-content\/uploads\/2021\/09\/2571328618.png\" alt=\"\u753b\u677f\u548c\u8272\u677f.png\" title=\"\u753b\u677f\u548c\u8272\u677f.png\"><\/p>\n<ul>\n<li>\u5982\u56fe\u811a\u672c\u8fd0\u884c\u540e\uff0c\u5728\u5f53\u524d\u753b\u677f\u5e95\u4e0b\u4e2d\u95f4\u9760\u5de6\u4fa7\u63d2\u5165\u6587\u672c(\u6587\u4ef6\u540d\u548c\u65e5\u671f)\uff0c\u811a\u672c\u9996\u5148\u7528 <code>activeDocument.rulerOrigin<\/code> \u5f97\u5230\u753b\u677f\u6807\u5c3a\u539f\u70b9\uff0c\u76f8\u5bf9\u4e8e\u753b\u677f\u7684\u5de6\u4e0a\u89d2; \u7136\u540e\u8f6c\u6362\u6210 \u753b\u677f\u5de6\u4e0b\u89d2 <code>x,y<\/code>\uff0c\u518d\u628ax\u5750\u6807 \u8f6c\u6362\u6210\u4e2d\u95f4\u9760\u5de6\u3002<\/li>\n<li><code>filenameDate<\/code> \u51fd\u6570\u5b9e\u73b0\u63d2\u5165\u6587\u672c\uff0c\u6dfb\u52a0\u6587\u672c\u5185\u5bb9\uff0c\u4fee\u6539\u5b57\u4f53\u548c\u5b57\u53f7\uff0c\u4ece <code>activeDocument.swatches<\/code> \u8272\u677f\u4e2d\u5f97\u52301\u53f7\u7d22\u5f15\u7684\u62fc\u7248\u8272\u3002<\/li>\n<li>DATA BROWSER \u9762\u677f\u4f7f\u7528 Adobe ExtendScript Toolkit CS5.5 \u811a\u672c\u8c03\u8bd5\u5de5\u5177\uff0c\u53ef\u4ee5\u67e5\u770b\u5f53\u524d\u6fc0\u6d3b\u7684\u5bf9\u8c61\u7684\u6570\u636e\u5185\u5bb9\u548c\u7ed3\u6784\u3002<\/li>\n<\/ul>\n<h2>\u5b8c\u6210\u7684 <code>\u63d2\u5165\u6587\u4ef6\u540d\u548c\u65e5\u671f.jsx<\/code> \u6e90\u7801<\/h2>\n<pre><code>#target illustrator\n\/\/ \u83b7\u53d6\u5f53\u524d\u65f6\u95f4\nfunction getdate() {\n  var d = new Date(), month = '' + (d.getMonth() + 1),\n    day = '' + d.getDate(), year = d.getFullYear();\n  if (month.length &lt; 2) month = '0' + month;\n  if (day.length &lt; 2) day = '0' + day;\n  return [year, month, day].join('-');\n}\n\n\/\/ \u83b7\u53d6 AI\u6587\u6863\u540d\u79f0\nvar docRef = activeDocument;\nvar str = docRef.name;\nstr = str + \"     \" + getdate();\n\n\/\/ alert(\"\u672c\u811a\u672c\u5efa\u7acb\u4e00\u4e2a\u6587\u672c:\n\" + str);\n\n\/\/ \u6587\u6863\u4e2d\u5efa\u7acb\u4e00\u4e2a\u65b0\u6587\u672c\n\/\/ var textRef = docRef.textFrames.add();\n\/\/ textRef.top = 100;\n\/\/ textRef.left = 200;\n\/\/ textRef.contents = str;\n\nvar mm = 25.4 \/ 72;  \/\/ pt \u548c mm \u8f6c\u6362\u7cfb\u6570\n\nvar base = new Array();\nbase = docRef.rulerOrigin;    \/\/ \u753b\u677f\u6807\u5c3a\u539f\u70b9\uff0c\u76f8\u5bf9\u4e8e\u753b\u677f\u7684\u5de6\u4e0a\u89d2\nalert(\"\u753b\u677f\u6807\u5c3a\u539f\u70b9mm  x:\" + base[0] * mm +\" y:\" + base[1] * mm + \"\n\u753b\u677f\u5927\u5c0fmm \u5bbd:\" + docRef.width * mm +\"  \u9ad8:\" + docRef.height * mm);\n\nvar pw = 0;\nvar ph = 0;\nvar x = base[0];    \/\/ \u753b\u677f\u5de6\u4e0b\u89d2 x \u5750\u6807\nvar y = - base[1];  \/\/ \u753b\u677f\u5de6\u4e0b\u89d2 y \u5750\u6807\nvar myFont = textFonts.getByName(\"MicrosoftYaHei\");\nvar myFontSize = 7;\n\npw = docRef.width;  \/\/  \u6587\u6863\u5bbd\nph = docRef.height; \/\/  \u6587\u6863\u9ad8\nx = pw \/ 2 - x;     \/\/  \u8f6c\u6362x\u5750\u6807: \u753b\u677f\u4e2d\u4e0bx\n\nfunction filenameDate() {\n  var textRef = docRef.textFrames.add();    \/\/ \u5efa\u7acb\u6587\u672c\n  textRef.contents = str;                   \/\/ \u586b\u5145\u6587\u672c\u5b57\u7b26\u4e32:   AI\u6587\u6863\u540d\u79f0 + \u65f6\u95f4\n  textRef.textRange.characterAttributes.size = myFontSize;   \/\/ \u8bbe\u7f6e\u5b57\u4f53\u5c3a\u5bf8\n  textRef.textRange.characterAttributes.textFont = myFont;   \/\/ \u8bbe\u7f6e\u5b57\u4f53\u540d\u79f0\n  textRef.textRange.characterAttributes.fillColor = docRef.swatches[1].color;   \/\/ \u8bbe\u7f6e\u62fc\u7248\u8272\n  textRef.top = y + 7;    \/\/ \u753b\u677f\u5e95\u5411\u4e0a\u504f\u79fb\n  textRef.left = x - textRef.width - 10 ;   \/\/ \u753b\u677fx\u4e2d\uff0c\u504f\u79fb\u6587\u672c\u5bbd\u548c\u95f4\u9694\u5bbd\n}\n\nfilenameDate();\n<\/code><\/pre>\n<p>\u76f8\u5173\u6587\u7ae0: <a href=\"https:\/\/www.lyvba.com\/index.php\/tag\/Adobe\/\">https:\/\/www.lyvba.com\/index.php\/tag\/Adobe\/<\/a><\/p>\n<h3>\u9644\u8868 \u4e2d\u6587\u5b57\u4f53 \u5b57\u53f7\u5bf9\u7167\u8868<\/h3>\n<p><img decoding=\"async\" src=\"https:\/\/lyvba.com\/wp-content\/uploads\/2021\/09\/263696762.png\" alt=\"pt.png\" title=\"pt.png\"><\/p>\n<p>\u5728\u73b0\u4ee3\u7535\u5b50\u6392\u7248\u5f15\u5165\u524d\uff0c\u4e2d\u56fd\u53ca\u90e8\u5206\u4e1c\u4e9a\u56fd\u5bb6\u666e\u904d\u4f7f\u7528\u6d3b\u5b57\u5370\u5370\u5237\u6c49\u5b57\u3002\u5b57\u4f53\u7684\u5927\u5c0f\u4ee5\u6d3b\u5b57\u5b57\u53f7 (\u5370\u5237)\u6807\u79f0\u3002\u5b57\u53f7\u8d8a\u5c0f\uff0c\u5b57\u4f53\u8d8a\u5927\u3002\u4e4b\u540e\u201c\u70b9\u201d\u6570\u6d3b\u5b57\u4f20\u5165\u4e2d\u56fd\uff0c\u4e0e\u4f20\u7edf\u7684\u201c\u53f7\u201d\u6570\u5355\u4f4d\u5e76\u884c\u901a\u7528\uff0c\u5404\u5730\u6d3b\u5b57\u5382\u5546\u7684\u6d3b\u5b57\u5c3a\u5bf8\u4e0d\u5c3d\u76f8\u540c\uff0c\u53f7\u3001\u70b9\u3001\u6beb\u7c73\u7b49\u5355\u4f4d\u4e4b\u95f4\u6709\u4e0d\u540c\u6362\u7b97\u3002\u800c\u4e14\u7531\u4e8e\u201c\u70b9\u201d\u57fa\u4e8e\u82f1\u5c3a\uff0c\u7528\u516c\u5236\u5355\u4f4d\u6362\u7b97\u65f6\u53ea\u80fd\u91c7\u7528\u8fd1\u4f3c\u6570\u503c\u3002\u6bd4\u59821958\u5e746\u670810\u65e5\uff0c\u4e2d\u534e\u4eba\u6c11\u5171\u548c\u56fd\u6587\u5316\u90e8\u51fa\u7248\u4e8b\u4e1a\u7ba1\u7406\u5c40\u4e3a\u4e86\u7edf\u4e00\u6d3b\u5b57\u7684\u6807\u51c6\u66fe\u516c\u5e03\u300a\u5173\u4e8e\u6d3b\u5b57\u53ca\u5b57\u6a21\u89c4\u683c\u5316\u7684\u51b3\u5b9a\uff08\u8349\u6848\uff09\u300b\u91cc\u5c31\u76f4\u63a5\u89c4\u5b9a\u201c\u6bcf\u70b9\u4e3a0.35\u6beb\u7c73\uff0c\u94c5\u5b57\u7684\u9ad8\u5ea6\u89c4\u5b9a\u4e3a23.32 \u6beb\u7c73\u201d[8]  \u3002\u7531\u4e8e\u8001\u5382\u94c5\u5b57\u6570\u91cf\u7e41\u591a\uff0c\u6b64\u89c4\u5b9a\u5e76\u672a\u5728\u5168\u56fd\u8303\u56f4\u5185\u5f7b\u5e95\u65bd\u884c\u3002\u4e0e\u6b64\u7c7b\u4f3c\uff0c\u65e5\u672c\u5de5\u4e1a\u89c4\u683c\u7684 JIS Z 8305-1962 (JIS Z 8305:1962)\u201c\u6d3b\u5b57\u306e\u57fa\u51c6\u5bf8\u6cd5\u201d\u4e2d 2. (2) \u4e5f\u89c4\u5b9a\u201c1 point \u5b9a\u4e3a 0.351 4 mm<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u5728\u6392\u7248\u5370\u5237\u4e2d\uff0c\u6587\u5b57\u7684\u9ad8\u5ea6\u548c\u5bbd\u5ea6\u5f62\u6210\u7684\u6587\u5b57\u5927\u5c0f\u90fd\u6709\u7279\u6709\u7684\u5ea6\u91cf\u5355\u4f4d\u6765\u8ba1\u7b97\uff0c\u5373\u70b9\u6570\uff08point\uff09\u548c\u897f\u585e\u7f57\uff08 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[10,12],"tags":[51],"class_list":["post-496","post","type-post","status-publish","format-standard","hentry","category-soft","category-learn","tag-adobe"],"_links":{"self":[{"href":"https:\/\/lyvba.com\/index.php\/wp-json\/wp\/v2\/posts\/496","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lyvba.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lyvba.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lyvba.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/lyvba.com\/index.php\/wp-json\/wp\/v2\/comments?post=496"}],"version-history":[{"count":0,"href":"https:\/\/lyvba.com\/index.php\/wp-json\/wp\/v2\/posts\/496\/revisions"}],"wp:attachment":[{"href":"https:\/\/lyvba.com\/index.php\/wp-json\/wp\/v2\/media?parent=496"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lyvba.com\/index.php\/wp-json\/wp\/v2\/categories?post=496"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lyvba.com\/index.php\/wp-json\/wp\/v2\/tags?post=496"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}