Eneroth3 / eneroth-svg-exporter

Export SVG from SketchUp selection.
MIT License
8 stars 0 forks source link

Perspective? #1

Open mariocha opened 2 years ago

mariocha commented 2 years ago

Do you think it would be possible for someone to make this extension export perspective view. If so I'd give it a try. As you know, I use a lot of images in my extensions and as I am replacing those old (not so nice) png with svg, the process is not straight forward as of now.

Eneroth3 commented 2 years ago

Hi Mario!

I made this extension for quick bounding box based graphics export without having to set up a view first. It's a quite special use case for generating logos as well as signs and decals for model making and similar graphics in SketchUp.

It would be possible use the LayOut API to create a throwaway document, insert the model with its current view as a viewport, explode the viewport down into basic geometry and create a custom SVG writer for that geometry. This would be a much more general SVG exporter with more use cases, but it would also require a complete rewrite and wouldn't be as quick to use for my specific use case.

Maybe I should rename this extension Eneroth SVG Logo Exporter to better convey its use, and you could start a general SVG Exporter project?

mariocha commented 2 years ago

Hi Christina, Thanks for the infos. Now I know. I agree that renaming it would be informative.

As for me making a general svg exporter, I'll put it on the list but, for now, I have finally found a good way to do it, in few steps.

cheers Mario p.s: I like the hat.

Le 15 févr. 2022 à 05:55, Eneroth3 @.***> a écrit :

 Hi Mario!

I made this extension for quick bounding box based graphics export without having to set up a view first. It's a quite special use case for generating logos as well as signs and decals for model making and similar graphics in SketchUp.

It would be possible use the LayOut API to create a throwaway document, insert the model with its current view as a viewport, explode the viewport down into basic geometry and create a custom SVG writer for that geometry. This would be a much more general SVG exporter with more use cases, but it would also require a complete rewrite and wouldn't be as quick to use for my specific use case.

Maybe I should rename this extension Eneroth SVG Logo Exporter to better convey its use, and you could start a general SVG Exporter project?

— Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android. You are receiving this because you authored the thread.