Open michal-josef-spacek opened 1 year ago
I forgot why I skipped it there. It can be skipped in encode easier. Variant 2 please
I forgot why I skipped it there.
I think that was some issue here some time ago.
It can be skipped in encode easier. Variant 2 please
Ok, actually is fine I believe.
I need to look. There were more changes in https://github.com/LibreDWG/libredwg/commit/e5f27c184438fadfd3e0fec89eaa2de4b622a13a
Actual situation:
Example (Blank AC2.10 DWG file) BLANK.DWG.gz After conversion to JSON, there is BLOCK_HEADER in the form:
Because code (in src/out_json.c):
Which generates an ERROR log in conversion from JSON to DWG:
Because JSON
{}
.I think that is bad. Some possibilities: 1) Remove {} from JSON, this means no error log. 2) Remove the code above and generate JSON code like:
Which seems somehow right. The result after conversion from JSON to DWG is fine.
@ruban What do you think?