The program STEPToXSection is a command line utility to export the contour of a planar cross section of solids contained in STEP files. It supports surface offsetting of the input geometry and in-plane curve offsetting. The in-plane base contour can also result from the orthogonal projection of geometries (silhouette) onto the plane within a specified maximum plane distance.
I tried to slice a STEP surface (gyroid) using that way:
STEPToXSection.exe -i %stepFile% -o GyroSeul.ply -f xyz -d 0.01 -p 1.0,0.0,0.0,0
but the output ply file is empty.
Hello,
Is it possible with your lib to slice the input solid with a 3d base surface (not a plane), and get the resulting surface of solid (and contour)? And then repeat with another surface, offset from the base one ?
Thank you
when calling your 'multiple slicing' on the 'bone' test case (with Polygon output type), the final results (in the output .ply file) does not look good: the triangles shared a same vertex/node, leading to triangles edges crossing the 'bone" slice boundary (see image).
I expected to have a kind of delaunay triangulation inside the slice boundary.
For easier deployment (especially when linking statically) and to reduce code duplication and maintenance efforts between the STEP processing tools, it could make sense to merge them into a single project, producing a single binary which can be invoked in several modes, e.g. similar to how the command line clients of git or svn work.
Listing the contents of a STEP file (i.e. -c) could then be a dedicated mode because it is shared between all other processing modes.
The code for reading a STEP file, for parts selection and maybe specifying the working unit (see aleutgeb/STEPToMesh#4) could be shared.