Integration of IfcOpenShell utils and headless libs into FreeCAD

I've just closed https://github.com/IfcOpenShell/IfcOpenShell/issues/971 - providing a new util function to determine which psets and qtos apply to which IFC classes. Just thought this function would be useful to integrate into FreeCAD, to filter only the relevant psets/qtos for users.

That inspired me to start this thread to see if there are any quick wins in integrating common code between the BlenderBIM Add-on and FreeCAD? Things like IfcDiff, IfcClash, IfcPatch, IfcCSV, BIMTester, and IfcCOBie come to mind and each should probably only take an afternoon to integrate.

Thoughts? Ping @yorik @bernd @carlopav

bitacovirJQLAlexeyhtlcnnpaullee

Comments

  • @Moult said:
    I've just closed https://github.com/IfcOpenShell/IfcOpenShell/issues/971 - providing a new util function to determine which psets and qtos apply to which IFC classes.

    Exactly what I was looking for ^^. Thanks.

  • edited November 2020

    I am working on bimtester. But I would like to do some things slightly different. For example ATM bimtester copies the featurefiles into the source directory of ifcopenshell and leaves them there. I do not like this at all. Bimtester for FreeCAD works for me. But I really need ot work with it a bit to be sure I did it the way I really would like to. I am quite new to all this behaviour driven stuff. I even started to add more tests. I even tried some hack to create bcf for failed tests to give them to the draftsmen because our draftsmen do not like lists of guids. ATM I do not use bcf but some xml format which only the ifc-viewer we use knows. But later on the idea is to use bcf for this.

    BTW: bimtester rocks :-)

    paullee
  • @bernd generating BCFs for the reports is a great idea! By the way the latest version of BIMTester reports also gives information like object names and so on if it fails, so it is more informative than just a guid.

    It copies files because that is how Behave detect files. If you can think of a better approach, I fully support it :)

  • @Moult: wow cool ... I need to pull the latest source ...
    At the moment I do copy the step and feature files as well as the ifc into a temporary folder and run it there. It would be possible without copying the ifc too. But as I wrote I am not 100 % sure if my approach is the way to go. At least it does not any longer copy files in my ifcopenshell git repository.
    I will set up some github with all I have, but this will take some more days probably.

  • Awesome work! We should definitely share this on social media!

  • @Moult where do you want BIMtester documented? https://wiki.osarch.org/index.php?title=BIMTester must be the main page - right?

    @bernd shall we wait to announce it on social media until it is part of a FreeCAD AppImage release? Then we can encourage testing and help with documentation.

  • edited January 2021

    @duncan said:

    @bernd shall we wait to announce it on social media until it is part of a FreeCAD AppImage release? Then we can encourage testing and help with documentation.

    No. BIMTester will not be released with FreeCAD. It is an AddOn and can be installed with the AddOn manager. See README https://gitlab.com/bimtester/bimtesterfc Means it can be used just now.

    duncan
  • edited January 2021

    @duncan MicroMVDs are already mentioned on the homepage, which links to BIMTester. The usage is therefore covered on this page: https://wiki.osarch.org/index.php?title=Using_MicroMVDs_for_exchange_requirements - maybe it should be moved to the BIMTester page... but then again, it is really useful for newcomers to see all the info on one page.

  • @berndt understood. thanks.
    @Moult I'm thinking maybe we should focus on BIMtester and tread MicroMVDs simply as a way to configure BIMtester. I feel that the name and functionality of BIMtester has more traction. What do others think? Maybe we should ask @Meetlat for a suggestion for simple logo for BIMtester?

  • edited January 2021

    @duncan said:
    @Moult I'm thinking maybe we should focus on BIMtester and tread MicroMVDs simply as a way to configure BIMtester. I feel that the name and functionality of BIMtester has more traction.

    +1 But it is the only known way ATM

    @duncan said:
    Maybe we should ask @Meetlat for a suggestion for simple logo for BIMtester?

    good idea. ATM there is no logo

  • @duncan said:
    Maybe we should ask @Meetlat for a suggestion for simple logo for BIMtester?

    good idea. ATM there is no logo

    I will take some time this week to come up with some idea's

  • edited January 2021

    @Moult when I say logo i might be a bit carried away, it's a button for the interface, but it is still a logo in miniature and means that BIMtester can be better identified on its own merit.

  • @duncan agree - the wiki should probably be restructured to focus on BIMTester, and put the jargon "MicroMVD" as a subcategory of it.

    This is the current BIMTester "logo", shamelessly stolen from the KDE Breeze project: https://raw.githubusercontent.com/IfcOpenShell/IfcOpenShell/v0.6.0/src/ifcbimtester/bimtester/resources/icons/bimtester.ico - in general I think the whole headless suite would do well with logos (IfcPatch, IfcDiff, IfcCOBie, etc... and even IfcConvert). Maybe @aothms would like to see a branded collection of logos for all the stuff under the IfcOpenShell umbrella?

  • @Moult I think that's a great idea. I kind of took that approach with the IfcOpenBot user https://avatars3.githubusercontent.com/u/20838324?s=460&u=481d77f6412c9ece9565e06c6ef4fe71e3a9eb53&v=4 but obviously rather badly.

    I think in principal the logo lends itself to that idea. For example an arrow for IfcConvert (god, my drawing skills are bad)
    Converging and diverging arrows for patch and merge. Etc.

    While I like the appearance of the IfcOpenShell logo, I think it does need to be improved before working off of it. Especially the combination with text is pretty bad. And it lacks definition when used on a white background. I can see whether I can have a graphic designer have a look at it, but if the osarch community wants to have a go at it that;d be even better of course.

  • @aothms do you have a svg version of that logo?

  • I had, but I'm afraid I've lost it (I will have another look at my old laptops). What I do have is an animated .blend file that I used for the progress indicator at view.ifcopenshell.org. https://we.tl/t-4WmuF5m0bJ

  • edited January 2021

    Recreated the logo, and made some first idea's. Will continue next week

    htlcnnMoultcarlopavaothms
  • @Meetlat I think these look really great! Sorry that things are so slow from my side. Quick question: I was approached by OCCT for their project listing and they asked for a high res logo. Is there any chance you could upload one here, or the SVG itself? Many thanks!

  • PS: I really like the look of the arrows, especially the last one. Perhaps for the 2nd one did you consider how it looks if you integrate the gradient of the arrowhead into the S?

  • See attachment

    aothms
Sign In or Register to comment.