Search found 29 matches

Go to advanced search

by hlg
Sat Jul 04, 2020 3:42 pm
Forum: IFC
Topic: Extrusion direction / Arch normal
Replies: 2
Views: 222

Re: Extrusion direction / Arch normal

I have created a pull request: https://github.com/FreeCAD/FreeCAD/pull/3676.
by hlg
Thu Jul 02, 2020 4:42 pm
Forum: IFC
Topic: IFC test files and systematic testing
Replies: 25
Views: 988

Re: IFC test files and systematic testing

That is all great news! I am also very much interested in improving the IFC import/export functionality. One easy thing I have on the agenda is an option to verify generated IFC with IfcOpenShell. This functionality was introduced in IfcOpenshell a while ago and is quite useful, since otherwise IfcO...
by hlg
Fri Jun 05, 2020 3:49 pm
Forum: IFC
Topic: Extrusion direction / Arch normal
Replies: 2
Views: 222

Extrusion direction / Arch normal

In FreeCAD (as well as in IFC) the length of the vector defining an extrusion direction should not be interpreted to affect the geometry of the extruded shape. However, when exporting an extrusion to IFC, the vector length is currently taken into account for the determination of the exported extrusi...
by hlg
Tue Jun 02, 2020 3:37 pm
Forum: Announcements & Features
Topic: Shapefile importer
Replies: 7
Views: 1098

Re: Shapefile importer

Nice. There is a little issue when selecting "None" for the elevation value field. See the PR here: https://github.com/FreeCAD/FreeCAD/pull/3550. Oh, and I another issue: The shapefile reader operates in "strict" Unicode decoding mode by default. This means any wrongly encoded stuff, it will throw U...
by hlg
Tue May 12, 2020 10:13 am
Forum: IFC
Topic: Arch Equipment does not work with Ifc2x3
Replies: 7
Views: 346

Re: Arch Equipment does not work with Ifc2x3

Do you mean the tests are only set up to run with IFC4 configuration or they are only successful for IFC4 and fail for IFC2x3?
by hlg
Mon May 11, 2020 4:48 pm
Forum: IFC
Topic: Arch Equipment does not work with Ifc2x3
Replies: 7
Views: 346

Re: Arch Equipment does not work with Ifc2x3

IfcFurniture is new in IFC4. Before, there was only IfcFurnishingElement which is still there as a supertype of IfcFurniture. The use of the supertype is deprecated though - it will be made abstract in the future. It would still work for IFC2x3 and IFC4 to change this to obj.IfcType = "Furnishing El...
by hlg
Fri Jan 10, 2020 8:25 am
Forum: IFC
Topic: problems with IFC import
Replies: 45
Views: 1582

Re: problems with IFC import

I think the fix could be improved: https://github.com/FreeCAD/FreeCAD/commit/2504247#commitcomment-36696448. Shall I make a pull request? We are now using the right trigonometric functions, such that all combinations of positive/negative are handled: https://github.com/FreeCAD/FreeCAD/pull/2878. No...
by hlg
Tue Jan 07, 2020 7:03 pm
Forum: IFC
Topic: problems with IFC import
Replies: 45
Views: 1582

Re: problems with IFC import

I think the fix could be improved: https://github.com/FreeCAD/FreeCAD/comm ... t-36696448. Shall I make a pull request?
by hlg
Tue Jan 07, 2020 6:52 pm
Forum: IFC
Topic: Problem with huge ifc file
Replies: 28
Views: 1522

Re: Problem with huge ifc file

I have a question. What's the name of the property with the number of a singular entity ifc file? I've printed out a list from the file, and I'd like to save those entitions as individual files. I just don't know how to get the number of a particular part. for product in products: print(product) Ho...
by hlg
Wed Dec 18, 2019 5:52 pm
Forum: IFC
Topic: Problem with huge ifc file
Replies: 28
Views: 1522

Re: Problem with huge ifc file

I wrote and use a Groovy script to extract particular entities. It only works with regex matching, no proper parsing. Should be quite fast, but could be improved in terms of memory. It will fail if records are not separated with linebreaks (which is technically not required but mostly the case). By ...

Go to advanced search