bSI-InfraRoom / IFC-Tunnel-Deployment

The IFC Tunnel Deployment documentation, examples and discussions
8 stars 32 forks source link

Attempt to adress issue #197 #198

Closed larswik closed 6 months ago

larswik commented 7 months ago

Used updated LandXML=>IFC converter from Peter Bonsma for IFC Alignment. Attempted to adress issue #197.

Also added the file directly converted from LandXML (TESTSWE_UT_LP4.ifc).

larswik commented 7 months ago

@pjanck : When you have the time: Can you check why the checks failed?

SergejMuhic commented 7 months ago

Apparently no report is being generated.

"Error: No files were found with the provided path: D:\a\IFC-Tunnel-Deployment\IFC-Tunnel-Deployment\results."

My assumption is that Serialization errors are the problem. The IfcCurveMeasureSelect change to IfcLengthMeasure instead of IfcNonNegativeLengthMeasure has not yet been injected into IFC4X4.

I can tell you in the meantime that IfcGeometricRepresentationContext.HasCoordinateOperation cannot have two operations. The uploaded file has both an IfcMapConversion and an IfcRigidOpeartion.

#250 IfcGeometricRepresentationContext failing: The field HasCoordinateOperation must be a string or array type with a maximum length of '1'.
larswik commented 7 months ago

Apparently no report is being generated.

"Error: No files were found with the provided path: D:\a\IFC-Tunnel-Deployment\IFC-Tunnel-Deployment\results."

My assumption is that Serialization errors are the problem. The IfcCurveMeasureSelect change to IfcLengthMeasure instead of IfcNonNegativeLengthMeasure has not yet been injected into IFC4X4.

I can tell you in the meantime that IfcGeometricRepresentationContext.HasCoordinateOperation cannot have two operations. The uploaded file has both an IfcMapConversion and an IfcRigidOpeartion.

#250 IfcGeometricRepresentationContext failing: The field HasCoordinateOperation must be a string or array type with a maximum length of '1'.

Oops. Don't know how that happened. Maybe too much tags along when cloning in the alignment data in the file? Need to check that.

larswik commented 7 months ago

Apparently no report is being generated. "Error: No files were found with the provided path: D:\a\IFC-Tunnel-Deployment\IFC-Tunnel-Deployment\results." My assumption is that Serialization errors are the problem. The IfcCurveMeasureSelect change to IfcLengthMeasure instead of IfcNonNegativeLengthMeasure has not yet been injected into IFC4X4. I can tell you in the meantime that IfcGeometricRepresentationContext.HasCoordinateOperation cannot have two operations. The uploaded file has both an IfcMapConversion and an IfcRigidOpeartion.

#250 IfcGeometricRepresentationContext failing: The field HasCoordinateOperation must be a string or array type with a maximum length of '1'.

Oops. Don't know how that happened. Maybe too much tags along when cloning in the alignment data in the file? Need to check that.

Tried to fix in 4bf23ab

However, serialization issue still present.

pjanck commented 7 months ago

@larswik It seems to work now.

larswik commented 7 months ago

I think that everything (with regards to sprint 2.1) for the 2.1 file should be ok now, except that the schema needs to be updated from 4.3 (i.e. IfcCurveMeasureSelect should use IfcLengthMeasure instead of IfcNonNegativeLengthMeasure).