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

2D Kreis mit Füllfläche [Gelöst]

Schlagworte:

Ich bekomme es einfach nicht hin im 2D Skript einen Kreis mit Flüllfläche zu erstellen.
Könnte mir hier jemand ein Beispiel geben? Müsste doch eigentlich mit POLY2 zu machen sein oder?
Danke.

i7-12700 - Win10/x64 - 16GB - NVIDIA RTX A2000 (12GB) - Allplan 2023 Ing./Workgroup

Lösung anzeigen Lösung verbergen

Hello,

You have to use "POLY2_" to create a circle.
You can do something like that:

DEFINE FILL "my_fill", 0 , 7 
FILL "my_fill"
POLY2_ 2 , 1 + 2 + 4 , 0.0 , 0.0 , 900 , 1.0 , 360 , 4000


Hello,

You have to use "POLY2_" to create a circle.
You can do something like that:

DEFINE FILL "my_fill", 0 , 7 
FILL "my_fill"
POLY2_ 2 , 1 + 2 + 4 , 0.0 , 0.0 , 900 , 1.0 , 360 , 4000


Thanks a lot. It works

i7-12700 - Win10/x64 - 16GB - NVIDIA RTX A2000 (12GB) - Allplan 2023 Ing./Workgroup

Hello Bertrand,
i checked your code for the filled circle, and it worked like expected, but: why?
I never fully understood the explanations in the script reference.
I can follow until the 0.0 , 0.0 for the first node, after that it's getting unclear. What do 900, 360 (full circle?) and 4000 stand for?
What I try is to create not a full circle, but only a quarter segment, without any idea how to.

Die Verlaufswerte (z.B. 4000) sind hier erklärt.

POLY2_ 2 , 1 + 2 + 4 ,
0.0 , 0.0 , 900 , !set the center of the arc/circle to point (0,0)
1.0 , 360 , 4000 !draw a arc or circle with radius 1.0 and 360 degree

Hallo Nemo,
leider jetzt erst gesehen, vielen Dank!


https://campus.allplan.com/ verwendet Cookies  -  Mehr Informationen

Akzeptieren