FreeCAD / FreeCAD/IDF

IDF import does not honor UNPLACED status

Open
#1 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
1
Forks
0
PR merge metrics
No merged PRs in 30d

Description

The IDF v3.0 specification foresee 4 possible values for Placement status of parts in .emn files:
PLACED, UNPLACED, MCAD, ECAD

PLACED is for optional parts, very common on ECAD, where a component is not mounted.
As now all parts are placed also when UNPLACED is set.

For example I have a file with those lines in .PLACEMENT section:

"RM0603" "RM0603" "R148"
124.0000000 169.3000000 0.0000000 270.0000000 TOP UNPLACED

but the part is drawn on PCB like was a PLACED part.

UNPLACED parts, should be invisible, or rendered drafted like dotted, or shadowed.

Contributor guide

Open the contributing guide

Research direction

Start by tracing IDF v3.0 parsing of the .PLACEMENT section and the rendering path for entries such as the provided UNPLACED example. Compare its treatment with PLACED parts; completion requires UNPLACED parts not to render as ordinary placed parts, but the issue leaves the exact invisible, drafted, or shadowed presentation for discussion.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
computer-graphics, desktop
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.