Hello @andyward, @Ibrahim5aad,
I'm attaching a file that demonstrates a problematic behaviour with IFCPOINTBYDISTANCEEXPRESSION placement.
There are four IFCGRADIENTCURVEs in this demo model.
One of them (the roundabout in the center) is built out of two ifcCircle segments (see label 132), the others are a mix of ifcLine, ifcClothoid, and ifcCircle.
I have placed light poles at regular distance along them to help demonstrate.
When computing IfcPointByDistanceExpression, the length is computed as a parameter (radians) for the roundabout, but it's correctly interpreted as a distance (meters) for the others, even though they contain circle segments.
inconsistentLengthTreatment.zip
I've investigated the problem a bit, but I'm not sure how to intervene in the code.
I'd be happy to to prepare a PR once we agree on the approach to take.
Hello @andyward, @Ibrahim5aad,
I'm attaching a file that demonstrates a problematic behaviour with
IFCPOINTBYDISTANCEEXPRESSIONplacement.There are four IFCGRADIENTCURVEs in this demo model.
One of them (the roundabout in the center) is built out of two
ifcCirclesegments (see label 132), the others are a mix ofifcLine,ifcClothoid, andifcCircle.I have placed light poles at regular distance along them to help demonstrate.
When computing
IfcPointByDistanceExpression, the length is computed as a parameter (radians) for the roundabout, but it's correctly interpreted as a distance (meters) for the others, even though they contain circle segments.inconsistentLengthTreatment.zip
I've investigated the problem a bit, but I'm not sure how to intervene in the code.
I'd be happy to to prepare a PR once we agree on the approach to take.