The attached file is a kind of stopper with a hole in it I recently
constructed. To me, this seemed rather simple. However, my admittedly aging
laptop (~2GHz Core 2 Duo, 8GB RAM) struggles to render it. It's been at it
for over 2 hours now and the last try last night crashed after an unknown
amount of time.
So, here's a couple of questions:
- Can anybody who understands more about OpenSCAD's internal workings than I
do explain why this seemingly simple form makes OpenSCAD struggle so much?
- Is there any better/more efficient way to create that same shape?
- If anybody tries this out and finds their machine copes better, would you
share the STL with me? I'd really like to print that thing... ;)
> On Nov 30, 2017, at 6:02 AM, Manuel <[hidden email]> wrote:
> Thank you. That does of course help, but it also results in a rather ugly
> model with a very visible flattened area on the top rather than the nice
> dome shape I was aiming for.
OpenSCAD trades exactness and robustness for speed. We also started out on the scale needed for personal 3D printing, so in some cases, smooth curves may be time-consuming to achieve.
There are other software which do the trade-off the other way around; speed first, exactness/robustness second, see e.g. http://openjscad.org.
On 01.12.2017 15:50, Manuel wrote:
> TLC123 wrote
>> I would do this as an rotate_extrude .
> Wow, perfect, thank you! Works like a charm and is lightning fast
> even with both $fa and $fs at .1. Good to know that trick for the
Yes, good point, generating vertices by extrusion is pretty fast.
You need to make sure there's no additional (3D) CSG operation with
that object. As soon as you simply put another cube(); in there, it
will blow up again.