romgere / text2stl

3D text generator for 3D printing. EmberJs / Typescript / Three.js
https://text2stl.mestres.fr
43 stars 14 forks source link

Negative text being filled in #123

Open flyingcheesehead opened 6 months ago

flyingcheesehead commented 6 months ago

Hello,

I'm having trouble on and off with negative text, though it seems that the trouble is not random.

Here's an example. I'm trying to make a negative text STL of my son's name, Turner, in Playpen Sans 600. If I leave the T off, it works flawlessly:

Screenshot 2023-12-30 at 9 25 06 PM

However, as soon as I add the T, it's like a diagonal stripe is added over the model:

Screenshot 2023-12-30 at 9 25 22 PM

This behavior is not seen with all fonts, but it's seen with many. I am using Safari on Mac OS normally, but I tried with Chrome and got an identical result. It does not appear to be just a display issue, when I bring the STLs into Cura it is still covered up.

Thanks!

romgere commented 5 months ago

Hi @flyingcheesehead thanks for reporting this, can you share the settings that lead to this issue please (you can copy the URL or used the "save" button)

romgere commented 5 months ago

Can be reproduced with : https://text2stl.mestres.fr/en-us/generator?modelSettings=%7B%22fontName%22%3A%22Karla%22%2C%22variantName%22%3A%22800%22%2C%22text%22%3A%22Turner%22%2C%22size%22%3A18%2C%22height%22%3A2%2C%22spacing%22%3A2%2C%22vSpacing%22%3A0%2C%22alignment%22%3A%22center%22%2C%22vAlignment%22%3A%22default%22%2C%22type%22%3A3%2C%22supportHeight%22%3A2%2C%22supportBorderRadius%22%3A5%2C%22supportPadding%22%3A%22%7B%5C%22top%5C%22%3A10%2C%5C%22bottom%5C%22%3A10%2C%5C%22left%5C%22%3A10%2C%5C%22right%5C%22%3A10%7D%22%2C%22handleSettings%22%3A%22%7B%5C%22type%5C%22%3A%5C%22none%5C%22%2C%5C%22position%5C%22%3A%5C%22top%5C%22%2C%5C%22size%5C%22%3A10%2C%5C%22size2%5C%22%3A2%2C%5C%22offsetX%5C%22%3A0%2C%5C%22offsetY%5C%22%3A0%7D%22%7D