Hi dxli.
I see the same request was made 13 years ago (
https://forum.librecad.org/Creating-Custom-Linetypes-td4974845.html), but this feature is still not incorporated.
I don't speak C++, but from a quick inspection of
https://github.com/LibreCAD/LibreCAD/blob/master/librecad/src/lib/gui/rs_linetypepattern.cpp it looks like the RS_LineTypePattern type allows a pattern of on-off-on-off lengths.
What I'm looking for (and what I think Steve was asking for) is a way to define a linestyle that includes text or graphics. This is a feature critical to developing a site plan for building construction.
Examples:
Buried Power Cable:
-------BP--------------BP------
Buried Television Cable:
-------BTV-------------BTV-----
Existing Buried Telephone:
--- ---BT--- --- --- ---BT--- ---
Fence:
-------x---------------x-------
Existing Fence:
--- ---x--- --- --- ---x--- ---
The line should not only incorporate text or graphics, but also it should be possible to choose the style for the line portion.
By incorporating graphics into a linestyle, Steve could use a linestyle to approximate his corrugated roofing by simply drawing a line offset (line -> parallel) an inch or two from the top of the framing rather than over-complicating his drawing by making numerous copies of arcs.
Like Steve, I was using custom linestyles in CAD software as a draftsperson 30 years ago. But -- you know how software vendors and for-profit companies are -- the software I was using no longer exists.
Is this something that is possible in LibreCAD now by editing rs_linetypepattern.cpp, or would it require a change to the definition of the RS_LineTypePattern type? As Steve asked, Would it be possible for this to be referenced or uploaded into the software from a user-defined file? Because we certainly won't imagine all possible linestyles when developing the CPP code.
Is this forum not the correct place to make feature requests? Can you please provide the URL where I would make such a request?