Search found 23 matches

Go to advanced search

by hlg
Fri Jan 10, 2020 8:25 am
Forum: IFC
Topic: problems with IFC import
Replies: 45
Views: 1274

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: 1274

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: 1196

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: 1196

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 ...
by hlg
Wed Dec 11, 2019 3:32 pm
Forum: IFC
Topic: Error report IFC
Replies: 13
Views: 564

Re: Error report IFC

I investigated some more. It seems that 4-byte unicode is not correctly handled by certain applications although perfectly valid according to the standard. Some Unicode encodings are variable length and then you would use the shortest length necessary, i.e. not pad with leading zeros. But ISO10303-2...
by hlg
Sun Dec 08, 2019 8:44 pm
Forum: IFC
Topic: Error report IFC
Replies: 13
Views: 564

Re: Error report IFC

I think 0.19.18733 is the latest dev version, no?
by hlg
Sun Dec 08, 2019 6:15 pm
Forum: IFC
Topic: Error report IFC
Replies: 13
Views: 564

Re: Error report IFC

I can confirm these errors and will created a pull request to fix 1-5: https://github.com/FreeCAD/FreeCAD/pull/2766.

I am not sure about 6. I think I have seen some discussion around IFC UTF8 encoding issues before and I know it is a bit peculiar. Maybe someone more familiar with it can have a look?
by hlg
Fri Nov 15, 2019 3:18 pm
Forum: IFC
Topic: Problems with IFC
Replies: 20
Views: 841

Re: Problems with IFC

Ah, that's the reason. I was wondering how that could happen, because in IFC properties manager, you can not enter values of the wrong type, the UI restricts value entries to the right type. I was just about to search for IFC property sets with IfcIntegers (there are not that many) and test with the...
by hlg
Fri Nov 15, 2019 11:24 am
Forum: IFC
Topic: Problems with IFC
Replies: 20
Views: 841

Re: Problems with IFC

From a quick look this may be a property value with a wrong type, e.g. you entered a String or Real for a property of type Integer. Can you try to export without property sets to confirm?
by hlg
Thu Nov 14, 2019 5:07 pm
Forum: IFC
Topic: [ Error ] PlacesObject does not exist in IfcAxis2Placement3D in BimServer
Replies: 12
Views: 666

Re: [ Error ] PlacesObject does not exist in IfcAxis2Placement3D in BimServer

Now that IFCOpenShell 0.6.0 made it into 0.19 builds, we have the whole schema available at runtime: https://github.com/IfcOpenShell/IfcOpenShell/issues/718. I would suggest to implement optional schema validation either on instantiation or on final saving the IFC. This option could be switched on f...

Go to advanced search