Changes between Initial Version and Version 1 of Ticket #1242, comment 4


Ignore:
Timestamp:
Aug 29, 2022, 10:26:25 AM (3 years ago)
Author:
Tom Goddard

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #1242, comment 4

    initial v1  
    1 The ribbon code can easily show helices as straight cylinders.  It may not produce the best cylinder end points resulting in somewhat weird appearance where the coil t the end of the cylinder joins on the side of the cylinder instead of the end cap.  That doesn't seem to happen to often.
     1The ribbon code can easily show helices as straight cylinders.  It may not produce the best cylinder end points resulting in somewhat weird appearance where the coil at the end of the cylinder joins on the side of the cylinder instead of the end cap.  That doesn't seem to happen too often.
    22
    33The main work to allow straight helix cylinders is that the C++ Structure class needs to support that mode.  There would need to be a new ribbon style, Structure.ribbon_mode_style = RIBBON_MODE_CYLINDER, saved in sessions, and the cartoon style command would need to accept that for the modeHelix option.  Then a few lines changed in the ribbon calculation code could use it.