#3 Write comments to file with "0 //"

closed-accepted
nobody
None
5
2011-12-04
2007-10-16
Jim DeVona
No

This patch causes Bricksmith to write comments using the following syntax:

0 // comment

This is the form preferred by the LDraw File Format 1.0 specification for regular comments (http://ldraw.org/Article218.html#lt0). The WRITE meta command formerly used to designate comments performs a display function in the original LDraw program and possibly others (http://ldraw.org/Article218.html#write).

The WRITE and PRINT meta commands are still understood to represent comments when loading files. They can still be created with the "Insert Raw Command" function.

Discussion

  • Jim DeVona
    Jim DeVona
    2007-10-16

    Defines LDRAW_COMMENT_SLASH

     
    Attachments
  • Jim DeVona
    Jim DeVona
    2007-10-16

    Accepts LDRAW_COMMENT_SLASH for input comments and uses it for output

     
    Attachments
  • Jim DeVona
    Jim DeVona
    2007-10-16

    Logged In: YES
    user_id=542607
    Originator: YES

    File Added: LDrawComment.m.diff

     
  • Jim DeVona
    Jim DeVona
    2007-10-17

    • status: open --> open-accepted
     
  • Jim DeVona
    Jim DeVona
    2011-12-04

    • status: open-accepted --> closed-accepted