<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>Thema "frei bewegliche Linie snapt auf x-Achse" in Programmierung</title>
    <link>https://community.graphisoft.com/t5/Programmierung/frei-bewegliche-Linie-snapt-auf-x-Achse/m-p/563371#M7197</link>
    <description>Danke für Hilfe&lt;BR /&gt;&lt;BR /&gt;habe mir ein Aufmasstool gebaut&lt;BR /&gt;das funktioniert auch weitgehend ...&lt;BR /&gt;das Problem:&lt;BR /&gt;muss den y-Wert zu Fuss eingeben, damit der Fangpunkt auch nach y beweglich wird&lt;BR /&gt;sobald der Fangpunkt per Maus wieder auf x liegt, muss ich erneut y händisch eingeben&lt;BR /&gt;&lt;BR /&gt;---&lt;BR /&gt;nTrs = 0: UnId = 1&lt;BR /&gt;pen penCol&lt;BR /&gt;&lt;BR /&gt;a2 = A/2&lt;BR /&gt;&lt;BR /&gt;pxs	= arrX/1000*GLOB_SCALE&lt;BR /&gt;pys = pxs /3&lt;BR /&gt;&lt;BR /&gt;hotspot2 0,0&lt;BR /&gt;hotspot2 a,b&lt;BR /&gt;&lt;BR /&gt;varW = atn(b/a)&lt;BR /&gt;varL = a/cos(varW)&lt;BR /&gt;lx=varL-pxs&lt;BR /&gt;&lt;BR /&gt;rot2 varW	:nTrs=nTrs+1&lt;BR /&gt;&lt;BR /&gt;! --- Arrow&lt;BR /&gt;line_type 1&lt;BR /&gt;POLY2	3, 1+4,&lt;BR /&gt;		lx, pys, &lt;BR /&gt;		lx+pxs, 0, &lt;BR /&gt;		lx, -pys&lt;BR /&gt;&lt;BR /&gt;if arrDoub then&lt;BR /&gt;	line_type pTyp	:line2 pxs, 0, lx, 0&lt;BR /&gt;	line_type 1&lt;BR /&gt;	POLY2	3, 1+4,&lt;BR /&gt;			pxs, pys, &lt;BR /&gt;			0, 0, &lt;BR /&gt;			pxs, -pys&lt;BR /&gt;else&lt;BR /&gt;	line_type pTyp	:line2 0, 0, lx, 0&lt;BR /&gt;	line_type 1		:circle2 0,0,pys/2&lt;BR /&gt;endif&lt;BR /&gt; &lt;BR /&gt;hotline2 0, 0, varL, 0&lt;BR /&gt;---&lt;BR /&gt;dann folgt noch die Beschriftung ...</description>
    <pubDate>Sun, 27 Dec 2020 09:21:19 GMT</pubDate>
    <dc:creator>dihes8010</dc:creator>
    <dc:date>2020-12-27T09:21:19Z</dc:date>
    <item>
      <title>frei bewegliche Linie snapt auf x-Achse</title>
      <link>https://community.graphisoft.com/t5/Programmierung/frei-bewegliche-Linie-snapt-auf-x-Achse/m-p/563371#M7197</link>
      <description>Danke für Hilfe&lt;BR /&gt;&lt;BR /&gt;habe mir ein Aufmasstool gebaut&lt;BR /&gt;das funktioniert auch weitgehend ...&lt;BR /&gt;das Problem:&lt;BR /&gt;muss den y-Wert zu Fuss eingeben, damit der Fangpunkt auch nach y beweglich wird&lt;BR /&gt;sobald der Fangpunkt per Maus wieder auf x liegt, muss ich erneut y händisch eingeben&lt;BR /&gt;&lt;BR /&gt;---&lt;BR /&gt;nTrs = 0: UnId = 1&lt;BR /&gt;pen penCol&lt;BR /&gt;&lt;BR /&gt;a2 = A/2&lt;BR /&gt;&lt;BR /&gt;pxs	= arrX/1000*GLOB_SCALE&lt;BR /&gt;pys = pxs /3&lt;BR /&gt;&lt;BR /&gt;hotspot2 0,0&lt;BR /&gt;hotspot2 a,b&lt;BR /&gt;&lt;BR /&gt;varW = atn(b/a)&lt;BR /&gt;varL = a/cos(varW)&lt;BR /&gt;lx=varL-pxs&lt;BR /&gt;&lt;BR /&gt;rot2 varW	:nTrs=nTrs+1&lt;BR /&gt;&lt;BR /&gt;! --- Arrow&lt;BR /&gt;line_type 1&lt;BR /&gt;POLY2	3, 1+4,&lt;BR /&gt;		lx, pys, &lt;BR /&gt;		lx+pxs, 0, &lt;BR /&gt;		lx, -pys&lt;BR /&gt;&lt;BR /&gt;if arrDoub then&lt;BR /&gt;	line_type pTyp	:line2 pxs, 0, lx, 0&lt;BR /&gt;	line_type 1&lt;BR /&gt;	POLY2	3, 1+4,&lt;BR /&gt;			pxs, pys, &lt;BR /&gt;			0, 0, &lt;BR /&gt;			pxs, -pys&lt;BR /&gt;else&lt;BR /&gt;	line_type pTyp	:line2 0, 0, lx, 0&lt;BR /&gt;	line_type 1		:circle2 0,0,pys/2&lt;BR /&gt;endif&lt;BR /&gt; &lt;BR /&gt;hotline2 0, 0, varL, 0&lt;BR /&gt;---&lt;BR /&gt;dann folgt noch die Beschriftung ...</description>
      <pubDate>Sun, 27 Dec 2020 09:21:19 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Programmierung/frei-bewegliche-Linie-snapt-auf-x-Achse/m-p/563371#M7197</guid>
      <dc:creator>dihes8010</dc:creator>
      <dc:date>2020-12-27T09:21:19Z</dc:date>
    </item>
    <item>
      <title>Re: frei bewegliche Linie snapt auf x-Achse</title>
      <link>https://community.graphisoft.com/t5/Programmierung/frei-bewegliche-Linie-snapt-auf-x-Achse/m-p/563372#M7198</link>
      <description>Wenn du die Objektabmessungen verwendest und die automatisch beweglichen Fangpunkte auf der Bounding Box gibt es wohl keinen anderen Weg. Wenn du aber bewegliche Fangpunkte für A und B programmierst, kannst du prüfen, ob y unter einer gewissen Toleranz ist (+/-2cm vielleicht) und dann den beweglichen y -Wert auf die halbe X-Länge setzen.</description>
      <pubDate>Sun, 27 Dec 2020 14:21:34 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Programmierung/frei-bewegliche-Linie-snapt-auf-x-Achse/m-p/563372#M7198</guid>
      <dc:creator>Frank Beister</dc:creator>
      <dc:date>2020-12-27T14:21:34Z</dc:date>
    </item>
  </channel>
</rss>

