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

4.3.1 not exporting #43

Open
valleyarchitect opened this issue Nov 18, 2022 · 15 comments
Open

4.3.1 not exporting #43

valleyarchitect opened this issue Nov 18, 2022 · 15 comments

Comments

@valleyarchitect
Copy link

Hi I just installed the 4.3.1 via .rbz and when testing an export, this is what I got in the RubyConsole:

"Error: #<NoMethodError: undefined method representation=' for #<BimTools::IFC2X3::IfcPreDefinedPointMarkerSymbol:0x000002cc9f0a1158>> C:/Users/VIVARCHI/AppData/Roaming/SketchUp/SketchUp 2022/SketchUp/Plugins/bt_ifcmanager/lib/lib_ifc/ObjectCreator.rb:343:in create_geometry'
C:/Users/VIVARCHI/AppData/Roaming/SketchUp/SketchUp 2022/SketchUp/Plugins/bt_ifcmanager/lib/lib_ifc/ObjectCreator.rb:125:in create_ifc_entity' C:/Users/VIVARCHI/AppData/Roaming/SketchUp/SketchUp 2022/SketchUp/Plugins/bt_ifcmanager/lib/lib_ifc/ObjectCreator.rb:71:in initialize'
C:/Users/VIVARCHI/AppData/Roaming/SketchUp/SketchUp 2022/SketchUp/Plugins/bt_ifcmanager/lib/lib_ifc/IfcModel.rb:229:in new' C:/Users/VIVARCHI/AppData/Roaming/SketchUp/SketchUp 2022/SketchUp/Plugins/bt_ifcmanager/lib/lib_ifc/IfcModel.rb:229:in create_ifc_objects'
C:/Users/VIVARCHI/AppData/Roaming/SketchUp/SketchUp 2022/SketchUp/Plugins/bt_ifcmanager/lib/lib_ifc/IfcModel.rb:133:in initialize' C:/Users/VIVARCHI/AppData/Roaming/SketchUp/SketchUp 2022/SketchUp/Plugins/bt_ifcmanager/export.rb:60:in new'
C:/Users/VIVARCHI/AppData/Roaming/SketchUp/SketchUp 2022/SketchUp/Plugins/bt_ifcmanager/export.rb:60:in export' C:/Users/VIVARCHI/AppData/Roaming/SketchUp/SketchUp 2022/SketchUp/Plugins/bt_ifcmanager/loader.rb:127:in block in module:IfcManager'
c:/users/vivarchi/appdata/roaming/sketchup/sketchup 2022/sketchup/plugins/!!fredo6_lordofthetoolbars/controller_lordofthetoolbars.rbe:133:in `block in new'"

Not sure what's going on here :(

@janbrouwer
Copy link
Contributor

I will add a catch for that, there is no support for the entity IfcPreDefinedPointMarkerSymbol, or send to be on your model somewhere.

https://standards.buildingsmart.org/IFC/RELEASE/IFC2x3/TC1/HTML/ifcpresentationdimensioningresource/lexical/ifcpredefinedpointmarkersymbol.htm

@valleyarchitect
Copy link
Author

Hi, here is the test model I use...
$-vivarchi-vierge-2022.zip

@valleyarchitect
Copy link
Author

and here is the .ifc that I wasable to export using v3.5.0
$-vivarchi-vierge350-2022.zip

@janbrouwer
Copy link
Contributor

Thanks, that confirms my suspicion.
I will fix it so it will not crash on it anymore.
IfcPreDefinedPointMarkerSymbol is a very obscure IFC type without geometry that's even removed in IFC4.
What 3.5.0 did was make an empty IfcPreDefinedPointMarkerSymbol, take out the geometry and make an IfcBuildingElementProxy from the geometry.
I advise to just use the IFC entity IfcBuildingElementProxy for the "$-repère-Origine" origin object.

@valleyarchitect
Copy link
Author

Hi Jan, thanks for that feedback ! Do the folks at Trimble realise that you have single-handedly saved their Sketchup from BIM oblivion ? Without you plugin we could not pretend to keep up, we'd be obliged to go learn Rev(olt)it ! or some other big and expensive stuff. I mean the possibility of creating and importing correctly structured ifc files is the ABC... Anyway, many thanks and keep up the good work !

@valleyarchitect
Copy link
Author

Just one slight niggle... I just checked, and whilst I can now export without the crash, the layers still do no transfer into the exported ifc despite the option being ticked in the preferences... what am I doing wrong ?
$-vivarchi-vierge-2022-ifcM431.zip

@janbrouwer
Copy link
Contributor

janbrouwer commented Nov 19, 2022

Thanks for the compliment!
I do see layers in your IFC file, can you show me what you expect to see?

Screenshot

@valleyarchitect
Copy link
Author

Well, not in the ifc from 4.3.1
Here are the two ifc files, one from 350 & the other from 431 plus screenshots from eveBIM
Documents.zip

@valleyarchitect
Copy link
Author

Maybe it's an import problem with eveBIM ? But that would be odd as eveBIM interprets the 350 file correctly.
I'll download some other viewer software and have a look...

@janbrouwer
Copy link
Contributor

I found it. In recent versions I attach the layer to the mapped shaperepresentation instead of the direct shaperepresentation, it seems that eveBIM doesn't recognize that. It might be better to revert that change, I will look into that.

@valleyarchitect
Copy link
Author

Great, thanks.
I just tested in BimVision: it shows the layers, however in the 431 version it incorrectly identifies attributions (i tried rendering the wall layer invisible, and only the upper storey wall disappeared despite both walls being on the same layer...
However, it woks fine in the 350 version so I guess your mapping change does seem to make a difference !
$-vivarchivierge-431-screenshot-inBimVision
$-vivarchivierge-350-screenshot-inBimVision

@valleyarchitect
Copy link
Author

...does the 431 version export "ifc.zones" ? it didn't seem to, but again, this might be an eveBIM issue.

@janbrouwer
Copy link
Contributor

I just tested zones by creating a couple of spaces and nesting those within a zone component and it showed up, even in the eveBIM version I just downloaded.

@valleyarchitect
Copy link
Author

oh, right, great news, although one nice thing about eveBIM is that you can create zoning strategies even on ifc files without them from SU. Well, as soon as a 4.3.x version remaps the layers, I'll give it a go :)
Thanks for all your hard work, and have a good weekend, best regards, PT

@valleyarchitect
Copy link
Author

Jan, bad news I'm afraid... v4.3.3 was working fine til I updated to the latest SU2023 patch from 15th of March...

& now I get messed-up ifc files. I checked there was no other plugin messing things up by disactivating all but IFC Manager... no improvement, & I went back to version 3.4.7 of IFC Manager & the export was perfect...
I'd love to send you the test files, but they're too big for here, so I could send them via GrosFichiers or something if you send me an email address..

Best regards,
PT

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