microsoft / microsoft/maker.js

Having a hard time expanding complex shapes

Open
#387 9 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
2k
Forks
302
Avg merge
21h 28m
Merged PRs (30d)
5

Description

Making an outline on a complex shape (from a svg I imported into maker.js models) is very slow.
I tried simplifying the model, and converting to some keypoints and ConnectingTheDots, but it doesn't improve much, sometimes (probably due to the model) I get the following error:

index.js:6439 Uncaught TypeError: Cannot read property 'valueIds' of undefined
screenshot 2018-12-12 at 15 34 17

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No source file, test, or entry point is named. Reproduce the slow outline expansion with the imported SVG or a similarly complex maker.js model, including the simplification and ConnectingTheDots attempts, then verify that expansion completes without the valueIds error and with acceptable performance.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
computer-graphics
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.