microsoft / microsoft/maker.js

Warn on forbidden characters in layer names

Open
#432 2 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

This cost me at least two weeks and a bunch of gray hair:
AutoCAD fails to import DXF files without any kind of warning or debugable info, if there is any of < > / \ “ : ; ? * | = ‘ . in the layer name.
To prevent others from the pain I had it might be nice to throw an error on export or at least warn.

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

Start at the DXF export entry point and trace how layer names are written; the issue does not name a file or test. Check the existing export behavior for the listed characters, then verify that export clearly warns or errors when a layer name contains them.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
design
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.