contour_reader module generates level set function for an arbitrary contour placed in a 2D plane. The contour can be obtained by circles, polygon or combined circles and polygons through some Boolean operations. Polygon is defined by coordinates at its vertices while circle is defined by its radius and the coordinates of its center, as shown in the right top figure.

 

The output of contour_reader module are level sets defined at all grid points. The contour is implicitly represented by zero level set, as shown in the bottom of the right figure. The derived contour implicitly represented by level sets can be used by shape_gen module to generate desired 3D shape of a solid body.

We need your consent to load the translations

We use a third-party service to translate the website content that may collect data about your activity. Please review the details and accept the service to view the translations.