New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add a dynamic object/field API #59
Comments
rurban
added a commit
that referenced
this issue
Dec 4, 2018
Generate dwg.h struct names and field types, offsets. TODO: types not as string? link _fields[] to some name array, either dwg_name_types or dwg_entity_names See #59
rurban
added a commit
that referenced
this issue
Dec 4, 2018
Generate dwg.h struct names and field types, offsets. TODO: types not as string? link _fields[] to some name array, either dwg_name_types or dwg_entity_names See #59
rurban
added a commit
that referenced
this issue
Dec 4, 2018
Generate dwg.h struct names and field types, offsets. TODO: types not as string? link _fields[] to some name array, either dwg_name_types or dwg_entity_names See #59
rurban
added a commit
that referenced
this issue
Dec 5, 2018
no inline structs in WIPEOUT and IMAGE. convert inline struct { width; height } to 2RD (x,y). The size is documented as size (u,v), not width/height in the AutoCAD DXF docs. This is mostly to simplify the dynapi #59
rurban
added a commit
that referenced
this issue
Dec 5, 2018
Generate dwg.h struct names and field types, offsets. TODO: types not as string? link _fields[] to some name array, either dwg_name_types or dwg_entity_names See #59
rurban
added a commit
that referenced
this issue
Dec 5, 2018
Generate dwg.h struct names and field types, offsets. TODO: types not as string? link _fields[] to some name array, either dwg_name_types or dwg_entity_names See #59
rurban
changed the title
add a dynamic object/propery API
add a dynamic object/field API
Dec 5, 2018
rurban
added a commit
that referenced
this issue
Dec 5, 2018
Generate dwg.h struct names and field types, offsets. TODO: types not as string? link _fields[] to some name array, either dwg_name_types or dwg_entity_names See #59
rurban
added a commit
that referenced
this issue
Dec 7, 2018
Generate dwg.h struct names and field types, offsets. TODO: types not as string? link _fields[] to some name array, either dwg_name_types or dwg_entity_names See #59
rurban
added a commit
that referenced
this issue
Dec 7, 2018
Generate dwg.h struct names and field types, offsets. TODO: types not as string? link _fields[] to some name array, either dwg_name_types or dwg_entity_names See #59
rurban
added a commit
that referenced
this issue
Dec 10, 2018
Generate dwg.h struct names and field types, offsets. TODO: types not as string? link _fields[] to some name array, either dwg_name_types or dwg_entity_names See #59
rurban
added a commit
that referenced
this issue
Dec 10, 2018
Generate dwg.h struct names and field types, offsets. TODO: types not as string? link _fields[] to some name array, either dwg_name_types or dwg_entity_names See #59
rurban
added a commit
that referenced
this issue
Dec 12, 2018
Generate dwg.h struct names and field types, offsets. TODO: types not as string? link _fields[] to some name array, either dwg_name_types or dwg_entity_names See #59
rurban
added a commit
that referenced
this issue
Dec 12, 2018
Generate dwg.h struct names and field types, offsets. TODO: types not as string? link _fields[] to some name array, either dwg_name_types or dwg_entity_names See #59
rurban
added a commit
that referenced
this issue
Dec 19, 2018
Generate dwg.h struct names and field types, offsets. TODO: types not as string? link _fields[] to some name array, either dwg_name_types or dwg_entity_names See #59
rurban
added a commit
that referenced
this issue
Dec 19, 2018
Generate dwg.h struct names and field types, offsets. TODO: types not as string? link _fields[] to some name array, either dwg_name_types or dwg_entity_names See #59
rurban
added a commit
that referenced
this issue
Dec 26, 2018
Generate dwg.h struct names and field types, offsets. TODO: types not as string? link _fields[] to some name array, either dwg_name_types or dwg_entity_names See #59
rurban
added a commit
that referenced
this issue
Dec 26, 2018
Generate dwg.h struct names and field types, offsets. TODO: types not as string? link _fields[] to some name array, either dwg_name_types or dwg_entity_names See #59
rurban
added a commit
that referenced
this issue
Jan 16, 2019
Generate dwg.h struct names and field types, offsets. TODO: types not as string? link _fields[] to some name array, either dwg_name_types or dwg_entity_names See #59
rurban
added a commit
that referenced
this issue
Jan 17, 2019
Generate dwg.h struct names and field types, offsets. TODO: types not as string? link _fields[] to some name array, either dwg_name_types or dwg_entity_names See #59
rurban
added a commit
that referenced
this issue
Jan 17, 2019
Generate dwg.h struct names and field types, offsets. TODO: types not as string? link _fields[] to some name array, either dwg_name_types or dwg_entity_names See #59
rurban
added a commit
that referenced
this issue
Jan 17, 2019
Generate dwg.h struct names and field types, offsets. TODO: types not as string? link _fields[] to some name array, either dwg_name_types or dwg_entity_names See #59
dynapi getters finished with 2d7220d TODO:
|
rurban
added a commit
that referenced
this issue
Jan 25, 2019
Generate dwg.h struct names and field types, offsets. TODO: types not as string? link _fields[] to some name array, either dwg_name_types or dwg_entity_names See #59
rurban
added a commit
that referenced
this issue
Jan 25, 2019
Generate dwg.h struct names and field types, offsets. TODO: types not as string? link _fields[] to some name array, either dwg_name_types or dwg_entity_names See #59
rurban
added a commit
that referenced
this issue
Jan 25, 2019
Generate dwg.h struct names and field types, offsets. TODO: types not as string? link _fields[] to some name array, either dwg_name_types or dwg_entity_names See #59
rurban
added a commit
that referenced
this issue
Jan 27, 2019
Generate dwg.h struct names and field types, offsets. TODO: types not as string? link _fields[] to some name array, either dwg_name_types or dwg_entity_names See #59
rurban
added a commit
that referenced
this issue
Jan 27, 2019
Generate dwg.h struct names and field types, offsets. TODO: types not as string? link _fields[] to some name array, either dwg_name_types or dwg_entity_names See #59
rurban
added a commit
that referenced
this issue
Jan 27, 2019
Generate dwg.h struct names and field types, offsets. TODO: types not as string? link _fields[] to some name array, either dwg_name_types or dwg_entity_names See #59
rurban
added a commit
that referenced
this issue
Jan 27, 2019
Generate dwg.h struct names and field types, offsets. TODO: types not as string? link _fields[] to some name array, either dwg_name_types or dwg_entity_names See #59
rurban
added a commit
that referenced
this issue
Jan 27, 2019
Generate dwg.h struct names and field types, offsets. TODO: types not as string? link _fields[] to some name array, either dwg_name_types or dwg_entity_names See #59
rurban
added a commit
that referenced
this issue
Jan 27, 2019
Generate dwg.h struct names and field types, offsets. TODO: types not as string? link _fields[] to some name array, either dwg_name_types or dwg_entity_names See #59
rurban
added a commit
that referenced
this issue
Jan 27, 2019
Generate dwg.h struct names and field types, offsets. TODO: types not as string? link _fields[] to some name array, either dwg_name_types or dwg_entity_names See #59
rurban
added a commit
that referenced
this issue
Jan 28, 2019
Generate dwg.h struct names and field types, offsets. TODO: types not as string? link _fields[] to some name array, either dwg_name_types or dwg_entity_names See #59
rurban
added a commit
that referenced
this issue
Jan 28, 2019
Generate dwg.h struct names and field types, offsets. TODO: types not as string? link _fields[] to some name array, either dwg_name_types or dwg_entity_names See #59
rurban
added a commit
that referenced
this issue
Jan 28, 2019
Generate dwg.h struct names and field types, offsets. TODO: types not as string? link _fields[] to some name array, either dwg_name_types or dwg_entity_names See #59
rurban
added a commit
that referenced
this issue
Jan 28, 2019
Generate dwg.h struct names and field types, offsets. TODO: types not as string? link _fields[] to some name array, either dwg_name_types or dwg_entity_names See #59
rurban
added a commit
that referenced
this issue
Jan 28, 2019
all entites and objects, also all missing typedefs. The api should be now complete, sans the common fields
merged with f4c7d63 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It's required for interfacing dynamic languages to provide a better dynamic API, and for the importers, a precompiled list or hash of all known elements, objects and subtypes with all its properties.
These can be generated via processing the dwg.h or dwg.spec into gperf hashes or arrays.
The needed info per field would be: name, type, offsetof(), (dxf).
Then we could also implement a dwgfilter program (#64), which allows filtering on user-defined, dynamic objects and it's properties. e.g. dwglayer, dwgxrefs, ...
analog to osmfilter
we could also get rid of the massively big and unmaintainable dwg_api functions, replacing it with the dynamic versions, separated by type. and add a reflective api, e.g. return the VERTEX_2D fields, the type of the VERTEX_3D.point field, ...
e.g. for 3RD: dwg_set_VERTEX_2D(obj, "point", 0.0, 0.0, 1.0);
The text was updated successfully, but these errors were encountered: