eneroth3 / eneroth-svg-exporter Goto Github PK
View Code? Open in Web Editor NEWExport SVG from SketchUp selection.
License: MIT License
Export SVG from SketchUp selection.
License: MIT License
The wysiwyg parameter seems to not be in used to determine when a hidden entity is being skipped over.
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).
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.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"
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.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.