用于为3d打印创建3d对象的Java库 [英] Java library for creating 3d-objects for 3d printing
问题描述
我正在寻找一个java库来创建3d几何,然后将其转换为.stl文件,这样我就可以使用3d打印机打印我的对象了。
I am looking for a java library to create 3d-geometries and then convert that to .stl files so I can 3d print my object using a 3d printer.
我可以想象使用一个3D图形对象,可以像在graphics2d对象上一样绘制它:
I can imagine using a 3d-graphics object where one can draw the same like on a graphics2d object:
Buffered3DObject obj = new Buffered3DObject(200,200,200, Unit.MM);
Graphics3D g3 = obj.getGraphics();
Stroke3d stroke = new Stroke(3);
g3.setStroke(stroke);
g3.drawpipe(x1,y1,z1,x2,y2,z2);
obj.exportToSTL("filename.stl");
好的,我只是编写代码:)。但是这样的事情。
Ok, I am just making up code :). But something like this.
有人知道我怎么能把这样的东西拉下来?任何像这样做的开源库吗?
Anybody know how I could pull something like this off? Any opensource libs that does stuff like this?
能够通过网站的用户输入生成自定义对象会很好。
Would be nice to be able to generate a customized object through user input from a website.
Rob。
编辑:
即使问题已经结束(没人关心回答我的问题)我发现了回答(我发布它,所以有同样问题的其他人可以找到它):
Even though the question is closed (and nobody cared to answer my question on why) I found my answer (I post it so others with the same question can find it):
有一个java库作为OpenScad的包装器。 java包装器称为JavaScad。可以在这里找到 JavaScad
There is a java library on its way as a wrapper around OpenScad. The java wrapper is called JavaScad. Can be found here JavaScad
推荐答案
有一个java库作为OpenScad的包装器。 java包装器称为JavaScad。可在此处找到 JavaScad 。它工作正常,我实际上已经为图书馆做出了贡献。
There is a java library which works as a wrapper around OpenScad. The java wrapper is called JavaScad. Can be found here JavaScad. It works fine and I actually contributed to the library already.
这篇关于用于为3d打印创建3d对象的Java库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!