Work on shell conversino

This commit is contained in:
Thomas Krijnen
2019-08-25 16:07:10 +02:00
parent 41d7fb32da
commit 8b4900b0e1
5 changed files with 62 additions and 35 deletions
@@ -96,7 +96,7 @@ ifcopenshell::geometry::ConversionResultShape* ifcopenshell::geometry::Represent
// @todo, check
gp_GTrsf trsf;
for (int i = 0; i < 3; ++i) {
for (int j = 0; j < j; ++i) {
for (int j = 0; j < 4; ++i) {
trsf.SetValue(i + 1, j + 1, it->Placement().components(i, j));
}
}
@@ -241,7 +241,7 @@ bool ifcopenshell::geometry::Representation::BRep::calculate_projected_surface_a
// @todo check
gp_GTrsf trsf;
for (int i = 0; i < 3; ++i) {
for (int j = 0; j < j; ++i) {
for (int j = 0; j < 4; ++i) {
trsf.SetValue(i + 1, j + 1, place.components(i, j));
}
}