Skip to content

Commit d12cacb

Browse files
committed
Fix Position handling for IfcSurfaceCurveSweptAreaSolid
1 parent 5db91e5 commit d12cacb

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/ifcgeom/IfcGeomShapes.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -885,7 +885,7 @@ bool IfcGeom::Kernel::convert(const IfcSchema::IfcRectangularTrimmedSurface* l,
885885
}
886886

887887
bool IfcGeom::Kernel::convert(const IfcSchema::IfcSurfaceCurveSweptAreaSolid* l, TopoDS_Shape& shape) {
888-
gp_Trsf directrix, position;
888+
gp_Trsf directrix;
889889
TopoDS_Shape face;
890890
TopoDS_Wire wire, section;
891891

@@ -964,7 +964,7 @@ bool IfcGeom::Kernel::convert(const IfcSchema::IfcSurfaceCurveSweptAreaSolid* l,
964964
if (has_position) {
965965
// IfcSweptAreaSolid.Position (trsf) is an IfcAxis2Placement3D
966966
// and therefore has a unit scale factor
967-
shape.Move(position);
967+
shape.Move(trsf);
968968
}
969969

970970
return true;

0 commit comments

Comments
 (0)