Compare commits

...

2 Commits

Author SHA1 Message Date
oguzhankoral e71714e282 Set inputs for mapped definition 2024-01-08 16:18:51 +03:00
oguzhankoral a6351659da Use insertion point for instances 2024-01-08 14:33:11 +03:00
2 changed files with 6 additions and 3 deletions
@@ -137,7 +137,7 @@ module SpeckleConnector
level: level,
units: units,
base_point: SpeckleObjects::Geometry::Point.from_vertex(
component_instance.bounds.min.transform(transformation * component_instance.transformation.inverse),
component_instance.definition.insertion_point.transform(transformation),
units
),
rotation: calculate_rotation(transformation.to_a),
+5 -2
View File
@@ -623,8 +623,6 @@ export default {
this.selectedLevel = this.levels[0].name
}
}
console.log(this.selectedFamily, "selectedFamily after")
console.log(this.selectedLevel, "selectedLevel after")
},
hideOptionalMappingInputs(){
this.categorySelectionActive = false
@@ -713,6 +711,11 @@ export default {
}
this.selectedMethod = this.lastSelectedEntity['definition']['schema']['method']
this.selectedCategory = this.lastSelectedEntity['definition']['schema']['category']
this.selectedFamily = this.lastSelectedEntity['definition']['schema']['family']
this.getFamiliesFromSelectedMethod()
this.getTypesFromSelectedFamily()
this.selectedFamilyType = this.lastSelectedEntity['definition']['schema']['family_type']
this.selectedLevel = this.lastSelectedEntity['definition']['schema']['level']
this.updateMappingInputs()
}
}