Union Jack type mesh

More
3 years 8 months ago #3587 by shasha
Union Jack type mesh was created by shasha
Hi everyone!
I have a question about how to generate a Union Jack type mesh in the domain [0, 1] ^ 2.

Thank you in advance!
Shasha
More
3 years 8 months ago #3589 by mneunteufel
Replied by mneunteufel on topic Union Jack type mesh
Hi Shasha,

you can use the spline goemetry class, see here , by defining the appropriate points and connect them.

The CSG2D class can also be used, see here , by adding/subtracting the rectangles.

Attached there is a small example with the CSG2D class which you can use as starting point.

Best
Michael

File Attachment:

File Name: union_jack.py
File Size:1 KB
Attachments:
The following user(s) said Thank You: shasha
Time to create page: 0.099 seconds