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

now, exports only empty svg #13

Open
lalli92 opened this issue Oct 29, 2021 · 4 comments
Open

now, exports only empty svg #13

lalli92 opened this issue Oct 29, 2021 · 4 comments

Comments

@lalli92
Copy link

lalli92 commented Oct 29, 2021

It' s only a problem of mine or it is because of the tox isn't updated from 2/3 years ? please update !

@raganmd
Copy link
Owner

raganmd commented Oct 29, 2021

I'd guess that what you're seeing here is actually due the size and position of your input.

TouchDesigner unit space doesn't have a direct correlation to a resolution - further, because svgs are vectors, making a decision for the user about scale didn't seem appropriate.

3D positioning also makes a difference in relationship to your output canvas. A typical touchdesigner SOP is positioned at world origin, which doesn't map well to an output.

Here's a quick reference. A circle SOP with a radius of 20 positioned at origin will import to illustrate like this:
image

This works correctly for me with the current TOX. I'd first check the scale of your SVG, and then consider importing to a tool like illustrator to check positioning and scale.

@SnacksDaily
Copy link

I have this same problem even when following the setup example provided on the github page..

@raganmd
Copy link
Owner

raganmd commented Mar 19, 2022

@SnacksDaily - just have you tried scaling up your SOP prior to export, or importing your svg into a tool like illustrator or inkscape and then enlarging your svg?

@escline
Copy link

escline commented Mar 24, 2022

I had the same experience. Changing circle SOP radius to 500/500 scaled it up great.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants