Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exception While getting outline for the font model #567

Open
Gautam2010 opened this issue Apr 24, 2023 · 4 comments
Open

Exception While getting outline for the font model #567

Gautam2010 opened this issue Apr 24, 2023 · 4 comments

Comments

@Gautam2010
Copy link
Contributor

Throwing error while getting outline from font model.

image

With debug otherElement getting undefined and this.removeValue(otherElement, valueId); method is using valueIds of otherElement which undefined.

image

@danmarshall
Copy link
Contributor

Can you provide a repro?

@Gautam2010
Copy link
Contributor Author

Gautam2010 commented Apr 25, 2023

Hi @danmarshall

Here is the link to reproduce the error.
In above link code I am trying to generate fontModel as per below which is working as expected in object actualText

image

Along with it also I am generating model outline in textOutline variable using makerjs.model.outline which is throwing an error.

makerjs_outline_issue

@Gautam2010
Copy link
Contributor Author

Hi @danmarshall,

Just wanted to check in and see if there has been any progress on fixing this bug. Is there a plan to address it in the coming week? Let me know if there's anything I can do to help. Thanks!

@danmarshall
Copy link
Contributor

Hi @Gautam2010 - sorry I will not be addressing this directly, and not soon as I am busy with other projects. This is probably an instance of the prevalent bug in boolean operations. I think the solution to this will be foundational (meaning a lot of other low level stuff will need to change and be tested in order to get this right). In the meanwhile, you may try modifying your outline distance by tiny amounts to see if you can get a specific instance working properly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants