Skip to content

Custom geometry #88

Answered by jmirtsch
stromhaug-tommy asked this question in Q&A
May 4, 2023 · 1 comments · 3 replies
Discussion options

You must be logged in to vote

Sorry, probably I renamed something and it's not so obvious as to what I renamed it to.
I changed this line:
IfcRepresentationMap representationMap = new IfcRepresentationMap(db.Factory.Origin2dPlace, cubeShape);

Also, which viewer or software do you check the resultant IFC file in? I checked solibri, it didn't zoom to an object 1mm in size, so I also changed this line for testing.
IfcProject project = new IfcProject(building, "IfcProject", IfcUnitAssignment.Length.Metre) { };

Let me know if this doesn't help. I believe faceted brep is deprecated in IFC4, although lots of implementations still use it.
Also, design transfer view hasn't advanced so it might not be well supported in viewers.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@stromhaug-tommy
Comment options

@stromhaug-tommy
Comment options

@jmirtsch
Comment options

Answer selected by stromhaug-tommy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants