用于为 3d 打印创建 3d 对象的 Java 库 [英] Java library for creating 3d-objects for 3d printing

查看:26
本文介绍了用于为 3d 打印创建 3d 对象的 Java 库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在寻找一个 Java 库来创建 3d 几何图形,然后将其转换为 .stl 文件,以便我可以使用 3d 打印机 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-graphics 对象,可以像在 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.

罗布.

即使问题已经结束(并且没有人愿意回答我的问题),我还是找到了答案(我将其发布以便其他有相同问题的人可以找到它):

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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆