romgere / text2stl

3D text generator for 3D printing. EmberJs / Typescript / Three.js

Home Page:https://text2stl.mestres.fr

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Text generation crash when line ends with space for multiline text

romgere opened this issue · comments

THREE.BufferGeometry.computeBoundingSphere(): Computed radius is NaN. The "position" attribute is likely to have NaN values.

Reproduction :

  • Create a multi-line line text
  • Add a space at the end of one line

Fixed by #39