Das Wissen aller Anwender nutzen

Im Allplan Connect Forum tauschen sich Anwender aus, geben wertvolle Tipps oder beraten sich bei ganz konkreten Aufgabenstellungen − auch international.
Und damit wirklich keine Frage unbeantwortet bleibt, unterstützen die Mitarbeiter des Technischen Supports ebenfalls aktiv das Forum.

Es erwarten Sie:

  • Foren-Vielfalt aus CAD Architektur, CAD Ingenieurbau uvm.
  • Tipps von User für User
  • international: Deutsch, Englisch, Italienisch, Französisch und Tschechisch

Melden Sie sich jetzt an und diskutieren Sie mit!

Zur Registrierung

Fensterbank rund


Hallo Leute,

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

Wer's braucht...

Anhänge (2)

Typ: image/png
333-mal heruntergeladen
Größe: 211,74 KiB
Typ: application/xml
1746-mal heruntergeladen
Größe: 100,30 KiB
21 - 28 (28)

Zitiert von: 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

Zitiert von: 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.

Anhänge (1)

Typ: image/jpeg
29-mal heruntergeladen
Größe: 155,98 KiB

It's easy: Do not "abwinkeln" !

Anhänge (1)

Typ: text/xml
862-mal heruntergeladen
Größe: 51,63 KiB

Zitiert von: 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.

Zitiert von: 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

Zitiert von: 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)