I downloaded the STEP from this website
https://www.newhavendisplay.com/nhd70800480ftcsxvctp-p-9577.htmlConverted to .OFF using freecad then imported to angelcad.
solid@ display_no_FPC()
{
tmatrix@ DISP_OFFSET = translate(0,-200,0);
tmatrix@ face_out = rotate_x(deg:90);
solid@ s = Enc().toEdgeTop()*Enc().toCenterZ()*DISP_OFFSET * face_out
*(polyhedron("C:/Users/mattis/Documents/OpenSCADLIB/VS/Display - NHD-7.0-800480FT-CSXV-CTP.off"));
return s;
}
void main()
{
shape@ obj = enclosure() + display_no_FPC();
obj.write_xcsg(GetInputFullPath(),secant_tolerance:0.005);
}
I get the error
xcsg finished with exception: (carve error): D:\cpde_3rdparty\msvclibs\carve\lib
If i change the line:
tmatrix@ DISP_OFFSET = translate(0,-200,0); => tmatrix@ DISP_OFFSET = translate(0,-100,0);
then the error disappears. Any idea what the problem is?