Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revisionBoth sides next revision | ||
metapost [2019/11/30 22:51] – Trees tarquinwj | metapost [2019/12/08 19:06] – Centreline that is only visible when not in a scrap tarquinwj | ||
---|---|---|---|
Line 180: | Line 180: | ||
This can be used to set a minimum pen thickness, so that all other pens take their sizes relative to that pen thickness. This can be useful for publications that mandate a specific pen width, which can be harder to control with scaling. (This can be done by setting the " | This can be used to set a minimum pen thickness, so that all other pens take their sizes relative to that pen thickness. This can be useful for publications that mandate a specific pen width, which can be harder to control with scaling. (This can be done by setting the " | ||
+ | |||
+ | [[user: | ||
< | < | ||
Line 436: | Line 438: | ||
The default " | The default " | ||
- | In elevation view, by default it switches to being a filled circle, a standard symbol for a fixed position hanger, which can be placed on the linepoints of a basic rope line. | + | In elevation view, by default it switches to being a filled circle, a standard symbol for a fixed position hanger |
By using the "-attr type" option, you can control which type of anchor it will show: | By using the "-attr type" option, you can control which type of anchor it will show: | ||
Line 609: | Line 611: | ||
[[user: | [[user: | ||
- | A common way to show rope lengths (at least in the UK) is with a number inside a circle. This point relies on you also including the code for [[#Adding custom styled labels at any point/ | + | A common way to show rope lengths (at least in the UK) on [[riggingtopos|Rigging topos]] |
< | < | ||
Line 987: | Line 989: | ||
[[user: | [[user: | ||
- | Pits use the same appearance in both plan and elevation views. However, it may be desirable for a pit edge to be drawn as a pitch in plan view, but a ledge in elevation view. This is common with rigging | + | Pits use the same appearance in both plan and elevation views. However, it may be desirable for a pit edge to be drawn as a pitch in plan view, but a ledge in elevation view. This is common with [[riggingtopos|Rigging |
< | < | ||
Line 1010: | Line 1012: | ||
[[user: | [[user: | ||
- | The default Therion rope symbol is very pretty, doing fancy rebelays and anchors. This works well for simple cases, but when trying to draw rigging | + | The default Therion rope symbol is very pretty, doing fancy rebelays and anchors. This works well for simple cases, but when trying to draw [[riggingtopos|Rigging |
It is possible to disable the anchors and rebelays by adding two options to a linepoint (not the line itself), and hoping that you never accidentally remove that particular linepoint. These options apply to the whole line rather than an individual linepoint, so you cannot fine control the use of rebelays and linepoints. It is best to just disable them, use the usual Bézier curve controls, and [[# | It is possible to disable the anchors and rebelays by adding two options to a linepoint (not the line itself), and hoping that you never accidentally remove that particular linepoint. These options apply to the whole line rather than an individual linepoint, so you cannot fine control the use of rebelays and linepoints. It is best to just disable them, use the usual Bézier curve controls, and [[# | ||
Line 1054: | Line 1056: | ||
[[user: | [[user: | ||
- | For rigging | + | For [[riggingtopos|Rigging |
< | < | ||
Line 1207: | Line 1209: | ||
[[user: | [[user: | ||
- | Trees are often found in the entrances to caves, and sometimes a survey deserves to show the trees. This is particularly common with rigging | + | Trees are often found in the entrances to caves, and sometimes a survey deserves to show the trees. This is particularly common with [[riggingtopos|Rigging |
This is therefore a pair of symbols. The first is for the sides of the tree trunk (which could also be used to create jagged shapes for conifers), and the second is for the bushy leaves at the top of a deciduous tree. The sides of the tree can therefore be curved or branched as needed, with linepoints added for attaching rope lines, the surface lines, and the bushy part of the tree to. For plans, the bushy part alone would normally work, as a closed, circular line. | This is therefore a pair of symbols. The first is for the sides of the tree trunk (which could also be used to create jagged shapes for conifers), and the second is for the bushy leaves at the top of a deciduous tree. The sides of the tree can therefore be curved or branched as needed, with linepoints added for attaching rope lines, the surface lines, and the bushy part of the tree to. For plans, the bushy part alone would normally work, as a closed, circular line. | ||
Line 1320: | Line 1322: | ||
* -attr bulgesper tenu = the number of bulges should be used per approx 10u of the line's length (so the bulge length remains fairly constant, and longer lines get more bulges | * -attr bulgesper tenu = the number of bulges should be used per approx 10u of the line's length (so the bulge length remains fairly constant, and longer lines get more bulges | ||
* -attr bulgesize 1 = how much each bulge extends away from the line, in number of " | * -attr bulgesize 1 = how much each bulge extends away from the line, in number of " | ||
+ | |||
+ | ===Shoring=== | ||
+ | |||
+ | [[user: | ||
+ | |||
+ | Metal bars and wooden beams are a common part of chokes, and are not normally drawn on a survey (though sometimes that are drawn, for particularly special cases). However, sometimes they are also used for [[riggingtopos|rigging]], | ||
+ | |||
+ | < | ||
+ | code metapost | ||
+ | def l_u_shoring (expr P)= | ||
+ | begingroup; | ||
+ | save scale; | ||
+ | T: | ||
+ | string scale; | ||
+ | if known ATTR_scale: | ||
+ | scale: | ||
+ | else: | ||
+ | scale: | ||
+ | fi; | ||
+ | if scale = " | ||
+ | elseif scale = " | ||
+ | elseif scale = " | ||
+ | elseif scale = " | ||
+ | elseif scale = " | ||
+ | fi; | ||
+ | thdraw P; | ||
+ | endgroup; | ||
+ | enddef; | ||
+ | initsymbol(" | ||
+ | def l_u_shoring_legend = | ||
+ | l_u_shoring(((.1, | ||
+ | l_u_shoring(((.9, | ||
+ | enddef; | ||
+ | endcode | ||
+ | </ | ||
+ | |||
+ | {{ :: | ||
+ | |||
+ | Select this as line type " | ||
+ | |||
+ | text en "line u: | ||
+ | |||
+ | ===Centreline that is only visible when not in a scrap=== | ||
+ | |||
+ | [[user: | ||
+ | |||
+ | Sometimes, you might want to show a centreline for a section of the cave where you do not have any wall data, if you are using [[tips# | ||
+ | |||
+ | < | ||
+ | code metapost | ||
+ | def l_survey_cave_MY(expr P) = | ||
+ | if ATTR__scrap_centerline: | ||
+ | l_survey_cave_SKBB(P); | ||
+ | fi; | ||
+ | enddef; | ||
+ | initsymbol(" | ||
+ | endcode | ||
+ | </ | ||
+ | |||
+ | You may notice the misleadingly named " | ||
+ | |||
+ | Use it with this line in your layout: | ||
+ | |||
+ | symbol-assign line survey:cave MY | ||
+ | |||
+ | You can use a similar approach for l_survey_surface_MY (surface survey legs), p_station_temporary_MY, | ||
====Area Symbols==== | ====Area Symbols==== | ||
===Show area water in a different color=== | ===Show area water in a different color=== |