openscad - 预览时结果正常,但渲染后为空

标签 openscad

我想切掉这个半球:

enter image description here

我的代码是:

difference() {
import("../kupol.stl");
translate([-150,-1,-1]) cube(500);
}

预览结果正常:

enter image description here

但是渲染后(F6 键)我收到一个空对象:

enter image description here

渲染已完成,没有任何错误:

Compiling design (CSG Tree generation)...
Rendering Polygon Mesh using CGAL...
Geometries in cache: 15
Geometry cache size in bytes: 3178728
CGAL Polyhedrons in cache: 12
CGAL cache size in bytes: 0
Total rendering time: 0 hours, 0 minutes, 0 seconds
Rendering finished.

我在 Windows 7 64 位计算机上使用 OpenSCAD 版本 2015.03-2。 Here是有关我的构建的详细信息和 here是带有半球的 STL,我需要切割它。

我做错了什么?

最佳答案

STL 可能存在一些问题。确保它是流形的(可以使用大多数网格编辑器进行检查,例如 MeshLab、Blender、Netfabb)。

另请查看 FAQ这解释了可能导致 OpenSCAD 出现 STL 问题的另一个问题(零面 = 没有面积的三角形)。

关于openscad - 预览时结果正常,但渲染后为空,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/34754305/

相关文章:

OpenSCAD:围绕特定点旋转?

3d - 如何在 OpenSCAD 中放置对象(使其在 Z 轴上齐平以进行 3D 打印)

python - 如何从 Windows 命令提示符运行 Openscad

java - 寻找基于 Java 的 OpenSCAD 和 PLasM 替代方案

3d - 在openscad中居中导入STL文件

curve - 如何在 OpenSCAD 中制作曲面片(立方体)?

openscad - 字体和文本挤出问题

openscad - 如何在 openscad 中指定 dxf 的大小?

3d - 是否可以通过连接不同的点使用 Openscad 绘制一条线?

openscad - OpenSCAD 中的交集()