am 2018-12-14 01:41 PM
am 2018-12-14 03:19 PM
am 2018-12-14 03:59 PM
i=2
x2=VPoints[i][1] : y2=VPoints[i][2]
x3=VPoints[i+1][1] : y3=VPoints[i+1][2]
ADD2 x3,y2
ROT2 45
HS_UID=1
HOTSPOT2 0,y2,HS_UID,VPoints[i][1],1+256 : HS_UID=HS_UID+1 !BASE1
HOTSPOT2 -0.01,y2,HS_UID,VPoints[i][1],2 : HS_UID=HS_UID+1 !Moving
HOTSPOT2 x2,y2,HS_UID,VPoints[i][1],3 : HS_UID=HS_UID+1 !Reference
DEL 2
am 2018-12-17 09:07 AM
i=2
x2=VPoints[i][1] : y2=VPoints[i][2]
x3=VPoints[i+1][1] : y3=VPoints[i+1][2]
ADD2 x2 + (x3-x2)/2, y2 + (y3-y2)/2
ROT2 45
HS_UID=1
HOTSPOT2 0,0,HS_UID,offset,1+256 : HS_UID=HS_UID+1 !BASE1
HOTSPOT2 0,offset,HS_UID,offset,2 : HS_UID=HS_UID+1 !Moving
HOTSPOT2 0,-0.01,HS_UID,offset,3 : HS_UID=HS_UID+1 !Reference
DEL 2
IF ABS(offset) > 0.00001 THEN
i=2
vPoints[i][1] = vPoints[i][1] + offset ! Hier fehlt die Berechnung des Versatzes
VPoints[i][2] = vPoints[i][2]
i=3
VPoints[i][1] = vPoints[i][1]
VPoints[i][2] = vPoints[i][2] + offset ! Hier fehlt die Berechnung des Versatzes
offset = 0
PARAMETERS offset = offset, VPoints = VPoints
ENDIF
am 2018-12-18 02:57 PM
am 2018-12-18 04:16 PM
i=2
x2=VPoints[i][1] : y2=VPoints[i][2]
i=3
x3=VPoints[i][1] : y3=VPoints[i][2]
! In die Ecke/Schnittpunkt
ADD2 x3,y2
ROT2 45
HS_UID=1
HOTSPOT2 0,0,HS_UID,offset,1+128: HS_UID=HS_UID+1 !BASE1 invisible
HOTSPOT2 0,offset,HS_UID,offset,2 : HS_UID=HS_UID+1 !Moving
HOTSPOT2 0,-0.01,HS_UID,offset,3 : HS_UID=HS_UID+1 !Reference
DEL 2
i=2
vPoints[i][1] = vPoints[i+1][1] - offset/COS(90-45) ! Hier fehlt die Berechnung des Versatzes
VPoints[i][2] = vPoints[i][2]
i=3
VPoints[i][1] = vPoints[i][1]
VPoints[i][2] = vPoints[i-1][2] + offset/SIN(90-45) ! Hier fehlt die Berechnung des Versatzes
PARAMETERS VPoints = VPoints