libredwg
libredwg copied to clipboard
Fix of handling if in entity
We need to fix handling id in entity. Stub here: https://github.com/LibreDWG/libredwg/commit/2a92ef3dcd151ef65d09a3e00334abcd453846cd This is length and string without termination as i understang.
Example: POINT1.DXF.gz POINT1.DWG.gz
No, it's an ordinary handle as after R13. Just no code for ownership, only size and value. Fixed in work/preR13
@rurban In example above: In DWG file is 0.4.1240100 In DXF file is 24
This is correct?
No, 24 should be 0.1.36 (for 0x24) The order of opts fields after opts_r11 is probably not yet correct for some, esp. VIEWPORT.
Actuall output is:
type: 2 [RCd]
Add entity POINT [14] Decode entity POINT
===========================
Entity number: 14, Type: 2, Addr: 7ea
flag_r11: 0x64 [RC 0]
ELEVATION (04) HANDLING (20) PSPACE (40)
size: 31 [RS]
layer: 0 [H(RSd) 8]
opts_r11: 0x0 [RSx 0]
viewport: 4 [H(RC) 0]
handle: 0.1.24 [H 5]
extra_r11: 1 [RSd 0]
x: 1.000000 [RD 10]
y: 1.000000 [RD 20]
crc: DBD3 [RSx]
No, 24 should be 0.1.36 (for 0x24)
You are saying that the handle is in decimal form. Are you sure?
I am looking to log output and that's in hexadecimal form. If it's ok, we could close this issue.
It's hex, sorry. Seems to match, yes