我有一个关于导入 dxf 文件的渲染问题。
渲染成功:
- 对 dxf 文件使用 linear_extrude() 并显示一个球体。
- 仅对 dxf 文件使用 rotate_extrude()。
渲染失败:
- 对 dxf 文件使用 rotate_extrude() 并显示一个球体。
这是我的源代码:
module loadFile() {
rotate_extrude()
import("import_exercise.dxf");
}
module loadSphere() {
translate([0,0,-30])
sphere(10);
}
loadFile();
loadSphere();
这是错误消息:
ERROR: CGAL error in CGAL_Nef_polyhedron3(): CGAL ERROR: assertion violation! Expr: e->incident_sface() != SFace_const_handle() File: /Users/kintel/code/OpenSCAD/openscad/../libraries/install/include/CGAL/Nef_S2/SM_const_decorator.h Line: 329
这是scad文件:
https://drive.google.com/file/d/1dT84jAzTGn-FxavEXamVivUwODelRqLS/view?usp=sharing
这是.dxf文件:
https://drive.google.com/file/d/1XhjWkydDVEnrn-vYcJOT5-yIjSRtdQaT/view?usp=sharing
谢谢!