So I have a reporter that reports a script
And I have this sequence block that allows me to use the reported script in a bigger sequence
but I'd like to make it easier to use i.e not have to have individual sequence slots
Something that looks like this but actually works
Sounds like a good idea, but I don't have anything to say that might help. I do hope you receive a suggestion!
run (script :: grey) :: control
say (position :: motion) for (1) secs :: looks
are you trying to something like this?
At that point, wouldn't it just be easier to say
This is just the shortest example I can come up with.
The real project is using codification and so doesn't behave like normal Snap!
So I need the two scripts joining together before the combined script gets codified
Use SPLIT BY BLOCKS to pull apart the input, check for a block called IMPORT, and replace it with the contents of the desired script, I guess.
I can do all that but the problem is that I end up with the greyed ring
and I'm unable to decode that to its contents
That's the operation that I don't seem able to come up with
I've worked it out I needed to unringify a call to the ringifyed script reporter
By golly - that was a lot of trial and error
Just need to make it handle multiple imports and then merge it back into my OpenSCAD codification project
Version to handle multiple imports
Yeah, on my long-and-getting-longer list of tasks is to design a more user friendly wrapper around the existing metaprogramming stuff.
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.