GeometryGym / GeometryGymIFC

C# classes to generate and parse OpenBIM IFC files
Other
273 stars 97 forks source link

IfcStrucuturalLoadConfiguration #94

Closed BIM4SmartHydropower closed 1 year ago

BIM4SmartHydropower commented 1 year ago

Hi, I find a problem when I initialize the IfcStrucuturalLoadConfiguration (which should be inherited from object), which is show below.

Could you give me an example to achieve it?

image

Best regard

jmirtsch commented 1 year ago

I'm sorry, I'm short on time at the moment to provide an example of this for free. Structural analysis model inclusion in IFC remains rare at this point. IfcStructuralLoadConfiguration does not inherit from IfcObject.

There is an example file here that can provide some clues on how to assign loads, https://standards.buildingsmart.org/IFC/RELEASE/IFC4/ADD2_TC1/HTML/link/structural-curve-member.htm

If you have problems, please contact me directly about technical support. If you wish to put together an example that can be publicly shared for other users, I can help review it and refine it.

BIM4SmartHydropower commented 1 year ago

Hi, according to the example above, firstly the IfcStructuralReaction needs to be initialized. However, there are some issues with the following code. What methods can be used to solve this problem?

image image

jmirtsch commented 1 year ago

Thanks again for the report, IfcStructuralPointReaction was missing a public constructor. I've just pushed a commit with this improved, and it will be available in the next nuget publish.

BIM4SmartHydropower commented 1 year ago

Thank you very much, Mirtschin. May I ask when the updated source code would be available? Maybe I can compile the code myself instead of NuGet.

(^▽^) Best regard

jmirtsch commented 1 year ago

Sure, sorry I see I didn't push the commit yesterday. You should be to rebuild the dll now.