[split] Buffer Exchange cleanup script
2022-04-02, 3:42 (This post was last modified: 2022-12-24, 14:07 by N. W. Perry.)
2022-04-02, 3:42 (This post was last modified: 2022-12-24, 14:07 by N. W. Perry.)
(background: Trying to write an LDCad script that will comment out all type 1 lines that are hidden by buffer exchange, so the model can be viewed in e.g. LDView…)
Hmm, so the logic of buffer exchange is a little trickier than I thought. It's easy enough when there's just one block of store/retrieve statements—just hide everything between the first store and the last retrieve. But when there are multiple hidden blocks with some visible lines in between them, it's harder.
I might need a hint. :-)
Hmm, so the logic of buffer exchange is a little trickier than I thought. It's easy enough when there's just one block of store/retrieve statements—just hide everything between the first store and the last retrieve. But when there are multiple hidden blocks with some visible lines in between them, it's harder.
I might need a hint. :-)