Replies: 4 comments
-
Maybe; I wouldn't say OpenSCAD's test cases are the best reason to implement a feature; I don't think I've ever used |
Beta Was this translation helpful? Give feedback.
-
I've used Anyway maybe we should leave this open and revisit this later when we want to implement the OpenSCAD transpiler? I think we won't be far from that :) |
Beta Was this translation helpful? Give feedback.
-
I'm going to move this to a discussion for now. I would like to have an OpenSCAD transpiler, but I think it's okay if it doesn't support a few of their less-common operations. |
Beta Was this translation helpful? Give feedback.
-
I found that it is common to use hull to merge parts and make the transition smooth, e.g. joining a cylinder with a cube to make something like a I think the algorithm above should not change the manifoldness property, considering it should only return a manifold constructed from a subset of the original vertex set? Maybe we need to merge vertices that are closer than precision or something. |
Beta Was this translation helpful? Give feedback.
-
I was trying to port some tests from OpenSCAD to python for more test cases and performance check. I'm currently looking at https://gist.github.com/ochafik/2db96400e3c1f73558fcede990b8a355 . It seems that quite a lot of the more complicated cases are using
hull()
, so I guess it would be desirable to implement it.Not sure if we should implement it by ourselves or use an existing implementation. I saw a header only library here: https://github.com/leomccormack/convhull_3d/blob/master/convhull_3d.h and can probably be parallelized if needed.
Beta Was this translation helpful? Give feedback.
All reactions