Can't change default l_wall style with metapost
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
Hello, change your function name to : l_wall_unsurveyed_MYLINE do not forget the code : initsymbol("l_wall_unsurveyed"); symbol-assign line unsurveyed MYLINE after enddef; and before endcode; it will should work. (-; Le 25/07/2023 à 02:00, Paul Rowe a écrit :
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@speleo.sk https://mailman.speleo.sk/listinfo/therion
Hi, define l_wall_bedrock instead of l_wall M. On Tue, Jul 25, 2023 at 2:03 AM Paul Rowe <armchair.caver.nz@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@speleo.sk https://mailman.speleo.sk/listinfo/therion
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@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@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@speleo.sk https://mailman.speleo.sk/listinfo/therion
_______________________________________________ Therion mailing list Therion@speleo.sk https://mailman.speleo.sk/listinfo/therion
participants (3)
-
Gilbert (liste) -
Martin Budaj -
Paul Rowe