[Therion] Can't change default l_wall style with metapost
Paul Rowe
armchair.caver.nz at gmail.com
Tue Jul 25 23:10:43 CEST 2023
Thanks, that's exactly what I needed.
Is that approach the case for any point/line/area that has subtypes? i.e.
You have to override the default subtype.
Paul
On Wed, 26 Jul 2023 at 07:01, Martin Budaj <m.budaj at gmail.com> wrote:
> Hi,
>
> define l_wall_bedrock instead of l_wall
>
> M.
>
> On Tue, Jul 25, 2023 at 2:03 AM Paul Rowe <armchair.caver.nz at gmail.com>
> wrote:
>
>> Hi,
>> I have changed wall subtypes before in my layout. e.g. Using Bruce
>> Mutton's
>>
>> code metapost
>> def l_wall_unsurveyed (expr P) =
>> T:=identity;
>> pickup PenC;
>> thdraw P dashed evenly scaled (2*optical_zoom);
>> enddef;
>> endcode
>>
>> However, I can't get this working on the default l_wall type. Any
>> changes, including using the same style as in the above l_wall_unsurveyed
>> example get ignored. e.g.
>> code metapost
>> def l_wall (expr P) =
>> T:=identity;
>> pickup PenC;
>> thdraw P dashed evenly scaled (2*optical_zoom);
>> enddef;
>> endcode
>>
>> I'm not sure what I'm missing. I'm first trying to prove I can override
>> this, and then working on a wall style with a shadow or external
>> cross-hatching.
>>
>> Thanks,
>> Paul
>>
>> _______________________________________________
>> Therion mailing list
>> Therion at speleo.sk
>> https://mailman.speleo.sk/listinfo/therion
>>
> _______________________________________________
> Therion mailing list
> Therion at speleo.sk
> https://mailman.speleo.sk/listinfo/therion
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.speleo.sk/pipermail/therion/attachments/20230726/f984441e/attachment.htm>
More information about the Therion
mailing list