ソリッド毎に頂点のxyz座標一覧を表示する方法を教えて下さい

Japanese forum
mrrclb48z
Posts: 27
Joined: Wed Feb 07, 2018 11:20 am

ソリッド毎に頂点のxyz座標一覧を表示する方法を教えて下さい

Postby mrrclb48z » Sat Feb 10, 2018 3:50 am

方法1.pythonマクロを使う。
方法2.stepファイル等から抽出する。
(参考)FreeCADのcubeをSTEP出力してみた
https://qiita.com/mrrclb48z/items/453f410d117f87958bd4
よろしくお願いします。
nang9vang
Posts: 1
Joined: Sun Apr 29, 2018 8:14 am

Re: ソリッド毎に頂点のxyz座標一覧を表示する方法を教えて下さい

Postby nang9vang » Sun Apr 29, 2018 8:32 am

FreeCADのcubeをSTEP出力してみた
396行あります。

Thank you

my to visit blog: https://www.xedulichminhduc.com.vn
ISO-10303-21;
HEADER;
FILE_DESCRIPTION(('FreeCAD Model'),'2;1');
FILE_NAME(
'C:/Users/CubeStep.step',
'2018-02-09T20:08:05',('Author'),(''),
'Open CASCADE STEP processor 6.8','FreeCAD','Unknown');
FILE_SCHEMA(('AUTOMOTIVE_DESIGN_CC2 { 1 2 10303 214 -1 1 5 4 }'));
ENDSEC;
DATA;
#1 = APPLICATION_PROTOCOL_DEFINITION('committee draft',
'automotive_design',1997,#2);
#2 = APPLICATION_CONTEXT(
'core data for automotive mechanical design processes');
#3 = SHAPE_DEFINITION_REPRESENTATION(#4,#10);
#4 = PRODUCT_DEFINITION_SHAPE('','',#5);
#5 = PRODUCT_DEFINITION('design','',#6,#9);
#6 = PRODUCT_DEFINITION_FORMATION('','',#7);
#7 = PRODUCT('ASSEMBLY','ASSEMBLY','',(#8));
#8 = MECHANICAL_CONTEXT('',#2,'mechanical');
#9 = PRODUCT_DEFINITION_CONTEXT('part definition',#2,'design');
#10 = SHAPE_REPRESENTATION('',(#11,#15),#19);
#11 = AXIS2_PLACEMENT_3D('',#12,#13,#14);
#12 = CARTESIAN_POINT('',(0.E+000,0.E+000,0.E+000));
#13 = DIRECTION('',(0.E+000,0.E+000,1.));
#14 = DIRECTION('',(1.,0.E+000,-0.E+000));
#15 = AXIS2_PLACEMENT_3D('',#16,#17,#18);
#16 = CARTESIAN_POINT('',(0.E+000,0.E+000,0.E+000));
#17 = DIRECTION('',(0.E+000,0.E+000,1.));
#18 = DIRECTION('',(1.,0.E+000,0.E+000));
#19 = ( GEOMETRIC_REPRESENTATION_CONTEXT(3)
GLOBAL_UNCERTAINTY_ASSIGNED_CONTEXT((#23)) GLOBAL_UNIT_ASSIGNED_CONTEXT(
(#20,#21,#22)) REPRESENTATION_CONTEXT('Context #1',
'3D Context with UNIT and UNCERTAINTY') );
#20 = ( LENGTH_UNIT() NAMED_UNIT(*) SI_UNIT(.MILLI.,.METRE.) );
#21 = ( NAMED_UNIT(*) PLANE_ANGLE_UNIT() SI_UNIT($,.RADIAN.) );
#22 = ( NAMED_UNIT(*) SI_UNIT($,.STERADIAN.) SOLID_ANGLE_UNIT() );
#23 = UNCERTAINTY_MEASURE_WITH_UNIT(LENGTH_MEASURE(1.E-007),#20,
'distance_accuracy_value','confusion accuracy');
#24 = PRODUCT_TYPE('part',$,(#7));
#25 = ADVANCED_BREP_SHAPE_REPRESENTATION('',(#11,#26),#356);
#26 = MANIFOLD_SOLID_BREP('',#27);
#27 = CLOSED_SHELL('',(#28,#148,#248,#295,#342,#349));
#28 = ADVANCED_FACE('',(#29),#43,.F.);
#29 = FACE_BOUND('',#30,.F.);
#30 = EDGE_LOOP('',(#31,#66,#94,#122));
#31 = ORIENTED_EDGE('',*,*,#32,.F.);
#32 = EDGE_CURVE('',#33,#35,#37,.T.);
#33 = VERTEX_POINT('',#34);
#34 = CARTESIAN_POINT('',(0.E+000,0.E+000,0.E+000));
#35 = VERTEX_POINT('',#36);
#36 = CARTESIAN_POINT('',(0.E+000,0.E+000,10.));
#37 = SURFACE_CURVE('',#38,(#42,#54),.PCURVE_S1.);
#38 = LINE('',#39,#40);
#39 = CARTESIAN_POINT('',(0.E+000,0.E+000,0.E+000));
#40 = VECTOR('',#41,1.);
#41 = DIRECTION('',(0.E+000,0.E+000,1.));
#42 = PCURVE('',#43,#48);
#43 = PLANE('',#44);
#44 = AXIS2_PLACEMENT_3D('',#45,#46,#47);
#45 = CARTESIAN_POINT('',(0.E+000,0.E+000,0.E+000));
#46 = DIRECTION('',(1.,0.E+000,-0.E+000));
#47 = DIRECTION('',(0.E+000,0.E+000,1.));
#48 = DEFINITIONAL_REPRESENTATION('',(#49),#53);
#49 = LINE('',#50,#51);
#50 = CARTESIAN_POINT('',(0.E+000,0.E+000));
#51 = VECTOR('',#52,1.);
#52 = DIRECTION('',(1.,0.E+000));
#53 = ( GEOMETRIC_REPRESENTATION_CONTEXT(2)
PARAMETRIC_REPRESENTATION_CONTEXT() REPRESENTATION_CONTEXT('2D SPACE',''
) );
#54 = PCURVE('',#55,#60);
#55 = PLANE('',#56);
#56 = AXIS2_PLACEMENT_3D('',#57,#58,#59);
#57 = CARTESIAN_POINT('',(0.E+000,0.E+000,0.E+000));
#58 = DIRECTION('',(-0.E+000,1.,0.E+000));
#59 = DIRECTION('',(0.E+000,0.E+000,1.));
#60 = DEFINITIONAL_REPRESENTATION('',(#61),#65);
#61 = LINE('',#62,#63);
#62 = CARTESIAN_POINT('',(0.E+000,0.E+000));
#63 = VECTOR('',#64,1.);
#64 = DIRECTION('',(1.,0.E+000));
#65 = ( GEOMETRIC_REPRESENTATION_CONTEXT(2)
PARAMETRIC_REPRESENTATION_CONTEXT() REPRESENTATION_CONTEXT('2D SPACE',''
) );
#66 = ORIENTED_EDGE('',*,*,#67,.T.);
#67 = EDGE_CURVE('',#33,#68,#70,.T.);
#68 = VERTEX_POINT('',#69);
#69 = CARTESIAN_POINT('',(0.E+000,10.,0.E+000));
#70 = SURFACE_CURVE('',#71,(#75,#82),.PCURVE_S1.);
#71 = LINE('',#72,#73);
#72 = CARTESIAN_POINT('',(0.E+000,0.E+000,0.E+000));
#73 = VECTOR('',#74,1.);
#74 = DIRECTION('',(-0.E+000,1.,0.E+000));
#75 = PCURVE('',#43,#76);
#76 = DEFINITIONAL_REPRESENTATION('',(#77),#81);
#77 = LINE('',#78,#79);
#78 = CARTESIAN_POINT('',(0.E+000,0.E+000));
#79 = VECTOR('',#80,1.);
#80 = DIRECTION('',(0.E+000,-1.));
#81 = ( GEOMETRIC_REPRESENTATION_CONTEXT(2)
PARAMETRIC_REPRESENTATION_CONTEXT() REPRESENTATION_CONTEXT('2D SPACE',''
) );
#82 = PCURVE('',#83,#88);
#83 = PLANE('',#84);
#84 = AXIS2_PLACEMENT_3D('',#85,#86,#87);
#85 = CARTESIAN_POINT('',(0.E+000,0.E+000,0.E+000));
#86 = DIRECTION('',(0.E+000,0.E+000,1.));
#87 = DIRECTION('',(1.,0.E+000,-0.E+000));
#88 = DEFINITIONAL_REPRESENTATION('',(#89),#93);
#89 = LINE('',#90,#91);
#90 = CARTESIAN_POINT('',(0.E+000,0.E+000));
#91 = VECTOR('',#92,1.);
#92 = DIRECTION('',(0.E+000,1.));
#93 = ( GEOMETRIC_REPRESENTATION_CONTEXT(2)
PARAMETRIC_REPRESENTATION_CONTEXT() REPRESENTATION_CONTEXT('2D SPACE',''
) );
#94 = ORIENTED_EDGE('',*,*,#95,.T.);
#95 = EDGE_CURVE('',#68,#96,#98,.T.);
#96 = VERTEX_POINT('',#97);
#97 = CARTESIAN_POINT('',(0.E+000,10.,10.));
#98 = SURFACE_CURVE('',#99,(#103,#110),.PCURVE_S1.);
#99 = LINE('',#100,#101);
#100 = CARTESIAN_POINT('',(0.E+000,10.,0.E+000));
#101 = VECTOR('',#102,1.);
#102 = DIRECTION('',(0.E+000,0.E+000,1.));
#103 = PCURVE('',#43,#104);
#104 = DEFINITIONAL_REPRESENTATION('',(#105),#109);
#105 = LINE('',#106,#107);
#106 = CARTESIAN_POINT('',(0.E+000,-10.));
#107 = VECTOR('',#108,1.);
#108 = DIRECTION('',(1.,0.E+000));
#109 = ( GEOMETRIC_REPRESENTATION_CONTEXT(2)
PARAMETRIC_REPRESENTATION_CONTEXT() REPRESENTATION_CONTEXT('2D SPACE',''
) );
#110 = PCURVE('',#111,#116);
#111 = PLANE('',#112);
#112 = AXIS2_PLACEMENT_3D('',#113,#114,#115);
#113 = CARTESIAN_POINT('',(0.E+000,10.,0.E+000));
#114 = DIRECTION('',(-0.E+000,1.,0.E+000));
#115 = DIRECTION('',(0.E+000,0.E+000,1.));
#116 = DEFINITIONAL_REPRESENTATION('',(#117),#121);
#117 = LINE('',#118,#119);
#118 = CARTESIAN_POINT('',(0.E+000,0.E+000));
#119 = VECTOR('',#120,1.);
#120 = DIRECTION('',(1.,0.E+000));
#121 = ( GEOMETRIC_REPRESENTATION_CONTEXT(2)
PARAMETRIC_REPRESENTATION_CONTEXT() REPRESENTATION_CONTEXT('2D SPACE',''
) );
#122 = ORIENTED_EDGE('',*,*,#123,.F.);
#123 = EDGE_CURVE('',#35,#96,#124,.T.);
#124 = SURFACE_CURVE('',#125,(#129,#136),.PCURVE_S1.);
#125 = LINE('',#126,#127);
#126 = CARTESIAN_POINT('',(0.E+000,0.E+000,10.));
#127 = VECTOR('',#128,1.);
#128 = DIRECTION('',(-0.E+000,1.,0.E+000));
#129 = PCURVE('',#43,#130);
#130 = DEFINITIONAL_REPRESENTATION('',(#131),#135);
#131 = LINE('',#132,#133);
#132 = CARTESIAN_POINT('',(10.,0.E+000));
#133 = VECTOR('',#134,1.);
#134 = DIRECTION('',(0.E+000,-1.));
#135 = ( GEOMETRIC_REPRESENTATION_CONTEXT(2)
PARAMETRIC_REPRESENTATION_CONTEXT() REPRESENTATION_CONTEXT('2D SPACE',''
) );
#136 = PCURVE('',#137,#142);
#137 = PLANE('',#138);
#138 = AXIS2_PLACEMENT_3D('',#139,#140,#141);
#139 = CARTESIAN_POINT('',(0.E+000,0.E+000,10.));
#140 = DIRECTION('',(0.E+000,0.E+000,1.));
#141 = DIRECTION('',(1.,0.E+000,-0.E+000));
#142 = DEFINITIONAL_REPRESENTATION('',(#143),#147);
#143 = LINE('',#144,#145);
#144 = CARTESIAN_POINT('',(0.E+000,0.E+000));
#145 = VECTOR('',#146,1.);
#146 = DIRECTION('',(0.E+000,1.));
#147 = ( GEOMETRIC_REPRESENTATION_CONTEXT(2)
PARAMETRIC_REPRESENTATION_CONTEXT() REPRESENTATION_CONTEXT('2D SPACE',''
) );
#148 = ADVANCED_FACE('',(#149),#163,.T.);
#149 = FACE_BOUND('',#150,.T.);
#150 = EDGE_LOOP('',(#151,#181,#204,#227));
#151 = ORIENTED_EDGE('',*,*,#152,.F.);
#152 = EDGE_CURVE('',#153,#155,#157,.T.);
#153 = VERTEX_POINT('',#154);
#154 = CARTESIAN_POINT('',(10.,0.E+000,0.E+000));
#155 = VERTEX_POINT('',#156);
#156 = CARTESIAN_POINT('',(10.,0.E+000,10.));
#157 = SURFACE_CURVE('',#158,(#162,#174),.PCURVE_S1.);
#158 = LINE('',#159,#160);
#159 = CARTESIAN_POINT('',(10.,0.E+000,0.E+000));
#160 = VECTOR('',#161,1.);
#161 = DIRECTION('',(0.E+000,0.E+000,1.));
#162 = PCURVE('',#163,#168);
#163 = PLANE('',#164);
#164 = AXIS2_PLACEMENT_3D('',#165,#166,#167);
#165 = CARTESIAN_POINT('',(10.,0.E+000,0.E+000));
#166 = DIRECTION('',(1.,0.E+000,-0.E+000));
#167 = DIRECTION('',(0.E+000,0.E+000,1.));
#168 = DEFINITIONAL_REPRESENTATION('',(#169),#173);
#169 = LINE('',#170,#171);
#170 = CARTESIAN_POINT('',(0.E+000,0.E+000));
#171 = VECTOR('',#172,1.);
#172 = DIRECTION('',(1.,0.E+000));
#173 = ( GEOMETRIC_REPRESENTATION_CONTEXT(2)
PARAMETRIC_REPRESENTATION_CONTEXT() REPRESENTATION_CONTEXT('2D SPACE',''
) );
#174 = PCURVE('',#55,#175);
#175 = DEFINITIONAL_REPRESENTATION('',(#176),#180);
#176 = LINE('',#177,#178);
#177 = CARTESIAN_POINT('',(0.E+000,10.));
#178 = VECTOR('',#179,1.);
#179 = DIRECTION('',(1.,0.E+000));
#180 = ( GEOMETRIC_REPRESENTATION_CONTEXT(2)
PARAMETRIC_REPRESENTATION_CONTEXT() REPRESENTATION_CONTEXT('2D SPACE',''
) );
#181 = ORIENTED_EDGE('',*,*,#182,.T.);
#182 = EDGE_CURVE('',#153,#183,#185,.T.);
#183 = VERTEX_POINT('',#184);
#184 = CARTESIAN_POINT('',(10.,10.,0.E+000));
#185 = SURFACE_CURVE('',#186,(#190,#197),.PCURVE_S1.);
#186 = LINE('',#187,#188);
#187 = CARTESIAN_POINT('',(10.,0.E+000,0.E+000));
#188 = VECTOR('',#189,1.);
#189 = DIRECTION('',(-0.E+000,1.,0.E+000));
#190 = PCURVE('',#163,#191);
#191 = DEFINITIONAL_REPRESENTATION('',(#192),#196);
#192 = LINE('',#193,#194);
#193 = CARTESIAN_POINT('',(0.E+000,0.E+000));
#194 = VECTOR('',#195,1.);
#195 = DIRECTION('',(0.E+000,-1.));
#196 = ( GEOMETRIC_REPRESENTATION_CONTEXT(2)
PARAMETRIC_REPRESENTATION_CONTEXT() REPRESENTATION_CONTEXT('2D SPACE',''
) );
#197 = PCURVE('',#83,#198);
#198 = DEFINITIONAL_REPRESENTATION('',(#199),#203);
#199 = LINE('',#200,#201);
#200 = CARTESIAN_POINT('',(10.,0.E+000));
#201 = VECTOR('',#202,1.);
#202 = DIRECTION('',(0.E+000,1.));
#203 = ( GEOMETRIC_REPRESENTATION_CONTEXT(2)
PARAMETRIC_REPRESENTATION_CONTEXT() REPRESENTATION_CONTEXT('2D SPACE',''
) );
#204 = ORIENTED_EDGE('',*,*,#205,.T.);
#205 = EDGE_CURVE('',#183,#206,#208,.T.);
#206 = VERTEX_POINT('',#207);
#207 = CARTESIAN_POINT('',(10.,10.,10.));
#208 = SURFACE_CURVE('',#209,(#213,#220),.PCURVE_S1.);
#209 = LINE('',#210,#211);
#210 = CARTESIAN_POINT('',(10.,10.,0.E+000));
#211 = VECTOR('',#212,1.);
#212 = DIRECTION('',(0.E+000,0.E+000,1.));
#213 = PCURVE('',#163,#214);
#214 = DEFINITIONAL_REPRESENTATION('',(#215),#219);
#215 = LINE('',#216,#217);
#216 = CARTESIAN_POINT('',(0.E+000,-10.));
#217 = VECTOR('',#218,1.);
#218 = DIRECTION('',(1.,0.E+000));
#219 = ( GEOMETRIC_REPRESENTATION_CONTEXT(2)
PARAMETRIC_REPRESENTATION_CONTEXT() REPRESENTATION_CONTEXT('2D SPACE',''
) );
#220 = PCURVE('',#111,#221);
#221 = DEFINITIONAL_REPRESENTATION('',(#222),#226);
#222 = LINE('',#223,#224);
#223 = CARTESIAN_POINT('',(0.E+000,10.));
#224 = VECTOR('',#225,1.);
#225 = DIRECTION('',(1.,0.E+000));
#226 = ( GEOMETRIC_REPRESENTATION_CONTEXT(2)
PARAMETRIC_REPRESENTATION_CONTEXT() REPRESENTATION_CONTEXT('2D SPACE',''
) );
#227 = ORIENTED_EDGE('',*,*,#228,.F.);
#228 = EDGE_CURVE('',#155,#206,#229,.T.);
#229 = SURFACE_CURVE('',#230,(#234,#241),.PCURVE_S1.);
#230 = LINE('',#231,#232);
#231 = CARTESIAN_POINT('',(10.,0.E+000,10.));
#232 = VECTOR('',#233,1.);
#233 = DIRECTION('',(0.E+000,1.,0.E+000));
#234 = PCURVE('',#163,#235);
#235 = DEFINITIONAL_REPRESENTATION('',(#236),#240);
#236 = LINE('',#237,#238);
#237 = CARTESIAN_POINT('',(10.,0.E+000));
#238 = VECTOR('',#239,1.);
#239 = DIRECTION('',(0.E+000,-1.));
#240 = ( GEOMETRIC_REPRESENTATION_CONTEXT(2)
PARAMETRIC_REPRESENTATION_CONTEXT() REPRESENTATION_CONTEXT('2D SPACE',''
) );
#241 = PCURVE('',#137,#242);
#242 = DEFINITIONAL_REPRESENTATION('',(#243),#247);
#243 = LINE('',#244,#245);
#244 = CARTESIAN_POINT('',(10.,0.E+000));
#245 = VECTOR('',#246,1.);
#246 = DIRECTION('',(0.E+000,1.));
#247 = ( GEOMETRIC_REPRESENTATION_CONTEXT(2)
PARAMETRIC_REPRESENTATION_CONTEXT() REPRESENTATION_CONTEXT('2D SPACE',''
) );
#248 = ADVANCED_FACE('',(#249),#55,.F.);
#249 = FACE_BOUND('',#250,.F.);
#250 = EDGE_LOOP('',(#251,#272,#273,#294));
#251 = ORIENTED_EDGE('',*,*,#252,.F.);
#252 = EDGE_CURVE('',#33,#153,#253,.T.);
#253 = SURFACE_CURVE('',#254,(#258,#265),.PCURVE_S1.);
#254 = LINE('',#255,#256);
#255 = CARTESIAN_POINT('',(0.E+000,0.E+000,0.E+000));
#256 = VECTOR('',#257,1.);
#257 = DIRECTION('',(1.,0.E+000,-0.E+000));
#258 = PCURVE('',#55,#259);
#259 = DEFINITIONAL_REPRESENTATION('',(#260),#264);
#260 = LINE('',#261,#262);
#261 = CARTESIAN_POINT('',(0.E+000,0.E+000));
#262 = VECTOR('',#263,1.);
#263 = DIRECTION('',(0.E+000,1.));
#264 = ( GEOMETRIC_REPRESENTATION_CONTEXT(2)
PARAMETRIC_REPRESENTATION_CONTEXT() REPRESENTATION_CONTEXT('2D SPACE',''
) );
#265 = PCURVE('',#83,#266);
#266 = DEFINITIONAL_REPRESENTATION('',(#267),#271);
#267 = LINE('',#268,#269);
#268 = CARTESIAN_POINT('',(0.E+000,0.E+000));
#269 = VECTOR('',#270,1.);
#270 = DIRECTION('',(1.,0.E+000));
#271 = ( GEOMETRIC_REPRESENTATION_CONTEXT(2)
PARAMETRIC_REPRESENTATION_CONTEXT() REPRESENTATION_CONTEXT('2D SPACE',''
) );
#272 = ORIENTED_EDGE('',*,*,#32,.T.);
#273 = ORIENTED_EDGE('',*,*,#274,.T.);
#274 = EDGE_CURVE('',#35,#155,#275,.T.);
#275 = SURFACE_CURVE('',#276,(#280,#287),.PCURVE_S1.);
#276 = LINE('',#277,#278);
#277 = CARTESIAN_POINT('',(0.E+000,0.E+000,10.));
#278 = VECTOR('',#279,1.);
#279 = DIRECTION('',(1.,0.E+000,-0.E+000));
#280 = PCURVE('',#55,#281);
#281 = DEFINITIONAL_REPRESENTATION('',(#282),#286);
#282 = LINE('',#283,#284);
#283 = CARTESIAN_POINT('',(10.,0.E+000));
#284 = VECTOR('',#285,1.);
#285 = DIRECTION('',(0.E+000,1.));
#286 = ( GEOMETRIC_REPRESENTATION_CONTEXT(2)
PARAMETRIC_REPRESENTATION_CONTEXT() REPRESENTATION_CONTEXT('2D SPACE',''
) );
#287 = PCURVE('',#137,#288);
#288 = DEFINITIONAL_REPRESENTATION('',(#289),#293);
#289 = LINE('',#290,#291);
#290 = CARTESIAN_POINT('',(0.E+000,0.E+000));
#291 = VECTOR('',#292,1.);
#292 = DIRECTION('',(1.,0.E+000));
#293 = ( GEOMETRIC_REPRESENTATION_CONTEXT(2)
PARAMETRIC_REPRESENTATION_CONTEXT() REPRESENTATION_CONTEXT('2D SPACE',''
) );
#294 = ORIENTED_EDGE('',*,*,#152,.F.);
#295 = ADVANCED_FACE('',(#296),#111,.T.);
#296 = FACE_BOUND('',#297,.T.);
#297 = EDGE_LOOP('',(#298,#319,#320,#341));
#298 = ORIENTED_EDGE('',*,*,#299,.F.);
#299 = EDGE_CURVE('',#68,#183,#300,.T.);
#300 = SURFACE_CURVE('',#301,(#305,#312),.PCURVE_S1.);
#301 = LINE('',#302,#303);
#302 = CARTESIAN_POINT('',(0.E+000,10.,0.E+000));
#303 = VECTOR('',#304,1.);
#304 = DIRECTION('',(1.,0.E+000,-0.E+000));
#305 = PCURVE('',#111,#306);
#306 = DEFINITIONAL_REPRESENTATION('',(#307),#311);
#307 = LINE('',#308,#309);
#308 = CARTESIAN_POINT('',(0.E+000,0.E+000));
#309 = VECTOR('',#310,1.);
#310 = DIRECTION('',(0.E+000,1.));
#311 = ( GEOMETRIC_REPRESENTATION_CONTEXT(2)
PARAMETRIC_REPRESENTATION_CONTEXT() REPRESENTATION_CONTEXT('2D SPACE',''
) );
#312 = PCURVE('',#83,#313);
#313 = DEFINITIONAL_REPRESENTATION('',(#314),#318);
#314 = LINE('',#315,#316);
#315 = CARTESIAN_POINT('',(0.E+000,10.));
#316 = VECTOR('',#317,1.);
#317 = DIRECTION('',(1.,0.E+000));
#318 = ( GEOMETRIC_REPRESENTATION_CONTEXT(2)
PARAMETRIC_REPRESENTATION_CONTEXT() REPRESENTATION_CONTEXT('2D SPACE',''
) );
#319 = ORIENTED_EDGE('',*,*,#95,.T.);
#320 = ORIENTED_EDGE('',*,*,#321,.T.);
#321 = EDGE_CURVE('',#96,#206,#322,.T.);
#322 = SURFACE_CURVE('',#323,(#327,#334),.PCURVE_S1.);
#323 = LINE('',#324,#325);
#324 = CARTESIAN_POINT('',(0.E+000,10.,10.));
#325 = VECTOR('',#326,1.);
#326 = DIRECTION('',(1.,0.E+000,-0.E+000));
#327 = PCURVE('',#111,#328);
#328 = DEFINITIONAL_REPRESENTATION('',(#329),#333);
#329 = LINE('',#330,#331);
#330 = CARTESIAN_POINT('',(10.,0.E+000));
#331 = VECTOR('',#332,1.);
#332 = DIRECTION('',(0.E+000,1.));
#333 = ( GEOMETRIC_REPRESENTATION_CONTEXT(2)
PARAMETRIC_REPRESENTATION_CONTEXT() REPRESENTATION_CONTEXT('2D SPACE',''
) );
#334 = PCURVE('',#137,#335);
#335 = DEFINITIONAL_REPRESENTATION('',(#336),#340);
#336 = LINE('',#337,#338);
#337 = CARTESIAN_POINT('',(0.E+000,10.));
#338 = VECTOR('',#339,1.);
#339 = DIRECTION('',(1.,0.E+000));
#340 = ( GEOMETRIC_REPRESENTATION_CONTEXT(2)
PARAMETRIC_REPRESENTATION_CONTEXT() REPRESENTATION_CONTEXT('2D SPACE',''
) );
#341 = ORIENTED_EDGE('',*,*,#205,.F.);
#342 = ADVANCED_FACE('',(#343),#83,.F.);
#343 = FACE_BOUND('',#344,.F.);
#344 = EDGE_LOOP('',(#345,#346,#347,#348));
#345 = ORIENTED_EDGE('',*,*,#67,.F.);
#346 = ORIENTED_EDGE('',*,*,#252,.T.);
#347 = ORIENTED_EDGE('',*,*,#182,.T.);
#348 = ORIENTED_EDGE('',*,*,#299,.F.);
#349 = ADVANCED_FACE('',(#350),#137,.T.);
#350 = FACE_BOUND('',#351,.T.);
#351 = EDGE_LOOP('',(#352,#353,#354,#355));
#352 = ORIENTED_EDGE('',*,*,#123,.F.);
#353 = ORIENTED_EDGE('',*,*,#274,.T.);
#354 = ORIENTED_EDGE('',*,*,#228,.T.);
#355 = ORIENTED_EDGE('',*,*,#321,.F.);
#356 = ( GEOMETRIC_REPRESENTATION_CONTEXT(3)
GLOBAL_UNCERTAINTY_ASSIGNED_CONTEXT((#360)) GLOBAL_UNIT_ASSIGNED_CONTEXT
((#357,#358,#359)) REPRESENTATION_CONTEXT('Context #1',
'3D Context with UNIT and UNCERTAINTY') );
#357 = ( LENGTH_UNIT() NAMED_UNIT(*) SI_UNIT(.MILLI.,.METRE.) );
#358 = ( NAMED_UNIT(*) PLANE_ANGLE_UNIT() SI_UNIT($,.RADIAN.) );
#359 = ( NAMED_UNIT(*) SI_UNIT($,.STERADIAN.) SOLID_ANGLE_UNIT() );
#360 = UNCERTAINTY_MEASURE_WITH_UNIT(LENGTH_MEASURE(1.E-007),#357,
'distance_accuracy_value','confusion accuracy');
#361 = SHAPE_DEFINITION_REPRESENTATION(#362,#25);
#362 = PRODUCT_DEFINITION_SHAPE('','',#363);
#363 = PRODUCT_DEFINITION('design','',#364,#367);
#364 = PRODUCT_DEFINITION_FORMATION('','',#365);
#365 = PRODUCT('Cube','Cube','',(#366));
#366 = MECHANICAL_CONTEXT('',#2,'mechanical');
#367 = PRODUCT_DEFINITION_CONTEXT('part definition',#2,'design');
#368 = CONTEXT_DEPENDENT_SHAPE_REPRESENTATION(#369,#371);
#369 = ( REPRESENTATION_RELATIONSHIP('','',#25,#10)
REPRESENTATION_RELATIONSHIP_WITH_TRANSFORMATION(#370)
SHAPE_REPRESENTATION_RELATIONSHIP() );
#370 = ITEM_DEFINED_TRANSFORMATION('','',#11,#15);
#371 = PRODUCT_DEFINITION_SHAPE('Placement','Placement of an item',#372
);
#372 = NEXT_ASSEMBLY_USAGE_OCCURRENCE('1','=>[0:1:1:2]','',#5,#363,$);
#373 = PRODUCT_TYPE('part',$,(#365));
#374 = MECHANICAL_DESIGN_GEOMETRIC_PRESENTATION_REPRESENTATION('',(#375)
,#356);
#375 = STYLED_ITEM('color',(#376),#26);
#376 = PRESENTATION_STYLE_ASSIGNMENT((#377,#383));
#377 = SURFACE_STYLE_USAGE(.BOTH.,#378);
#378 = SURFACE_SIDE_STYLE('',(#379));
#379 = SURFACE_STYLE_FILL_AREA(#380);
#380 = FILL_AREA_STYLE('',(#381));
#381 = FILL_AREA_STYLE_COLOUR('',#382);
#382 = COLOUR_RGB('',0.800000011921,0.800000011921,0.800000011921);
#383 = CURVE_STYLE('',#384,POSITIVE_LENGTH_MEASURE(0.1),#382);
#384 = DRAUGHTING_PRE_DEFINED_CURVE_FONT('continuous');
ENDSEC;
END-ISO-10303-21;
Last edited by nang9vang on Sun Jun 17, 2018 4:46 am, edited 1 time in total.
DudleyCondon3
Posts: 4
Joined: Tue Jul 04, 2017 9:53 pm

Re: ソリッド毎に頂点のxyz座標一覧を表示する方法を教えて下さい

Postby DudleyCondon3 » Fri May 04, 2018 11:16 pm

角を作る方法?