{"id":13333,"date":"2021-08-13T22:04:28","date_gmt":"2021-08-13T13:04:28","guid":{"rendered":"https:\/\/ocse2.com\/?p=13333"},"modified":"2021-08-21T08:34:34","modified_gmt":"2021-08-20T23:34:34","slug":"dexcs%e3%83%a9%e3%83%b3%e3%83%81%e3%83%a3%e3%83%bcv2-5%e8%a3%bd%e4%bd%9c%e3%83%a1%e3%83%a2%e3%80%80-4-4","status":"publish","type":"post","link":"https:\/\/ocse2.com\/?p=13333","title":{"rendered":"DEXCS\u30e9\u30f3\u30c1\u30e3\u30fcv2.5\u88fd\u4f5c\u30e1\u30e2\u3000\/ 4.4"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\">4.4  FreeCAD\u57fa\u672c\u5f62\u72b6\u3092\u4f7f\u3063\u305f\u7d30\u5206\u5316\u9818\u57df\u8a2d\u5b9a<\/h2>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-full\"><img fetchpriority=\"high\" decoding=\"async\" width=\"885\" height=\"525\" src=\"https:\/\/ocse2.com\/wp-content\/uploads\/2021\/08\/66eb52690992c3e4e2a2ef3e62d8bb4e.png\" alt=\"\" class=\"wp-image-13340\"\/><figcaption>\u56f340.FreeCAD\u306e\u57fa\u672c\u5f62\u72b6\u3092\u4f7f\u3063\u305f\u7d30\u5206\u5316\u9818\u57df\u8a2d\u5b9a<\/figcaption><\/figure><\/div>\n\n\n<p><!-- admax --><br \/>\n<script src=\"\/\/adm.shinobi.jp\/s\/f441a8efe75e3127b36ac8c4fda493f7\"><\/script><br \/>\n<!-- admax --><\/p>\n\n\n\n<p>\u9818\u57df\u5185\u90e8\u3092\u7d30\u5206\u5316\u6307\u5b9a\u3059\u308b\u969b\u306b\u3001DEXCS\u30de\u30af\u30ed\u3067\u306fBOX\u9818\u57df\u6307\u5b9a\u3057\u304b\u3067\u304d\u306a\u304b\u3063\u305f\u304c\u3001cfMesh\u672c\u6765\u306e\u8a2d\u5b9a\u3067\u306f\u3001\u7403\u3084\u5186\u9310\u3068\u3044\u3063\u305f\u57fa\u672c\u5f62\u72b6\u3067\u9818\u57df\u3092\u6307\u5b9a\u3059\u308b\u4e8b\u304c\u3067\u304d\u308b\u3002\u3057\u304b\u3057\u3053\u306e\u6a5f\u80fd\u3092\u4f7f\u3044\u305f\u3044\u5834\u5408\u306b\u306f\u3001\u51fa\u529b\u3055\u308c\u305fmeshDict\u4e2d\u3001\u4e0b\u8a18\u306e\u30b3\u30e1\u30f3\u30c8\u884c\uff08\u5192\u982d\u306b\/\/\u306e\u3042\u308b\u884c\uff09\u306e\u5192\u982d\u306e\/\/\u3092\u524a\u9664\u3057\u3066\u3001\u6570\u5024\u3092\u624b\u4fee\u6b63\u3057\u3066\u4f7f\u3046\u3068\u3044\u3046\u65b9\u6cd5\u3057\u304b\u306a\u304b\u3063\u305f\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>\t\/\/coneExample\n\t\/\/{\n\t\/\/\ttype\t\tcone;\n\t\/\/\tcellSize\t7.51;\n\t\/\/\tp0\t\t\t(-100 1873 -320);\n\t\/\/\tp1\t\t\t(-560 1400 0);\n\t\/\/\tradius0\t\t200;\n\t\/\/\tradius1\t\t300;\n\t\/\/}\n\t\/\/hollowConeExample\n\t\/\/{\n\t\/\/\ttype\t\t\t\thollowCone;\n\t\/\/\tadditionalRefinementLevels\t2;\n\t\/\/\tdditional refinement relative to maxCellSize\n\t\/\/\tp0\t\t\t\t\t(-100 1873 -320);\n\t\/\/\tp1\t\t\t\t\t(-560 1400 0);\n\t\/\/\tradius0_Inner\t\t200;\n\t\/\/\tradius0_Outer\t\t300;\n\t\/\/\tradius1_Inner\t\t200;\n\t\/\/\tradius1_Outer\t\t300;\n\t\/\/}\n\t\/\/sphereExample\n\t\/\/{\n\t\/\/\ttype\t\t\tsphere;\n\t\/\/\tcellSize\t\t7.51;\n\t\/\/\tcentre\t\t\t(0 700 0);\n\t\/\/\tradius\t\t\t200;\n\t\/\/\trefinementThickness\t40;\n\t\/\/}\n\t\/\/lineExample\n\t\/\/{\n\t\/\/\ttype\t\tline;\n\t\/\/\tcellSize\t7.51;\n\t\/\/\tp0\t\t\t(-750 1000 450);\n\t\/\/\tp1\t\t\t(-750 1500 450);\n\t\/\/\trefinementThickness\t40;\n\t\/\/}<\/code><\/pre>\n\n\n\n<p>\u4e00\u65b9\u3001FreeCAD\u3092\u4f7f\u3048\u3070\u3001\u3053\u308c\u3089\u306e\u57fa\u672c\u5f62\u72b6\u306f\u5bb9\u6613\u306b\u4f5c\u6210\u3059\u308b\u3053\u3068\u304c\u51fa\u6765\u3066\u3001\u4eca\u56de\u306e\u6539\u5909\u3057\u305f<img decoding=\"async\" width=\"24\" height=\"24\" class=\"wp-image-13160\" style=\"width: 24px;\" src=\"https:\/\/ocse2.com\/wp-content\/uploads\/2021\/07\/meshRegion.png\" alt=\"\">\u30e1\u30c3\u30b7\u30e5\u7d30\u5206\u5316\u30b3\u30f3\u30c6\u30ca\u3092\u4f7f\u3063\u3066\u7d30\u5206\u5316\u9818\u57df\u5bfe\u8c61\u30d1\u30fc\u30c4\u3068\u3057\u3066\u5bb9\u6613\u306b\u6307\u5b9a\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308b\uff08\u56f340\uff09\u3002\u3057\u305f\u304c\u3063\u3066\u3001\u9078\u629e\u3057\u305f\u30d1\u30fc\u30c4\u306e\u7a2e\u985e\u306b\u5fdc\u3058\u305f\u7279\u5fb4\u91cf\u3092\u53d6\u5f97\u3057\u3066meshDict\u306b\u53cd\u6620\u3067\u304d\u308b\u3088\u3046\u30b3\u30fc\u30c9\u6539\u5909\u3092\u8a66\u307f\u305f\u3002<\/p>\n\n\n\n<p>\u3053\u308c\u307e\u3067\u30013-6-(2)\u306b\u304a\u3044\u3066\u3001\u9818\u57df\u5185\u90e8\u3092\u7d30\u5206\u5316\u5bfe\u8c61\u3068\u3059\u308b\u30ea\u30fc\u30b8\u30e7\u30f3\u540d\u30ea\u30b9\u30c8\uff08__region__\uff09\u3092\u53d6\u5f97\u3067\u304d\u3066\u3044\u308b\u304c\u3001\u3055\u3089\u306b\u305d\u306e\u5bfe\u8c61\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\uff08obj\uff09\u304c\u57fa\u672c\u5f62\u72b6\u3067\u3042\u308b\u304b\u3069\u3046\u304b\u3092\u5224\u5b9a\u3057\u3066\u3001\u57fa\u672c\u5f62\u72b6\u3067\u3042\u308b\u5834\u5408\u306f\u305d\u306e\u30bf\u30a4\u30d7\u306b\u5fdc\u3058\u3066\u51fa\u529b\u66f8\u5f0f\u3092\u5909\u66f4\u3059\u308b\u3053\u3068\u306b\u3057\u305f\uff08\u4ee5\u4e0b\u306e<span class=\"has-inline-color has-vivid-red-color\">\u6731\u5b57<\/span>\u90e8\u5206\u3092\u8ffd\u52a0\uff09\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>       if __region__ :\n            regionNumber = 0\n            for objList in __region__ :\n                for obj in doc.Objects:\n                    if obj.Label == objList :\n                        RefStr = str(__reflevel__&#91;regionNumber])\n<span class=\"has-inline-color has-vivid-red-color\">                        if obj.isDerivedFrom(\"Part::Box\"):\n\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\uff08Box\u7528<meta http-equiv=\"content-type\" content=\"text\/html; charset=utf-8\"> Dict\u4f5c\u6210\uff09\n<meta http-equiv=\"content-type\" content=\"text\/html; charset=utf-8\">                         elif obj.isDerivedFrom(\"Part::Spher\"):\n<meta http-equiv=\"content-type\" content=\"text\/html; charset=utf-8\">\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\uff08Sphere\u7528<meta http-equiv=\"content-type\" content=\"text\/html; charset=utf-8\"> Dict\u4f5c\u6210\uff09\n<meta http-equiv=\"content-type\" content=\"text\/html; charset=utf-8\">                         elif obj.isDerivedFrom(\"Part::Cylinder\"):\n<meta http-equiv=\"content-type\" content=\"text\/html; charset=utf-8\">\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\uff08Cylinder\u7528 Dict\u4f5c\u6210\uff09\n<meta http-equiv=\"content-type\" content=\"text\/html; charset=utf-8\">                         elif obj.isDerivedFrom(\"Part::Cone\"):\n<meta http-equiv=\"content-type\" content=\"text\/html; charset=utf-8\">\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\uff08Cone\u7528<meta http-equiv=\"content-type\" content=\"text\/html; charset=utf-8\"> Dict\u4f5c\u6210\uff09\n                         else:\n<\/span>                               (DEXCS\u30de\u30af\u30ed\u30aa\u30ea\u30b8\u30ca\u30eb\u306eDict\u4f5c\u6210\uff09<\/code><\/pre>\n\n\n\n<h4 class=\"wp-block-heading\">(1) Box<\/h4>\n\n\n\n<p>DEXCS\u30aa\u30ea\u30b8\u30ca\u30eb\u30de\u30af\u30ed\u3067\u3082Box\u30bf\u30a4\u30d7\u3067\u6307\u5b9a\u3057\u3066\u3044\u308b\u304c\u3001Box\u30bf\u30a4\u30d7\u3068\u3044\u3046\u3053\u3068\u304c\u308f\u304b\u3063\u3066\u3044\u308c\u3070\u3001\u4e2d\u5fc3\u5ea7\u6a19\u306e\u8a08\u7b97\u65b9\u6cd5\u304c\u7c21\u7565\u5316\u3055\u308c\u308b\uff08\u6731\u5b57\u90e8\u5206\uff09\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code><span class=\"has-inline-color has-vivid-red-color\">centerX = obj.Placement.Base.x + obj.Length.Value * 0.5\ncenterY = obj.Placement.Base.y + obj.Width.Value * 0.5\ncenterZ = obj.Placement.Base.z + obj.Height.Value * 0.5\n<\/span>strings7 = &#91;\n'\\t' + objList + '\\n',\n'\\t{\\n',\n'\\t\\ttype box;\\n',\n'\\t\\tadditionalRefinementLevels\\t' + RefStr + ';\\n',\n'\\t\\tcentre (' + str(centerX) + MainControl.SPACE_STR + str(centerY) + MainControl.SPACE_STR + str(centerZ) + ');\\n',\n'\\t\\tlengthX\\t' + str(<span class=\"has-inline-color has-vivid-red-color\">obj.Length.Value<\/span>) + ';\\n',\n'\\t\\tlengthY\\t' + str(<span class=\"has-inline-color has-vivid-red-color\">obj.Width.Value<\/span>) + ';\\n',\n'\\t\\tlengthZ\\t' + str(<span class=\"has-inline-color has-vivid-red-color\">obj.Height.Value<\/span>) + ';\\n',\n'\\t}\\n'\n           ]<\/code><\/pre>\n\n\n\n<p>\u3061\u306a\u307f\u306b\u3001DEXCS\u30aa\u30ea\u30b8\u30ca\u30eb\u30de\u30af\u30ed\u3067\u306f\u3001\u4e2d\u5fc3\u5ea7\u6a19\u3092\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u3057\u3066\u53d6\u5f97\u3057\u3066\u304a\u308a\u3001\u3053\u308c\u3060\u3068\u5bfe\u8c61\u30d1\u30fc\u30c4\uff08obj\uff09\u304cShape\u5c5e\u6027\u3092\u6709\u3057\u3066\u3044\u308b\u3082\u306e\u3067\u3042\u308c\u3070\u4f55\u3067\u3042\u3063\u3066\u3082\u3088\u304b\u3063\u305f\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>xmax = obj.Shape.BoundBox.XMax\nxmin = obj.Shape.BoundBox.XMin\nymax = obj.Shape.BoundBox.YMax\nymin = obj.Shape.BoundBox.YMin\nzmax = obj.Shape.BoundBox.ZMax\nzmin = obj.Shape.BoundBox.ZMin\ncenterX = 0.5*(xmax+xmin)\ncenterY = 0.5*(ymax+ymin)\ncenterZ = 0.5*(zmax+zmin)<\/code><\/pre>\n\n\n\n<h4 class=\"wp-block-heading\">(2) Sphere<\/h4>\n\n\n\n<p>\u7403\uff08Sphere\uff09\u306e\u5834\u5408\u306f\u3001FreeCAD\u306b\u304a\u3051\u308b\u7403\u306e\u57fa\u6e96\u5ea7\u6a19\uff08obj.Placement.Base\uff09\u3068\u3001cfMesh\u3067\u5b9a\u7fa9\u3059\u308b\u7403\u306e\u4e2d\u5fc3\u5ea7\u6a19\u306f\u540c\u3058\u3067\u3042\u308b\u306e\u3067\u3001\u3082\u3063\u3068\u7c21\u5358\u3067\u3042\u308b\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code><span class=\"has-inline-color has-vivid-red-color\">centerX = obj.Placement.Base.x \ncenterY = obj.Placement.Base.y \ncenterZ = obj.Placement.Base.z \n<\/span>strings7 = &#91;\n'\\t' + objList + '\\n',\n'\\t{\\n',\n'\\t\\ttype sphere;\\n',\n'\\t\\tadditionalRefinementLevels\\t' + RefStr + ';\\n',\n'\\t\\t<span class=\"has-inline-color has-vivid-red-color\">centre<\/span> (' + str(centerX) + MainControl.SPACE_STR + str(centerY) + MainControl.SPACE_STR + str(centerZ) + ');\\n',\n'\\t\\t<span class=\"has-inline-color has-vivid-red-color\">radius<\/span>\\t' + str(<span class=\"has-inline-color has-vivid-red-color\">obj.Radius.Value<\/span>) + ';\\n',\n'\\t\\t<span class=\"has-inline-color has-vivid-red-color\">refinementThickness<\/span>\\t' + '<span class=\"has-inline-color has-vivid-red-color\">0<\/span>' + ';\\n',\n'\\t}\\n'\n             ]<\/code><\/pre>\n\n\n\n<p>\u306a\u304a\u3001\u30d1\u30e9\u30e1\u30bf\u3068\u3057\u3066\u3001<span class=\"has-inline-color has-vivid-red-color\">refinementThickness<\/span>\u3000\u3082\u6307\u5b9a\u3067\u304d\u308b\u304c\u3001\u7403\u306e\u5f84\u3092\u5927\u304d\u304f\u3059\u308b\u3053\u3068\u3068\u540c\u3058\u306b\u306a\u308a\u30012\u3064\u306e\u30d1\u30e9\u30e1\u30bf\u306b\u533a\u5206\u3057\u3066\u5b9a\u7fa9\u3059\u308b\u3053\u3068\u306b\u3042\u307e\u308a\u610f\u5473\u304c\u3042\u308b\u3068\u3082\u601d\u3048\u306a\u304b\u3063\u305f\u306e\u3067\u3001\u3053\u306e\u5024\u306f\uff10\u3068\u3057\u3066\u3053\u308c\u3092\u5909\u66f4\u3059\u308b\u65b9\u6cd5\u307e\u3067\u306f\u8003\u3048\u3066\u3044\u306a\u3044\uff08\u624b\u4f5c\u696d\u3067\u306e\u5909\u66f4\u306f\u53ef\u80fd\uff09\u3002<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">(3) Cylinder<\/h4>\n\n\n\n<p>\u5186\u67f1\uff08Cylinder\uff09\u3092\u4f7f\u3063\u3066\u3001cfMesh \u306etype line; \u30bb\u30af\u30b7\u30e7\u30f3\u3092\u4f5c\u6210\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u308b\u3002\u4f46\u3057\u3001\u5186\u67f1\u306f\u5e73\u884c\u79fb\u52d5\u3060\u3051\u3067\u306a\u304f\u3001\u50be\u3051\u3066\u914d\u7f6e\u3059\u308b\uff08<a href=\"#ref1\">\u6ce8\u8a18\uff11<\/a>\uff09\u3053\u3068\u304c\u3067\u304d\u3001\u5e73\u884c\u79fb\u52d5\u91cf\u306e\u53d6\u5f97\u306f\u5bb9\u6613\u3067\u3042\u308b\u304c\u3001\u50be\u3051\u305f\u6642\u306e\u5186\u67f1\u4e0a\u9762\u306e\u4e2d\u5fc3\u5ea7\u6a19\u3092\u6c42\u3081\u308b\u306e\u306b\u306f\u591a\u5927\u306a\u8a66\u884c\u932f\u8aa4\u304c\u5fc5\u8981\u3067\u3042\u3063\u305f\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code><span class=\"has-inline-color has-vivid-red-color\"><strong>pos<\/strong><\/span> = FreeCAD.Vector(<span class=\"has-inline-color has-vivid-red-color\">obj.Placement.Base.x, obj.Placement.Base.y, obj.Placement.Base.z + obj.Height.Value<\/span>)\n<strong><span class=\"has-inline-color has-vivid-red-color\">center<\/span><\/strong> = FreeCAD.Vector(<span class=\"has-inline-color has-vivid-red-color\">0, 0, - obj.Height.Value<\/span>)\n<span class=\"has-inline-color has-vivid-red-color\"><strong>rot<\/strong><\/span> = FreeCAD.Rotation(<span class=\"has-inline-color has-vivid-red-color\">obj.Placement.Rotation<\/span>)\n<span class=\"has-inline-color has-vivid-red-color\"><strong>cylinderHead<\/strong> = FreeCAD.Placement(<strong>pos, rot, center<\/strong>)<\/span>\np0X = obj.Placement.Base.x\np0Y = obj.Placement.Base.y\np0Z = obj.Placement.Base.z\np1X = cylinderHead.Base.x\np1Y = cylinderHead.Base.y\np1Z = cylinderHead.Base.z\nstrings7 = &#91;\n'\\t' + objList + '\\n',\n'\\t{\\n',\n'\\t\\ttype line;\\n',\n'\\t\\tadditionalRefinementLevels\\t' + RefStr + ';\\n',\n'\\t\\tp0 (' + str(p0X) + MainControl.SPACE_STR + str(p0Y) + MainControl.SPACE_STR + str(p0Z) + ');\\n',\n'\\t\\tp1 (' + str(p1X) + MainControl.SPACE_STR + str(p1Y) + MainControl.SPACE_STR + str(p1Z) + ');\\n',\n'\\t\\trefinementThickness\\t' + str(<span class=\"has-inline-color has-vivid-red-color\">obj.Radius.Value<\/span>) + ';\\n',\n'\\t}\\n'\n            ]<\/code><\/pre>\n\n\n\n<p>\u56de\u8ee2\u524d\u306e\u5186\u67f1\u4e0a\u9762\u306e\u4e2d\u5fc3\u5ea7\u6a19\uff08pos\uff09\u3092<meta http-equiv=\"content-type\" content=\"text\/html; charset=utf-8\">\u5186\u67f1\u4e0b\u9762\u306e\u4e2d\u5fc3\u5ea7\u6a19\uff08center\uff09\u3092\u56de\u8ee2\u4e2d\u5fc3\u3068\u3057\u3066\u3001\u30e2\u30c7\u30eb\u306e\u56de\u8ee2\u89d2\uff08rot\uff09\u76f8\u5f53\u56de\u8ee2\u79fb\u52d5\u3057\u3066\u3001\u56de\u5c55\u5f8c\u306e\u5186\u67f1\u72b6\u9762\u306e\u4e2d\u5fc3\u5ea7\u6a19\uff08cylinderhead\uff09\u3092\u6c42\u3081\u308c\u3070\u826f\u3044\u3068\u3044\u3046\u3053\u3068\u3067\u3042\u308b\u304c\u3001center\u306f\u3001pos\u306b\u5bfe\u3059\u308b\u76f8\u5bfe\u79fb\u52d5\u91cf\u3092\u6307\u5b9a\u3059\u308b\u3068\u3053\u308d\u304c\u30df\u30bd\u3067\u3042\u3063\u305f\u3002<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">(4) Cone<\/h4>\n\n\n\n<p>\u5186\u9310\uff08Cone\uff09\u306f\u3001\u5186\u67f1\u306e\u4e0a\u9762\u3068\u4e0b\u9762\u3067\u5f84\u304c\u7570\u306a\u308b\u3060\u3051\u3067\u3042\u308b\u306e\u3067\u3001Cylinder\u306e\u5ea7\u6a19\u6307\u5b9a\u3068\u540c\u3058\u65b9\u6cd5\u304c\u4f7f\u3048\u308b\u30022\u3064\u306e\u5f84\u3092\u6307\u5b9a\u3059\u308b\u5fc5\u8981\u304c\u3042\u308b\u3068\u3044\u3046\u3060\u3051\u306e\u9055\u3044\u3067\u3042\u308b\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>center = FreeCAD.Vector(0, 0, - obj.Height.Value)\npos = FreeCAD.Vector(obj.Placement.Base.x, obj.Placement.Base.y, obj.Placement.Base.z + obj.Height.Value)\nrot = FreeCAD.Rotation(obj.Placement.Rotation)\ncylinderHead = FreeCAD.Placement(pos, rot, center)\np0X = obj.Placement.Base.x\np0Y = obj.Placement.Base.y\np0Z = obj.Placement.Base.z\np1X = cylinderHead.Base.x\np1Y = cylinderHead.Base.y\np1Z = cylinderHead.Base.z\nstrings7 = &#91;\n'\\t' + objList + '\\n',\n'\\t{\\n',\n'\\t\\ttype cone;\\n',\n'\\t\\tadditionalRefinementLevels\\t' + RefStr + ';\\n',\n'\\t\\tp0 (' + str(p0X) + MainControl.SPACE_STR + str(p0Y) + MainControl.SPACE_STR + str(p0Z) + ');\\n',\n'\\t\\tp1 (' + str(p1X) + MainControl.SPACE_STR + str(p1Y) + MainControl.SPACE_STR + str(p1Z) + ');\\n',\n'\\t\\t<span class=\"has-inline-color has-vivid-red-color\">radius0<\/span>\\t' + str(<span class=\"has-inline-color has-vivid-red-color\">obj.Radius1.Value<\/span>) + ';\\n',\n'\\t\\t<span class=\"has-inline-color has-vivid-red-color\">radius1<\/span>\\t' + str(<span class=\"has-inline-color has-vivid-red-color\">obj.Radius2.Value<\/span>) + ';\\n',\n'\\t}\\n'\n            ]<\/code><\/pre>\n\n\n\n<p>\u4ee5\u4e0a\u30014\u7a2e\u985e\u306e\u57fa\u672c\u5f62\u72b6\u4ee5\u5916\u306b\u3001cfMesh\u3067\u5b9a\u7fa9\u3067\u304d\u308b\u3082\u306e\u3068\u3057\u3066\u3001hollowCone\u30bf\u30a4\u30d7\u304c\u5b58\u5728\u3059\u308b\u304c\u3001FreeCAD\u4e0a\u3067\u76f8\u5fdc\u3059\u308b\u57fa\u672c\u5f62\u72b6\u304c\u5b58\u5728\u3057\u306a\u3044\u306e\u3067\u3001\u3053\u308c\u306b\u3064\u3044\u3066\u306f\u5b9f\u88c5\u3092\u898b\u9001\u3063\u3066\u3001\u5f93\u6765\u901a\u308a\u30b3\u30e1\u30f3\u30c8\u30a2\u30a6\u30c8\u51fa\u529b\u3092\u6b8b\u3059\u3088\u3046\u306b\u3057\u305f\u3002\u307e\u305f\u3001\u5185\u5074\u304b\u5916\u5074\u306e\u3069\u3061\u3089\u304b\u306eCone\u3092\u4f5c\u6210\u3057\u3066\u304a\u3044\u3066\u3001\u4e21\u7aef\u9762\u306b\u304a\u3051\u308b\u5916\u5074\u307e\u305f\u306f\u5185\u5074\u306e\u5f84\u3060\u3051\u3092\u624b\u4f5c\u696d\u3067\u8ffd\u52a0\u3059\u308b\u3053\u3068\u306f\u3055\u307b\u3069\u9762\u5012\u306a\u4f5c\u696d\u306b\u306f\u306a\u3089\u306a\u3044\u3068\u601d\u308f\u308c\u3001\u3053\u308c\u304c\u5b9f\u88c5\u3067\u304d\u3066\u3044\u306a\u3044\u304b\u3089\u3068\u3044\u3063\u3066\u81f4\u547d\u7684\u3067\u306f\u306a\u3044\u3068\u8003\u3048\u3066\u3044\u308b\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\u30e1\u30c3\u30b7\u30e5\u78ba\u8a8d\u4f8b<\/h3>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-full\"><img decoding=\"async\" width=\"822\" height=\"295\" src=\"https:\/\/ocse2.com\/wp-content\/uploads\/2021\/08\/97708ef6e9cc67bf1a9cb3ae7940b50a.png\" alt=\"\" class=\"wp-image-13341\"\/><figcaption>\u56f341.\u30e1\u30c3\u30b7\u30e5\u78ba\u8a8d\u4f8b<\/figcaption><\/figure><\/div>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"ref1\">\u6ce8\u8a181<\/h4>\n\n\n\n<p>\u50be\u3051\u308b\u306b\u95a2\u3057\u3066\u306f\u3001Box\u30bf\u30a4\u30d7\u3067\u3042\u3063\u3066\u3082FreeCAD\u4e0a\u3067\u306f\u50be\u3051\u308b\u3053\u3068\u306f\u3067\u304d\u308b\u304c\u3001cfMesh\u3067\u306f\u50be\u304d\u3092\u8003\u616e\u3057\u305fBox\u6307\u5b9a\u304c\u3067\u304d\u306a\u3044\u306e\u3067\u3001\u50be\u3044\u305fBox\u30bf\u30a4\u30d7\u3092\u6307\u5b9a\u3059\u308b\u3068\u3001\u50be\u3044\u3066\u3044\u306a\u3044\u72b6\u614b\u306e\u30c7\u30fc\u30bf\u3067\u8a2d\u5b9a\u3055\u308c\u308b\u3053\u3068\u306b\u306a\u308b\u3068\u3044\u3046\u70b9\u306f\u304a\u65ad\u308a\u3057\u3066\u304a\u304f\u3002<\/p>\n\n\n\n<p><a href=\"https:\/\/ocse2.com\/?p=13316\">\u524d\u3078<\/a>\u3000<a href=\"https:\/\/ocse2.com\/?p=13115\">\u76ee\u6b21<\/a>\u3000<a href=\"https:\/\/ocse2.com\/?p=13349\">\u6b21\u3078<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>4.4 FreeCAD\u57fa\u672c\u5f62\u72b6\u3092\u4f7f\u3063\u305f\u7d30\u5206\u5316\u9818\u57df\u8a2d\u5b9a \u9818\u57df\u5185\u90e8\u3092\u7d30\u5206\u5316\u6307\u5b9a\u3059\u308b\u969b\u306b\u3001DEXCS\u30de\u30af\u30ed\u3067\u306fBOX\u9818\u57df\u6307\u5b9a\u3057\u304b\u3067\u304d\u306a\u304b\u3063\u305f\u304c\u3001cfMesh\u672c\u6765\u306e\u8a2d\u5b9a\u3067\u306f\u3001\u7403\u3084\u5186\u9310\u3068\u3044\u3063\u305f\u57fa\u672c\u5f62\u72b6\u3067\u9818\u57df\u3092\u6307\u5b9a\u3059\u308b\u4e8b\u304c\u3067\u304d\u308b\u3002\u3057 [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"categories":[17],"tags":[74,48,28,23,13],"class_list":["post-13333","post","type-post","status-publish","format-standard","hentry","category-toolstips","tag-cfdof","tag-cfmesh","tag-dexcs","tag-freecad","tag-openfoam"],"views":146,"_links":{"self":[{"href":"https:\/\/ocse2.com\/index.php?rest_route=\/wp\/v2\/posts\/13333","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ocse2.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ocse2.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ocse2.com\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/ocse2.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=13333"}],"version-history":[{"count":8,"href":"https:\/\/ocse2.com\/index.php?rest_route=\/wp\/v2\/posts\/13333\/revisions"}],"predecessor-version":[{"id":13371,"href":"https:\/\/ocse2.com\/index.php?rest_route=\/wp\/v2\/posts\/13333\/revisions\/13371"}],"wp:attachment":[{"href":"https:\/\/ocse2.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=13333"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ocse2.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=13333"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ocse2.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=13333"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}