GeometryGym/GeometryGymIFC

IfcTrapeziumProfileDef

Closed this issue · 4 comments

Add in class IfcTrapeziumProfileDef

public double BottomXDim { get => mBottomXDim; set => mBottomXDim = value; }
public double TopXDim { get => mTopXDim; set => mTopXDim = value; }
public double YDim { get => mYDim; set => mYDim = value; }
public double TopXOffset { get => mTopXOffset; set => mTopXOffset = value; }

Thanks, I have pushed a commit to the WorkInProgress branch with these properties added.
Note that to allow as many users to use the toolkit as possible, I have been targeting dotnet4.5 and c# 6.0.
Hence the older style of getters and setters.

I have also been developing methods to generate and check the toolkit against the IFC specification so hopefully will fix any other outstanding properties in the near future. Thanks for reporting this.

good day
I noticed one feature after merge ifc files
one ifcslab is lost
2-slab.zip

elements get List<IfcBuiltElement> elements = project.Extract<IfcBuiltElement>();
if (element is IfcSlab slab)

Your file uses the same GlobalId ( 3Ohocf4Ln9futPiBQDjTWZ ) in each slab, this isn't valid.
Our extract method ensures a unique set is returned using GlobalId as a key.

thanks