-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
jwg12 IfcRevolvedAreaSolid AxisStartInXY #9
Comments
--- tmp/a/IFC.exp 2022-08-26 23:08:09.300513800 +0200
+++ tmp/b/IFC.exp 2022-09-05 20:18:40.046645700 +0200
@@ -10094,21 +10094,21 @@
SUPERTYPE OF (ONEOF
(IfcRevolvedAreaSolidTapered))
SUBTYPE OF (IfcSweptAreaSolid);
Axis : IfcAxis1Placement;
Angle : IfcPlaneAngleMeasure;
DERIVE
AxisLine : IfcLine := IfcRepresentationItem() || IfcGeometricRepresentationItem () || IfcCurve() || IfcLine(Axis.Location,
IfcRepresentationItem() || IfcGeometricRepresentationItem () || IfcVector(Axis.Z,1.0));
WHERE
AxisDirectionInXY : Axis.Z.DirectionRatios[3] = 0.0;
- AxisStartInXY : Axis.Location.Coordinates[3] = 0.0;
+ AxisStartInXY : ('IFC4X3_DEV.IFCCARTESIANPOINT' IN TYPEOF(Axis.Location)) AND (Axis.Location\IfcCartesianPoint.Coordinates[3] = 0.0);
END_ENTITY;
ENTITY IfcRevolvedAreaSolidTapered
SUBTYPE OF (IfcRevolvedAreaSolid);
EndSweptArea : IfcProfileDef;
WHERE
CorrectProfileAssignment : IfcTaperedSweptAreaProfiles(SELF\IfcSweptAreaSolid.SweptArea, SELF.EndSweptArea);
END_ENTITY;
ENTITY IfcRightCircularCone |
Okay, I am afraid I experienced a serious brain fart here. I cannot seem to get my head around the extra check. If this check is required, would it not make more sense to just restrict |
It seems |
Well then, this is great. No need for such a check. |
Where rule fix due to more general point type usage in IfcPlacement
The text was updated successfully, but these errors were encountered: