MULTILEADER gaps
Maintainers usually reply within 3 days
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 25/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- csharp
- Domain
- computer-graphics
Research direction
Start by reading the scene-graph MULTILEADER path and the context data and model fields named in the issue. Choose one of the listed gaps, then check how the existing corner-case tests cover it. Done means implementing that gap and adding regression coverage; oracle-based fixtures are needed for the parity work.
Written by the indexing model from the issue text.
Description
ACadSharp MULTILEADER Gaps
-
DXF reader now captures MULTILEADER line/dogleg breaks in context data:
LeaderLine.StartEndPoints+LeaderLine.SegmentIndexLeaderRoot.BreakStartEndPointsPairs
-
Renderer avoids orphan doglegs when no visible leader line was produced for a root.
-
Test coverage expanded for MULTILEADER corner cases (dogleg disabled endpoint, invisible line behavior, dogleg breaks, multiple roots, direction fallback, custom arrow block, DXF break parsing path).
-
Render-plane fields from context data are not applied:
BasePoint,BaseDirection,BaseVertical,NormalReversed- Current behavior assumes WCS-only geometry.
-
Connection semantics are simplified:
LandingGapis not used to reposition content.- Block/text connection-to-extents logic is not implemented (mostly trusts parsed content locations).
-
MTEXT extras from context data are not mapped in rendering:
- text background fill/mask settings
- text columns and related layout flags
-
Annotative context selection is not implemented (render path uses
MultiLeader.ContextDatadirectly). -
Break representation in ACadSharp model is limited:
LeaderLinehas oneSegmentIndexfor all break pairs, so breaks on multiple segments of the same line cannot be represented faithfully.
-
Cross-CAD parity for connection types is incomplete:
- per-side behavior (left/right/top/bottom variants, underline/overline modes) is not modeled as a first-class render strategy.
-
Color handling needs oracle validation for all raw-color edge cases (
ByBlock,ByLayer, true-color variants in MULTILEADER-specific fields).
Open gaps (validation and quality)
- Need more oracle tests with real files (AutoCAD/TrueView/BricsCAD baselines):
- mixed MTEXT/BLOCK content variants
- multi-root + multi-line + mixed break patterns
- vertical-attachment cases
- non-default context plane orientation
- Need explicit regression fixtures for DXF vs DWG parity around breaks and style overrides.
Suggested next implementation order
- Apply context render-plane transformation (
BasePoint/BaseDirection/BaseVertical/NormalReversed) in scene-graph MULTILEADER path. - Implement
LandingGap+ connection-to-content semantics for text/block anchors. - Add MTEXT background/column mapping for MLEADER content.
- Extend model or parser strategy for multi-segment break encoding in one leader line.
- Add oracle-based integration fixtures for parity verification.
- Dominant language
- C#
- Stars
- 873
- Forks
- 223
- Avg merge
- 1d 15h
- Merged PRs (30d)
- 28
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing 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.
More from DomCR/ACadSharp
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Maintainers usually reply within 3 days
-
DWG writer: text styles get the text-style table as their xref block handlePossibly taken @menes97 claimed this 4 days ago. Open
Difficulty 2/5 1-3 hours Newbie friendliness 81/100
Maintainers usually reply within 3 days
-
Difficulty 1/5 1-3 hours Newbie friendliness 84/100
Maintainers usually reply within 3 days
-
DwgWriter writes a null shape-file handle for SHAPE entities (WriteShapes = true)Possibly taken @menes97 claimed this 4 days ago. Open
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Maintainers usually reply within 3 days
-
DwgReader reads a color-book entity's Color as ByBlock instead of the book's colorPossibly taken @menes97 claimed this 4 days ago. Open
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Maintainers usually reply within 3 days
Similar issues
-
hand-to-AI
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
CactuseSecurity/firewall-orchestrator#5803 ·
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
Maintainers usually reply within 1 day
-
bug python
Difficulty 1/5 Under an hour Newbie friendliness 88/100
ilia-sokolov/OfficeAgent.NET#89 ·
Maintainers usually reply within 13 days