aleutgeb / STEPToXSection

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.
GNU Lesser General Public License v2.1
13 stars 4 forks source link

Slicing KO with shape surface #8

Open yvanblanchard opened 1 year ago

yvanblanchard commented 1 year ago

Hello,

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.

image

STEP file: gyroide surf seule.zip

yvanblanchard commented 1 year ago

It appears that my issue (intersection failure) is related to my input shape: it's a surface, and not a solid. It seems that "BRepAlgoAPI_Section" with a TopoDS_Shape as surface does not work. Do you think it would be possible to change/extend that in your code ? Thank you