Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Codelab: build renderer based on inkscape paths #311

Open
rachel-fenichel opened this issue Jun 17, 2020 · 0 comments
Open

Codelab: build renderer based on inkscape paths #311

rachel-fenichel opened this issue Jun 17, 2020 · 0 comments
Labels
category: codelab Anything in the codelabs folder help wanted Open for contributions status: discussion type: feature request New feature or request

Comments

@rachel-fenichel
Copy link
Collaborator

Category
Codelabs

Component

Not sure, needs a concise name.

Is your feature request related to a problem? Please describe.

A common workflow is to design connection paths in a design program such as illustrator or inkscape, then try to build the same paths in Blockly.

Working with paths like this can be tricky and is very situation-dependent, but a codelab can help scaffold it.

Describe the solution you'd like

A codelab that starts with a set of connection shapes or block shapes drawn in Inkscape, then shows how to export the SVG paths from the program and break them apart into path fragments that can be used in a Blockly renderer.

Topics include:

  • Blockly svg path utility functions
  • Absolute vs relative coordinates in SVG
  • Cleanup scripts to help break apart a path into a more readable form?
  • Cleanup scripts to transform an SVG path into a set of Blockly svg commands?

Describe alternatives you've considered

A basic rendering codelab exists and explains how to create custom connection shapes.

Additional context

@rachel-fenichel rachel-fenichel added type: feature request New feature or request triage category: codelab Anything in the codelabs folder status: discussion help wanted Open for contributions and removed triage labels Jun 17, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category: codelab Anything in the codelabs folder help wanted Open for contributions status: discussion type: feature request New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant