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

ifc4x2 또는 ifc4x3 파일이 F4D로 변환이 안 됩니다. #2

Open
JinDaeYoon opened this issue May 20, 2021 · 2 comments
Open

Comments

@JinDaeYoon
Copy link

ifc 파일 포맷 중에서, ifc4x2 포맷의 파일과 ifc4x3 포맷의 파일이 변환이 안됩니다.

데이터는 https://www.ifcwiki.org/index.php?title=KIT_IFC_Examples 이곳에서 참조했습니다.
사용한 ifc4 파일은 FZK Haus이고 파일 이름을 ifc4.ifc로 변경했습니다. ifc4x2와 ifc4x3도 각각 KIT-BridgeKIT-Simple-Road-Test 파일을 ifc4x2.ifcifc4x3.ifc로 변경해서 input 디렉토리에 추가했습니다.

그 후에, docker 폴더의 .dockerfile로 컨테이너를 빌드 한 뒤 컨테이너 내부에서 아래의 명령어를 사용했습니다.
(컨테이너 내부와 input 디렉토리는 연결되어 있습니다)

F4DConverter -inputFolder input -outputFolder output -log logs -meshType 1 -indexing y

컨테이너 내에서 에러 메세지는 다음과 같습니다.

[root@348fded83bd9 app]# F4DConverter -inputFolder input -outputFolder output -log logs -meshType 1 -indexing y
[Info]Arguments are following.
-indexing : y
-inputFolder : input
-log : logs
-meshType : 1
-outputFolder : output
programPath : F4DConverter
Can not find Proj4 serchpath location : proj
Starting GLFW context with OpenGL
OpenGL2.1 Mesa 18.3.4
Supported GLSL version is 1.20
In directory: input
[file]ifc4x3.ifc

===== Start processing this file : ifc4x3.ifc
Unsupported IFC version: 
Segmentation fault (core dumped)

ifc4x2 또는 ifc4x3은 지원이 안 되는 건가요?

@shire75
Copy link
Contributor

shire75 commented May 20, 2021

@JinDaeYoon 안녕하세요.

현재 저희가 쓰고 있는 IfcPlusPlus라는 오픈소스 라이브러리가 해당 버전을 지원을 안하는게 맞습니다.

segmentation fault가 난 이유는 해당 라이브러리의 처리 결과 중에 대응하지 못하는 예외 케이스가 발생했기 때문입니다.
(Ifc4 시리즈 데이터는 처음 보는 상황입니다. 대부분 2x3나 2x4였습니다.)

해당 부분을 피드백 해주셔서 감사합니다.

@shire75
Copy link
Contributor

shire75 commented May 20, 2021

@JinDaeYoon 안녕하세요.

아 그리고 IFC 파일을 변환하실거면 -meshType 0 으로 주셔야 합니다.

감사합니다.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants