charmaur / PolyDiceGenerator

A customizable Polyhedral Dice Generator for OpenSCAD.
https://github.com/charmaur/PolyDiceGenerator
Other
91 stars 19 forks source link

Cant render symbol properly #15

Closed shawly closed 2 years ago

shawly commented 2 years ago

I've created a custom font with a logo so I can use it for the 20 on the d20. The problem is that as soon as I render the model the icon won't get rendered properly, which is probably an issue with OpenSCAD itself because of the complexity of the logo.

This is how it renders: image

And this is how it should actually look like: image

The question is, is there any way I can get this to render properly?

Someone on the Thingiverse forums had this problem with a symbol font as well: https://www.thingiverse.com/groups/openscad/forums/general/topic:9200

Do you think the scaling workaround that was described in the first answer would work here?

I've attached the font here mindflayer.ttf.zip The character for the symbol is "\e902" or "".

charmaur commented 2 years ago

I'd suggest greatly simplifying the logo. Too much detail at such a small size will give you problems here as well as printing and casting.

Taiine commented 2 years ago

I will also pipe in and say that as nice as that logo is, the very small lines and the like will be completely lost when 3D printing even if it rendered out properly. Unless you are planning it on a REALLY HUGE jumbo, you're printing something that's not only a triangle, but a very small one with only the edges being around half an inch in size for standard.

shawly commented 2 years ago

Ah well, I already removed a lot of details but I guess I'll probably have to remove most of them in that case and try again. We actually do want to make an additional bigger D20 that is the size of a fist, so maybe I can use the more detailed logo for that one, but I also wanted to make normal sized dices as well.

Thanks for your quick responses!