Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Using IfcExtrudedAreaSolidTapered results in "[WEB-IFC][error][GetMesh()] unexpected mesh type ..." error #569

Open
pstowasser01 opened this issue Jan 29, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@pstowasser01
Copy link

What happened?

I am using web-ifc to generate IFC-Files by some parameters. The Object consists of multiple IfcCartesianPoints which form a IfcPolyline that is used to generate an IfcArbitraryClosedProfileDef that I want to extrude...

IfcExtrudedAreaSolid is working just fine, but in my case I have two shapes that need to be connected.

My TestIFC looks like this:
ISO-10303-21;
HEADER;
FILE_DESCRIPTION((),'2;1');
FILE_NAME('TestBinder.ifc','2024-01-29T12:03:25',(),(),'IFC.Step','','');
FILE_SCHEMA(('IFC4'));
ENDSEC;
DATA;
#1=IFCCARTESIANPOINT((0.,0.,0.));
#2=IFCDIRECTION((1.,0.,0.));
#3=IFCDIRECTION((0.,1.,0.));
#4=IFCAXIS2PLACEMENT3D(#1,#2,#3);
#5=IFCDIRECTION((0.,1.));
#6=IFCGEOMETRICREPRESENTATIONCONTEXT($,'NotDefined',3,$,#4,#5);
#7=IFCDIMENSIONALEXPONENTS(1,0,0,0,0,0,0);
#8=IFCSIUNIT(#7,.LENGTHUNIT.,.MILLI.,.METRE.);
#9=IFCUNITASSIGNMENT((#8));
#10=IFCPROJECT('1jB8j4q4528unzDIbEbAOa',$,'TEST PPROJECT',$,$,$,$,(#6),#9);
#11=IFCCARTESIANPOINT((0.,0.,0.));
#12=IFCDIRECTION((1.,0.,0.));
#13=IFCDIRECTION((0.,1.,0.));
#14=IFCAXIS2PLACEMENT3D(#11,#12,#13);
#15=IFCLOCALPLACEMENT($,#14);
#16=IFCBUILDING('33l4423sbA5xL$vdkbd$5P',$,'TEST BUILDING',$,$,#15,$,$,$,$,$,$);
#17=IFCRELAGGREGATES('1l78_xOkL29P6G74jO_H5a',$,$,$,#10,(#16));
#18=IFCCARTESIANPOINT((0.,0.,0.));
#19=IFCDIRECTION((1.,0.,0.));
#20=IFCDIRECTION((0.,1.,0.));
#21=IFCAXIS2PLACEMENT3D(#18,#19,#20);
#22=IFCLOCALPLACEMENT(#15,#21);
#23=IFCBUILDINGSTOREY('2tL0G87sb5xORCkmwAZtTy',$,'TEST STOREY',$,$,#22,$,$,$,$);
#24=IFCRELAGGREGATES('1PlYehWd18zeFnNO4UJc_A',$,$,$,#16,(#23));
#25=IFCCARTESIANPOINT((0.,0.,0.));
#26=IFCDIRECTION((1.,0.,0.));
#27=IFCDIRECTION((0.,1.,0.));
#28=IFCAXIS2PLACEMENT3D(#25,#26,#27);
#29=IFCCARTESIANPOINT((0.,0.,0.));
#30=IFCDIRECTION((1.,0.,0.));
#31=IFCDIRECTION((0.,1.,0.));
#32=IFCAXIS2PLACEMENT3D(#29,#30,#31);
#33=IFCLOCALPLACEMENT(#22,#28);
#34=IFCCARTESIANPOINT((0.,0.));
#35=IFCCARTESIANPOINT((0.,300.));
#36=IFCCARTESIANPOINT((250.,600.));
#37=IFCCARTESIANPOINT((250.,1400.));
#38=IFCCARTESIANPOINT((0.,1700.));
#39=IFCCARTESIANPOINT((0.,2000.));
#40=IFCCARTESIANPOINT((800.,2000.));
#41=IFCCARTESIANPOINT((800.,1700.));
#42=IFCCARTESIANPOINT((550.,1400.));
#43=IFCCARTESIANPOINT((550.,600.));
#44=IFCCARTESIANPOINT((800.,300.));
#45=IFCCARTESIANPOINT((800.,0.));
#46=IFCCARTESIANPOINT((0.,0.));
#47=IFCPOLYLINE((#34,#35,#36,#37,#38,#39,#40,#41,#42,#43,#44,#45,#46));
#48=IFCARBITRARYCLOSEDPROFILEDEF(.AREA.,$,#47);
#49=IFCDIRECTION((0.,0.,1.));
#50=IFCCARTESIANPOINT((0.,0.));
#51=IFCCARTESIANPOINT((0.,300.));
#52=IFCCARTESIANPOINT((250.,600.));
#53=IFCCARTESIANPOINT((250.,2200.));
#54=IFCCARTESIANPOINT((0.,2500.));
#55=IFCCARTESIANPOINT((0.,2800.));
#56=IFCCARTESIANPOINT((800.,2800.));
#57=IFCCARTESIANPOINT((800.,2500.));
#58=IFCCARTESIANPOINT((550.,2200.));
#59=IFCCARTESIANPOINT((550.,600.));
#60=IFCCARTESIANPOINT((800.,300.));
#61=IFCCARTESIANPOINT((800.,0.));
#62=IFCCARTESIANPOINT((0.,0.));
#63=IFCPOLYLINE((#50,#51,#52,#53,#54,#55,#56,#57,#58,#59,#60,#61,#62));
#64=IFCARBITRARYCLOSEDPROFILEDEF(.AREA.,$,#63);
#65=IFCEXTRUDEDAREASOLIDTAPERED(#48,#32,#49,10000.,#64);
#66=IFCSHAPEREPRESENTATION(#6,'Body',$,(#65));
#67=IFCPRODUCTDEFINITIONSHAPE($,$,(#66));
#68=IFCBEAM('2$40TJS7P5Beo5ELZBu_F$',$,'TEST BINDER',$,$,#33,#67,$,$);
#69=IFCRELCONTAINEDINSPATIALSTRUCTURE('0h4mfwD5f9YhCXBV4b49el',$,$,$,(#68),#23);
ENDSEC;
END-ISO-10303-21;

And is looking like this in BIMvision:
image

When using web-ifc I get this error:
image

Version

0.0.50

What browsers are you seeing the problem on?

No response

Relevant log output

No response

Anything else?

No response

@pstowasser01 pstowasser01 added the bug Something isn't working label Jan 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant