Make a filled 2-D polygon with OCC

How does one create a 2-D polygon domain with OCC? I see how it can be done with the “old interface”, but what about OCC? Is there some tutorial or example for this?

Nevermind. I figured it out. Perhaps I’ll post an example.

You do it like turtle - graphics, examples are here

https://docu.ngsolve.org/latest/i-tutorials/wta/adaptivity.html

or here

https://docu.ngsolve.org/latest/i-tutorials/unit-4.4-occ/workplane.html

Best, Joachim

Yes, I found those. Rotating the line is kind of annoying. I would rather just specify a sequence of vertices. Which I did.

-Shawn