lassed / svg2ldraw Goto Github PK
View Code? Open in Web Editor NEWConvert SVG to LDraw patterns for prints and stickers
License: The Unlicense
Convert SVG to LDraw patterns for prints and stickers
License: The Unlicense
Linear gradients are not possible to create properly with such a limited color space.
The support in svg2ldraw should ideally perform a color mapping with the granularity that is available and allow the user to change the stop-colors.
T-sections should ideally not be present in LDraw files. The current decomposition algorithm does not prevent T-sections to occur.
Use a special color to detect "no color" and crop the image to the shape wanted.
This is for basic intersection handling. Advanced intersections with various rules for 'inside' is in the back-log.
Defs should be included similarly to group (g)-elements, but without immediate output.
Numbers can be written with 'e-4' etc. annotation in path commands. sjg2ldraw doesn't currently support this.
Support RGB colors, such as specified in the following style parameter:
style="stroke-linejoin: round; stroke-linecap: round; stroke: rgb(214, 0, 30); fill:#FF0000; stroke-width: 5;"
Initial support should ignore self-intersections.
When drawing with stroke (instead of, or in collaboration with 'fill'), the drawn stroke should be transformed into a geometric object.
Hi, I want to create a sticker but I upload the svg file it shows errors and the process deletes the text border. I created the file with illustrator and it already takes a long time to be uploaded. Is there any other program to create the svg file?
The current decomposition algorithm creates Steiner points (and potentially many slim trapezoids). Another approach should be used. The decomposition is no longer restricted to triangles and quads, so a simple convex-hull creating greedy approach might work just fine.
This is a basic shape which should be supported.
This will require access to font drawing at stroke-level.
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.