Foro de Soporte Allplan

Fensterbank rund


Hallo Leute,

hier mal die neue Fensterbank aus 2018 erweitert um halbrund für runde Fenster.

Wer's braucht...

Adjuntos (2)

Type: image/png
Descargado 331 veces
Size: 211,74 KiB
Type: application/xml
Descargado 1638 veces
Size: 100,30 KiB
21 - 28 (28)

Cita de: Nemo
Das ist bei einer Fensterbank mit beliebigem polygonalen Querschnitt nicht so ganz einfach möglich!
Aber Du kannst es probieren:
1. Min-Max-Box der Polygon-Punkte errechnen
2. X-Wert ist die gesuchte Größe
-----------------------------------------------------------
This is not easily possible on a windowsill with any polygonal cross-section!
But you can try it:
1. calculate min-max box of the polygon points
2. x-value is the size you are looking for

Thank you Nemo....your new smartpart it's good! Goodbye

Cita de: Nemo
Das ist bei einer Fensterbank mit beliebigem polygonalen Querschnitt nicht so ganz einfach möglich!
Aber Du kannst es probieren:
1. Min-Max-Box der Polygon-Punkte errechnen
2. X-Wert ist die gesuchte Größe
-----------------------------------------------------------
This is not easily possible on a windowsill with any polygonal cross-section!
But you can try it:
1. calculate min-max box of the polygon points
2. x-value is the size you are looking for

Hi Nemo, I hope you spent a happy Easter ... sorry if I disturb you another time. It's possible in your smartpart fensterbank to make sure to eliminate the two parts in purple when doing "abwinkeln". I have tried in 3d script (put_tube_pnts) but I have not succeeded. Thank you if you want give me indication.

Adjuntos (1)

Type: image/jpeg
Descargado 29 veces
Size: 155,98 KiB

It's easy: Do not "abwinkeln" !

Adjuntos (1)

Type: text/xml
Descargado 785 veces
Size: 51,63 KiB

Cita de: Nemo
It's easy: Do not "abwinkeln" !

Hi Nemo, unfortunately or luckily I love the "abwinkeln" . Jokes aside, I thank you very much for new help. The smartpart is now perfect (for me). Thanks again.

Cita de: Nemo
It's easy: Do not "abwinkeln" !

Hi Nemo, I made a change in 3d script of your smartpart (see script below) because, I saw that when wdt = hgt and maxx = ref_y, the smartpart disappears in 3d. With this change it seems to me that it no longer disappears. If you want, try to verify yourself.

.....
GOSUB "ins_hnds"

RESTORE 3

IF hgt = wdt THEN
IF maxx < REF_Y THEN

ROTY 90
!PRISM 7 , ref_x ,
CUTPOLY 7 ,
-REF_Z , REF_Y + REF_POS_B ,
-REF_Z , maxx ,
0 , maxx ,
0 , -REF_POS_A ,
-miny , -REF_POS_A ,
-miny , REF_Y + REF_POS_B ,
-REF_Z , REF_Y + REF_POS_B
RESTORE 1
ENDIF

IF maxx = REF_Y THEN
!ROTY 90
!PRISM 7 , ref_x ,
!CUTPOLY 7 ,
!-ref_z , REF_Y + REF_POS_B ,
!-ref_z , maxx ,
!0 , maxx ,
!0 , -REF_POS_A ,
!-miny , -REF_POS_A ,
!-miny , REF_Y + REF_POS_B ,
!-ref_z , REF_Y + REF_POS_B
!RESTORE 1
ENDIF
ENDIF

IF hgt <> wdt THEN
ROTY 90
!PRISM 7 , ref_x ,
CUTPOLY 7 ,
-REF_Z , REF_Y + REF_POS_B ,
-REF_Z , maxx ,
0 , maxx ,
0 , -REF_POS_A ,
-miny , -REF_POS_A ,
-miny , REF_Y + REF_POS_B ,
-REF_Z , REF_Y + REF_POS_B
RESTORE 1
ENDIF

IF offs_l > 0 THEN !NOT cut_l THEN
......

Forget two IF's!
Only one little change is needed:
Replace "REF_POS_B" with "1"

ROTY 90
!PRISM 7 , ref_x ,
CUTPOLY 7 ,
-ref_z , REF_Y + 1 ,!REF_POS_B ,
-ref_z , maxx ,
0 , maxx ,
0 , -REF_POS_A ,
-miny , -REF_POS_A ,
-miny , REF_Y + 1 ,!REF_POS_B ,
-ref_z , REF_Y + 1  !REF_POS_B
RESTORE 1

Background:
With REF_Y == maxx and REF_POS_B = 0 the first and the second point after CUTPOLY lies on the same position!
...and this is not a valid polygon for cutting!

Nemo,

es gibt wichtigere Baustellen als Fensterbänke und Bauteile in jeglich erdenklichen Formen

Gruß Jürgen
Allplan V10 bis V2024

Cita de: Nemo
Forget two IF's!
Only one little change is needed:
Replace "REF_POS_B" with "1"
ROTY 90
!PRISM 7 , ref_x ,
CUTPOLY 7 ,
-ref_z , REF_Y + 1 ,!REF_POS_B ,
-ref_z , maxx ,
0 , maxx ,
0 , -REF_POS_A ,
-miny , -REF_POS_A ,
-miny , REF_Y + 1 ,!REF_POS_B ,
-ref_z , REF_Y + 1 !REF_POS_B
RESTORE 1
Background:
With REF_Y == maxx and REF_POS_B = 0 the first and the second point after CUTPOLY lies on the same position!
...and this is not a valid polygon for cutting!

Hi Nemo, thanks for your information ... I had no doubts that you had a better solution! Goodbye.
21 - 28 (28)

https://connect.allplan.com/ utiliza cookies  -  Aqui

Acéptalo