latex2blender icon indicating copy to clipboard operation
latex2blender copied to clipboard

Strange sqrt?

Open tobiasBora opened this issue 2 years ago • 4 comments

I'm not sure why, but when I generate something like $\sqrt{2}$, the top horizontal bar is strange (seems like the bottom-left point of the horizontal line is missing):

image

or maybe the point is present, but not linked correctly:

image

compare with a normal sqrt:

image

Tested with 6b4c3c86232c9143afdb37615815a1debad1bbe7

tobiasBora avatar Jan 31 '23 13:01 tobiasBora

Investigation: this has to do with the command

https://github.com/ghseeli/latex2blender/blob/6b4c3c86232c9143afdb37615815a1debad1bbe7/latex2blender.py#L290

Before the command is executed:

image

After:

image

How the lines looks before join

image

Possible blender bug?

ReneTC avatar Mar 08 '23 18:03 ReneTC

reported as blender bug: https://projects.blender.org/blender/blender/issues/105573#issuecomment-898658

ReneTC avatar Mar 10 '23 10:03 ReneTC

Confirmed bug in Blender: "variation of the same issue reported in #104241 and #42071"

ReneTC avatar Mar 14 '23 11:03 ReneTC

I changed the order in which the join is being performed (now the curve is converted to a mesh and then the join is applied). This seems to fix the issue (see release 1.0.7). If the problem is still occurring, please let me know.

peterkj1 avatar Jul 15 '23 19:07 peterkj1