also:
wir brauchen ein paar Parameter:
</font><blockquote><font size="1" face="Verdana, Helvetica, sans-serif">Zitat:</font><hr /><font size="2" face="Verdana, Helvetica, sans-serif"> !Parameter
! an = 1.5 !Breite
! bn = 1.0 !Höhe
! wink = 10 !Neigungswinkel
! rbf = 0.05 !Rahmenbr. feststehender Flüg
! rtf = 0.10 ! Rahmentiefe feststehender Flüg
! rbo = 0.05 ! Rahmenbr. Öffnungsflügel
! rto = 0.05 ! Rahmentiefe Öffnungsflügel
! vfo = 0.03 ! Versatz in der Tiefe
! okl = 0.03 ! Versatz Breite/Höhe
! matf = 45 !Material Feststehender Rahmen
! mato = 46 !Material Öffnungsflügel
! matg = 26 !Material Glas
ins 3D Skript kommt das hinein:
</font><blockquote><font size="1" face="Verdana, Helvetica, sans-serif">Zitat:</font><hr /><font size="2" face="Verdana, Helvetica, sans-serif">
addx (cos(90-wink))*bn - a/2
rotz wink
add an/2, bn/2, 0
Wallhole 5, 1,
-an/2, -bn/2, 15,
an/2, -bn/2, 15,
an/2, bn/2, 15,
-an/2, bn/2, 15,
-an/2, -bn/2, -1
cPRISM_ matf,matf,matf,
10, rtf,
-an/2, -bn/2, 15,
an/2, -bn/2, 15,
an/2, bn/2, 15,
-an/2, bn/2, 15,
-an/2, -bn/2, -1,
-an/2+rbf, -bn/2+rbf, 15,
an/2-rbf, -bn/2+rbf, 15,
an/2-rbf, bn/2-rbf, 15,
-an/2+rbf, bn/2-rbf, 15,
-an/2+rbf, -bn/2+rbf, -1
hotspot -an/2, -bn/2, 0
hotspot an/2, -bn/2, 0
hotspot an/2, bn/2, 0
hotspot -an/2, bn/2, 0
addz -vfo
cPRISM_ mato,mato,mato,
10, rto,
-an/2+okl, -bn/2+okl, 15,
an/2-okl, -bn/2+okl, 15,
an/2-okl, bn/2-okl, 15,
-an/2+okl, bn/2-okl, 15,
-an/2+okl, -bn/2+okl, -1,
-an/2+rbo+okl, -bn/2+rbo+okl, 15,
an/2-rbo-okl, -bn/2+rbo+okl, 15,
an/2-rbo-okl, bn/2-rbo-okl, 15,
-an/2+rbo+okl, bn/2-rbo-okl, 15,
-an/2+rbo+okl, -bn/2+rbo+okl, -1
addz (rto-0.01)/2
cPRISM_ matg,matg,matg,
5, rto,
-an/2+rbo+okl, -bn/2+rbo+okl, 15,
an/2-rbo-okl, -bn/2+rbo+okl, 15,
an/2-rbo-okl, bn/2-rbo-okl, 15,
-an/2+rbo+okl, bn/2-rbo-okl, 15,
-an/2+rbo+okl, -bn/2+rbo+okl, -1
del top
und das noch ins Parameterskript:
</font><blockquote><font size="1" face="Verdana, Helvetica, sans-serif">Zitat:</font><hr /><font size="2" face="Verdana, Helvetica, sans-serif"> parameters a= (cos(wink))*an + (cos(90-wink))*bn
parameters b= (sin(wink))*an + (sin(90-wink))*bn
lock "a", "b" das wars 😉