dppdppd / The-Boardgame-Insert-Toolkit

This OpenSCAD library was created to make it easy to create board game inserts with lids for either horizontal or vertical storage, without any programming required.
293 stars 39 forks source link

Multiple lines of text? #3

Closed jeep closed 4 years ago

jeep commented 4 years ago

Is there a way to generate multiple lines of text on a lid? Ideally, I would want it to be another font. I tried adding another label tuple, but that did nothing. If there is a way, can you add it to the documentation? If there is not a way, please consider this a feature request. I think allowing a second label would be good and then the position could be changed manually. Something like this

     [   "example 1",
        [
            [ LABEL,
                [
                    [ LBL_TEXT,     "Example title"],
                ]
            ],
            [ LABEL,
                [
                    [ LBL_TEXT,     "Subtitle"],
                    [ POSTION_XY, [12, 34],
                ]
            ],
dppdppd commented 4 years ago

It was not possible but it’s a good idea!

Implemented as of v2.08, per your example.

Also note that I applied the same concept to components so there's no longer the need to have a BOX_COMPONENTS container. Instead create as many BOX_COMPONENT (singular) as desired. See examples.