black is defined wrong in exporter colors

Open
#433 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
1/5
Estimated time
Under an hour
Newbie friendliness
45/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Stale
Tech stack
typescript
Domain
tooling

Research direction

The DXF exporter is identified in core/exporter.ts; start by inspecting the default color definition used during DXF export. Update the black value to the valid AutoCAD value of 255, then verify that exported DXF files open correctly.

Written by the indexing model from the issue text.

Description

When exporting dxf, the default color is black and is defined as 0 in core/exporter.ts
0 is an invalid value for autocad and it will fail to open the file for it.
The right black value is 255.

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

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.

More from microsoft/maker.js

All issues in microsoft/maker.js

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.