top fastening

This commit is contained in:
Kseninia Mikhaylova 2024-09-27 09:04:37 +03:00
parent 462b1cf5e5
commit 114f1eefc0
1 changed files with 2 additions and 2 deletions

View File

@ -144,8 +144,8 @@ const setFastening = () => {
top_two.updateMatrixWorld() top_two.updateMatrixWorld()
const top = props.models.fastening_top_center.clone().children[0]; const top = props.models.fastening_top_center.clone().children[0];
top.position.set(0, lamelles_count.value * lSize - 0.02 * scale_koef, 0); top.position.set(pillar_size * 0.5 + 0.01 * scale_koef, lamelles_count.value * lSize - 0.02 * scale_koef, 0);
const v = ((extra.value as number) || fence_section.value) * 10 const v = ((extra.value as number) || fence_section.value) * 10 + 0.2
top.scale.setComponent(0, v); top.scale.setComponent(0, v);
top.updateMatrixWorld() top.updateMatrixWorld()