microsoft / microsoft/maker.js
Model accepted by makerjs.exporter.toSVG(), but not by makerjs.exporter.toDXF()
Open
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 2k
- Forks
- 302
- Avg merge
- 21h 28m
- Merged PRs (30d)
- 5
Description
Go to https://maker.js.org/docs/basic-drawing/#Models
Change the last two lines of code to this:
var dxf = makerjs.exporter.toDXF(model);
console.log(dxf);
I would expect a string, but all I'm getting is undefined.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the Models example at https://maker.js.org/docs/basic-drawing/#Models and reproduce the call to makerjs.exporter.toDXF(model). Trace the toDXF exporter entry point and compare its result with makerjs.exporter.toSVG(); done means the documented model produces the expected DXF string instead of undefined.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, typescript
- Domain
- computer-graphics
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100