Shubham,

> 1) In which file do you think, the placement flag values should be defined ?

include/rt/geom.h
Other primitives define their flags there too.

> 2) regarding the input. It was decided that the input will be through the
> "in" command:
>    - in "parameters"
>    - what all parameters are desired ?

The parameters which are needed to fill the rt_anno_internal(?)
structure.  The sketch should be a good template for how it should
look like for the annotation.

> 3) if we talk about line segment , then user can input the point to be
> annotated and the coords of the line segment.
>  but for beizer, nurb etc. we will need the editor. suggestions please.

Again: Similar as for the sketch.  It can be created with an "in" too.
The annotation has a parameter "anchor point in 3D space" plus a list
of 2D segments.  It should be possible to use a large portion of the
sketch code which interprets the TCL input for the annotation.

You should aim for getting a line on the screen.  When you are able to
see what you are doing it will make the live easier.


Regards,
    Daniel

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
BRL-CAD Developer mailing list
brlcad-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/brlcad-devel

Reply via email to