Menu

#535 annotation text segment extending

Unstable
closed-accepted
None
5
2022-01-31
2019-08-23
ali haydar
No

this is a patch to extend the text segment in the annotation primitive to have a text size and text rotation angle parameters

1 Attachments

Discussion

  • ali haydar

    ali haydar - 2019-08-25

    ..

     
  • Daniel Roßberg

    Daniel Roßberg - 2019-08-26

    Could you please create a new patch based on the latest BRL-CAD repository trunk revision?

    And, you should consider the new text parameters in ant_label_dimensions() too.

     
    👍
    1
  • ali haydar

    ali haydar - 2019-08-28

    this is made on the new revision

     
  • Daniel Roßberg

    Daniel Roßberg - 2019-08-28

    Ups, the scale and the angle should be doubles, according to bn_vlist_2string().

     
  • ali haydar

    ali haydar - 2019-08-28

    this is fixed

     
  • Daniel Roßberg

    Daniel Roßberg - 2019-08-29

    I cannot apply the patch. I'm getting an error caused by line 1086 in src/librt/primitives/annot/annot.c (struct txt_seg *tseg;). It looks like the patch wasn't made with the latest file version.

    And BTW, 5 and 0 are integer constants. Their double counterparts are 5. and 0. ;)

     
  • ali haydar

    ali haydar - 2019-11-05

    this one is better I fixed the issues

     
  • Daniel Roßberg

    Daniel Roßberg - 2020-02-13

    After a long time I got back to this:
    In general, it looks good. There is only one thing, what you can improve: Add the two new parameters to rt_annot_describe() too.

    BTW, I tried to change the deault values by converting to asc format and back to .g, but asc2g doesn't work with annotations.

     
  • ali haydar

    ali haydar - 2020-03-05

    describe function changes, I found a solution for the asc2g we can implement it after commiting this patch

     
  • ali haydar

    ali haydar - 2020-03-06

    sorry for the last patch it is totally wrong this one is the correct version

     
  • ali haydar

    ali haydar - 2020-03-06

    this is the correct patch

     
  • Daniel Roßberg

    Daniel Roßberg - 2022-01-31
    • status: open --> closed-accepted
    • Group: Incomplete --> Unstable
     

Log in to post a comment.

MongoDB Logo MongoDB