Hello,
First and foremost, thank you for developing and maintaining the parse-sb3-blocks library. It has been incredibly useful for converting Scratch 3.0 project blocks into scratchblocks format.
I have a question: In addition to converting blocks into scratchblocks text, is it possible to reverse the process and convert scratchblocks text back into SB3 format? Specifically, I would like to:
- Parse scratchblocks text back into the corresponding block structure.
- Regenerate SB3 format data (similar to
project.json or Blockly XML) from the parsed block structure, so it can be used and edited in Scratch.
I noticed a similar discussion in the Scratch community:
"You can convert Scratch blocks into 'scratchblocks' by using parse-sb3-blocks, and convert the 'scratchblocks' text back to a picture of the blocks using scratchblocks. There's no way to convert 'scratchblocks' into actual blocks though." ([scratch.mit.edu][1])
In this discussion, it's mentioned that converting scratchblocks back into actual blocks is a challenging task, as scratchblocks is primarily used for visual representation and not for storing complete block data.
Nonetheless, I am curious to know if this functionality is achievable within the current toolchain or if there are other tools that can assist in this conversion.
Looking forward to your response. Thank you!
Best regards,
Ciallo~(∠・ω< )⌒☆
Hello,
First and foremost, thank you for developing and maintaining the
parse-sb3-blockslibrary. It has been incredibly useful for converting Scratch 3.0 project blocks into scratchblocks format.I have a question: In addition to converting blocks into scratchblocks text, is it possible to reverse the process and convert scratchblocks text back into SB3 format? Specifically, I would like to:
project.jsonor Blockly XML) from the parsed block structure, so it can be used and edited in Scratch.I noticed a similar discussion in the Scratch community:
In this discussion, it's mentioned that converting scratchblocks back into actual blocks is a challenging task, as scratchblocks is primarily used for visual representation and not for storing complete block data.
Nonetheless, I am curious to know if this functionality is achievable within the current toolchain or if there are other tools that can assist in this conversion.
Looking forward to your response. Thank you!
Best regards,
Ciallo~(∠・ω< )⌒☆