Ifc椭圆形楼板
ifc文件内容
ISO-10303-21;
HEADER;
FILE_DESCRIPTION((‘‘),‘‘);
FILE_NAME(‘‘,‘‘,(‘‘),(‘‘),‘‘,‘‘,‘‘);
FILE_SCHEMA((‘IFC4‘));
ENDSEC;
DATA;
#1= IFCORGANIZATION($,$,$,$,$);
#5= IFCAPPLICATION(#1,$,$);
#6= IFCCARTESIANPOINT((0.,0.,0.));
#10= IFCCARTESIANPOINT((0.,0.));
#14= IFCDIRECTION((-1.,0.,0.));
#20= IFCDIRECTION((0.,0.,1.));
#22= IFCDIRECTION((0.,0.,-1.));
#24= IFCDIRECTION((1.,0.));
#32= IFCAXIS2PLACEMENT3D(#6,$,$);
#33= IFCLOCALPLACEMENT(#343,#32);
#36= IFCPERSON($,‘‘,‘Administrator‘,$,$,$,$,$);
#38= IFCORGANIZATION($,‘‘,‘‘,$,$);
#39= IFCPERSONANDORGANIZATION(#36,#38,$);
#42= IFCOWNERHISTORY(#39,#5,$,.NOCHANGE.,$,$,$,1629163271);
#96= IFCAXIS2PLACEMENT3D(#6,$,$);
#97= IFCDIRECTION((6.12303176911189E-17,1.));
#99= IFCGEOMETRICREPRESENTATIONCONTEXT($,‘Model‘,3,0.01,#96,#97);
#105= IFCGEOMETRICREPRESENTATIONSUBCONTEXT(‘Body‘,‘Model‘,*,*,*,*,#99,$,.MODEL_VIEW.,$);
#158= IFCAXIS2PLACEMENT3D(#6,$,$);
#159= IFCLOCALPLACEMENT(#33,#158);
#171= IFCAXIS2PLACEMENT3D(#6,$,$);
#172= IFCLOCALPLACEMENT(#159,#171);
#173= IFCAXIS2PLACEMENT2D(#10,#24);
#174= IFCELLIPSE(#173,7000.,1800.);
#175= IFCTRIMMEDCURVE(#174,(IFCPARAMETERVALUE(180.)),(IFCPARAMETERVALUE(0.)),.T.,.PARAMETER.);
#178= IFCCOMPOSITECURVESEGMENT(.CONTINUOUS.,.T.,#175);
#180= IFCAXIS2PLACEMENT2D(#10,#24);
#181= IFCELLIPSE(#180,7000.,1800.);
#182= IFCTRIMMEDCURVE(#181,(IFCPARAMETERVALUE(0.)),(IFCPARAMETERVALUE(180.)),.T.,.PARAMETER.);
#185= IFCCOMPOSITECURVESEGMENT(.CONTINUOUS.,.T.,#182);
#186= IFCCOMPOSITECURVE((#178,#185),.F.);
#190= IFCARBITRARYCLOSEDPROFILEDEF(.AREA.,$,#186);
#193= IFCCARTESIANPOINT((-193.224374796698,-358.074271434153,0.));
#195= IFCAXIS2PLACEMENT3D(#193,#22,#14);
#196= IFCEXTRUDEDAREASOLID(#190,#195,#20,362.);
#206= IFCSHAPEREPRESENTATION(#105,‘Body‘,‘SweptSolid‘,(#196));
#213= IFCPRODUCTDEFINITIONSHAPE($,$,(#206));
#218= IFCSLAB(‘1E2CHo74X9gxg3Pa7X1TKR‘,#42,‘\X2\62117684\X0\‘,$,$,#172,#213,‘212075‘,.FLOOR.);
#342= IFCAXIS2PLACEMENT3D(#6,$,$);
#343= IFCLOCALPLACEMENT($,#342);
ENDSEC;
END-ISO-10303-21;
ifc解析以后的内容
IfcSlab #218:[
Name:我的
GlobalId:1E2CHo74X9gxg3Pa7X1TKR
OwnerHistory:#42 IfcOwnerHistory
Direction:[0.0 0.0 1.0 ]
CartesianPoint:[-193.224374796698 -358.074271434153 0.0 ]
coordinates:[0.0 0.0 ]
direction:[1.0 0.0 ]
Axis1:7000.0
Axis2:1800.0
Trim1:0.0
Trim2:180.0
representation Identifier:Body
representation Type:SweptSolid
context Identifier:Body
context Type:Model
depth:362.0
]
ifcslab ——楼板名称中文编码:
String name1 = "我的";
System.out.println(strTo16(name1));
public static String strTo16(String s) { String str = ""; for (int i = 0; i < s.length(); i++) { int ch = (int) s.charAt(i); String s4 = Integer.toHexString(ch); str = str + s4; } return str; }
可解析,可导入到revit
#############
#