Giter VIP home page Giter VIP logo

eneroth-svg-exporter's People

Contributors

eneroth3 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

eneroth-svg-exporter's Issues

Tool usage instructions

Dear Eneroth3,
for first thanks for all your work! I like your plugins, easy to install and to use.

For that reason, I am little in trouble because I do not understand exactly how to make SVG Exporter works.
I try to draw something in 2D on the horizontal plane (the one you see selecting Camera -> Standard Views -> Top).

For example:
Screenshot 2023-12-29 at 17 39 01

Then I select the objects and invoke your plugin; it ask to me filename for SVG output.
But the result is always a "blank" SVG (I have tried to check it in Google Chrome and importing into LIghtBurn software).
What I am doing wrong?

Thanks and I wish you an happy new year!
Francesco

`Exporter::svg_path()` reported to not be closing paths

Exporter::svg_path() reported to not be closing paths. - "exporter.rb", line 151

REF: https://forums.sketchup.com/t/eneroth-svg-exporter/174017

I think that (contrary to what the OP said in post 3 of your forum topic,) line 169 should remain as is.

Line 155 should become ...

   end.join(" ") << " Z"

... so that each loop tells the SVG path to close as it is processing faces (which are a set of closed edges.)

Then d_inner should begin with a space if there are inner loops, so line 165 should insert a leading space like:

     d_inner[0] = " M"

And again, each inner loop should close it's corresponding SVG path, so line 164 should be:

     end.join(" ") << " Z"

Perspective?

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.