我正在设计螺旋,并在 AutoCAD 中完成了刀片,稍后将其导出为 .stl 并在 OpenSCAD 中完成设计。
这里的问题是,当我尝试渲染它时(F6),结果不完整(仅显示 Joints.stl)。尽管我多次尝试修复这两个 .stl 文件,但问题仍然存在。
提前致谢
编辑:如果有帮助,我使用 AutoCAD 和 Blender 制作了 .stl。
(这是我的代码)
module pal() {
translate([1.5,100,0.2])
rotate([0,-10,0])
import("Helix_Final.stl", convexity=100);
}
pal();
rotate([0,0,120])
pal();
rotate([0,0,-120])
pal();
translate([0,0,8.4])
import("Joints.stl");
它还提供以下日志:
Saved backup file: C:/Users/eleme/Documents/OpenSCAD/backups/Joints¿-backup-
qHp13132.scad
Compiling design (CSG Tree generation)...
Rendering Polygon Mesh using CGAL...
ERROR: CGAL error in CGAL_Nef_polyhedron3(): CGAL ERROR: assertion violation!
Expr: e->incident_sface() != SFace_const_handle() File: /opt/mxe/usr/x86_64-w64-
mingw32.static/include/CGAL/Nef_S2/SM_const_decorator.h Line: 326
ERROR: CGAL error in CGAL_Nef_polyhedron3(): CGAL ERROR: assertion violation!
Expr: e->incident_sface() != SFace_const_handle() File: /opt/mxe/usr/x86_64-w64-
mingw32.static/include/CGAL/Nef_S2/SM_const_decorator.h Line: 326
ERROR: CGAL error in CGAL_Nef_polyhedron3(): CGAL ERROR: assertion violation!
Expr: e->incident_sface() != SFace_const_handle() File: /opt/mxe/usr/x86_64-w64-
mingw32.static/include/CGAL/Nef_S2/SM_const_decorator.h Line: 326
Geometries in cache: 8
Geometry cache size in bytes: 11954368
CGAL Polyhedrons in cache: 1
CGAL cache size in bytes: 1378168
Total rendering time: 0 hours, 0 minutes, 11 seconds
Top level object is a 3D object:
Simple: yes
Vertices: 661
Halfedges: 3182
Edges: 1591
Halffacets: 1864
Facets: 932
Volumes: 2
Rendering finished.