Hello
I posted this same mail on the STEPcode mailing list, but I have
not yet gotten a reply so I am posting here, hoping to get some response
from the BRL-CAD developers involved with STEP.
I have been studying the STEPcode source code in order to
familiarize myself with its routines, due to my interest in working on
enabling STEP Multiple Protocol Parsing for the google summer of code 2015.
I have made some observations and also have some questions/clarifications
listed below.
- My first approach to this project would be to rework the
modified_step_merged_cad_
schema.exp file which contains merged EXPRESS for various AP203, AP214,
AP242 schemas and also exp2cxx to enable it generate a suitable cplusplus
parser. Given that there are some entities that are found in AP214 which
are redefined in AP242 this may pose lots of trouble initially, so I may
want to reconsider developing a merged file for just AP203 and AP214
EXPRESS first and work through, later adding support for AP242. Which
approach would be a better option?.
- From my observation I tend to believe that step-g is hard-wired to AP203
thus when I do conversion of an AP214 file using step-g the color instance
is not parsed since it is not supported until the 2nd edition of AP203. On
viewing the file I get to see that there is some color generated. I have
found the BRLCADWrapper::getRandomColor(rgb) function called but I am not
certain if it is entirely responsible for generating colors as some of the
colors seem to be more accurate as opposed to random generation.
- In order to add support for AP242, there would be some issues with
respect to entities found in AP214 which have been redefined in AP242
especially Kinematics definitions. For example
product_definition_relationship's relating_product_definition has now been
updated to select type as opposed to just product_definition. Would a work
around this require modifying exp2cxx to support this change or developing
external routine to handle this issues?.
- I have also observed that there are lots of change found in stepcode
within the brlcad source which are not actualy found in the stepcode git
repository, but I have not yet had the time to figure out the additional
functionalities.
I apologize if some of the questions/observations are not well
constructed as I am trying to familiarize myself with STEP and STEPcode
within a limited amount of time.
Cheers!
Konrad
------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
BRL-CAD Developer mailing list
brlcad-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/brlcad-devel