Custom geometry #88
-
Hi, in a previous version i was using the basin.cs example to generate tesselated geometry. This example does not work in the latest version. This is what i have tried :(The file loads but not showing any geometry). Does it exist a way to "convert" cad-step geometry to IFC- geometry?
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Sorry, probably I renamed something and it's not so obvious as to what I renamed it to. 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. Let me know if this doesn't help. I believe faceted brep is deprecated in IFC4, although lots of implementations still use it. |
Beta Was this translation helpful? Give feedback.
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.
…