Hello,
I’m currently try to render a model in rhino by extracting data from an ifc file. Most of the elements in the IFC file are correctly displayed in rhino by the script but a certain element is not being rendered.
The stuff that I have done: After reading the file by using ggIFC Read file, I pass it through ggIFC extract and then through ggIFC ProductGetGeometry. For most elements, I see ‘Closed brep’ as the output but for the particular element that isn’t being rendered, I see no output.
I don’t think there an issue with the IFC file since when I open the same file in another software, the missing elements do render.
Below is the extract from the IFC file for the element which isn’t being rendered.
#55887= IFCCARTESIANPOINT((145.791609467908,-2208.75058342271,91201.9273357633));
#55888= IFCDIRECTION((-0.388069604829551,-0.676498047767885,0.625901248739509));
#55889= IFCDIRECTION((-0.489297626823627,-0.424281953615234,-0.761953185058772));
#55890= IFCAXIS2PLACEMENT3D(#55887,#55888,#55889);
#55891= IFCLOCALPLACEMENT(#44,#55890);
#56328= IFCCLOSEDSHELL((bunch of # here));
#56329= IFCFACETEDBREP(#56328);
#56331= IFCSHAPEREPRESENTATION(#12,'Body','Brep',(#56329));
#56332= IFCPRODUCTDEFINITIONSHAPE($,$,(#56331));
#56333= IFCPLATE('11ocj3RzX4s8hcyg0HRa61',#46,'PLATE','PL12*3795.7','PL12*3795.7',#55891,#56332,'ID41ca6b43-6fd8-44d8-8ae6-f2a0116e4181');
I would really appreciate your help in debugging this.
Also, do you have a pre-written code which does the job of rendering an ifc file in rhino? It would be really helpful in debugging. Many thanks!