Remix of Diagonal Cucoloris

by Manuela - uploaded on December 14, 2018, 3:42 pm

Tried to reduce file size a little bit ;-). Only one option left, namely to leave the title tag which would reduce the size another 52 bytes

Log in to add this clipart to a collection.

Tags
Adam Stanislav
Safe for Work?
Yes
Download SVG

Comments

Umm... That is no longer a cucoloris. The dimensions of the original are essential to a cucoloris because you would normally convert it to a 3D STL file at http://svg2stl.com (or similar), so you might 3D print it or such. But if you did that with this one, you would end up with a square that is 5mm wide and 5 mm tall. Try fitting that in front of a stage or movie light.

Ok, I did not know that. I thought that you can scale an svg to any size you want ;)

Yes, you can scale an SVG any way you want. Unfortunately, that web site does not give you a scaling choice. It just assumes 10 SVG units per millimeter. It lets you set your own thickness, but not width and height.

That is one of the reasons I am using 1000x1000. The other reason is that PostScript fonts expect a 1000x1000 grid. Well, technically you can use any dimensions you want but many original PostScript printers ignored the settings and just assumed the font was using the 1000x1000 scale. They also expect you to use integers only. Regardless, though, the 1000x1000 gives 100 mm x 100 mm when that web sites converts the 1000x1000 to STL. This can be rescaled before printing to the desired final size. Theoretically, it should be possible to rescale the 5 mm x 5 mm STL, but I would not trust that.

Thanks for the information, Adam.

You’re quite welcome. I should add that this particular image could be properly enlarged even after the conversion to STL because it consists of straight lines. The moment you introduce a curve, however, it becomes more complicated. That is because STL, as a 3D modeling language, only deals with straight lines (or actually vertices of triangles). So, for example, if the image contains a circle, it is converted to a number of line segments before converting it to STL. If the circle is within a 1000x1000 mm square, it will be converted to more small lines than if it is in a 5x5 mm square. So enlarging the circle from the 5x5 image will produce a much more jagged “circle” than enlarging it from a 1000x1000 square. It is a very similar problem to that we often see when someone posts a bitmap instead of a vector.

If you are seeking ways converting svg to stl, blender is yet another perfectly free and opensource option.

While svg-s are hard-codedly using pixels to store coordinates, you can set the scale factor by adding a simple viewbox or a transformation matrix to your file.
That is what you do, if you change your document size settings inside inkscape. Current version is using the css standard's 96 dpi, meaning that 1 screen pixel at 100% zoom level is representing 1/96*25,4=0,26458333 mm.

Besides, when blender importing an svg it uses those real world distance units in 1:1 scale. Default coordinates are in m, so a regular svg imported is usually rather tiny.
Converting an svg curve to a mesh is using the same resolution regardless the scale factor though. Even then it's not a big deal multiplying the number of edges along a loop.


By the way, every font file is preferring integer coordinates. The font's height -that you set it with a text editor- sets the scale factor of the glypths "visual container's scale to real world units. That is the "em height".
When designing a font, it is a basic setting to set a unit to which the em is divided into. As mentioned, postscript is using 1000.
However most truetype fonts, it's a power of two -1024 or 2048 etc.

http://designwithfontforge.com/en-US/The_EM_Square.html

Actually, I did try to import one of my 1000x1000 cookies to blender and when exported to STL, the size was 0.3x0.3x0 mm. A real blender bender, if you ask me!

@AdamStanislav: your images have no indication on real world units. Adding >>width="1000mm" height="1000mm"

@AdamStanislav: then again importing your "0 0 1000 1000" viewboxes are imported as 0,282228 m / 0,282168 m into blender 2.79b.
Some inaccuracy seems present, however 0,282 should be a familiar value. 1000 px / 282 mm=1000 px / 11,11 inch=90 px / 1 inch.
Concluding blender assumes any svg with unspecified scale to be drawn at 90 dpi. That's probably a relic from the past. Maybe the feature was added in wgen inkscape was still using 90 dpi and it hasn't been updated to 96 dpi.

The rest about the stl scale is a problem outside blender. When exported from blender and imported back to it, the size remains the same.
The program you opened your stl file assumed mm to be the default unit instead of m.

None of that matters to the topic that started this discussion. It is not about me, it is about people who may come here looking for a cucoloris to suit their lighting needs. Giving them an SVG file with the 1000x1000 dimensions allows them to use the svg2stl web site and, within seconds, get a reasonably scaled STL file they can import to Cura (the software which just about all 3D printers use and which assumes the STL dimensions are in mm) where they can scale it to any size they need.

To expect them to download and use Blender, an extremely confusing piece of software with a completely non-standard user interface to anyone but Linux users and a steep learning curve to everyone, would most likely result in them giving up and looking somewhere else. Which would make it pointless to post those designs here in the first place.

And, FWIW, to actually do it in Blender, the following steps do the trick:

1. Import the SVG.
2. Zoom in.
3. Right-click on the imported image to select it.
4. In the right pane, click on the Type of active data to display icon.
5. Change Length from None to Metric.
6. Change Unit Presets to Millimeters.
7. In the main part of the program press N.
8. Change X and Y dimensions to however many millimeters you need.
9. In the right pane click on the wrench.
10. Click Add Modifier.
11. Click Solidify.
12. Back in the Dimensions (as in point 8) set the Z dimension to desired fitness in mm.
13. Export STL.

That works. But using the svg2stl web site does, too, and is a lot simpler for most people.

@AdamStanislav:
It IS about you because you started a series assuming how people will use these.
1000 px is no way equal to 1000 mm by any default. Svg2stl may use that formula out of their assumption, yet it can lead people following the standards to wrong scales.
Adding no more than 30 characters to your svg-s is not a great additional data which the site couldn't hold but a proper way of setting up the resolution for potential uses.

@AdamStanislav:

Necessary steps in blender:
1. import svg
2. set extrude value
3. export to stl.

Now if you'd help me out with a 3D printer coping with an 1000 mm / 1000 mm print I'd really love to learn.

Yeah, I’d love to have one for 1000x1000 mm, but I was talking about 100x100 mm. The svg2stl site assumes 10 SVG points per mm, so it converts a 1000x1000 SVG graphic to a 100x100 STL (which Cura interprets as 100x100 mm and can scale it to whatever dimensions are desired). Currently, the most popular 3D printer seems to be the Ender 3, which can print up to 220x220 mm (x and y) and around 250 mm z. Though I wouldn’t be surprised if the new Ender 5 became more popular pretty soon.

As for Blender, I see no Extrude option, and pressing E does nothing for me. The method I described works. Oh, and by the way, before I even started talking about Blender here and before you started lecturing me, I did enter the width and height in mm, and Blender ignored it.

Ok then.

Why are you drawing in 1000 px units when you want it to be printed at 100 mm? That site's conversion doesn't make sense.

Drawing with a viewBox="0 0 100 100" width="100mm" height="100mm" is way more convenient, although even viewBox="0 0 1000 1000" width="100mm" height="100mm" still works, right in scale.

The extrude value is a setting of a curve. Can even add a bevel by a simple slider.

I *don’t* want it printed at 100 mm. Too small. What I want is for people who need to make their own cucolores (is that the plural of cucoloris?) to be able to take the designs and convert them to something physical without having to be computer graphics experts.

1000 is a power of ten. So is 100. 3D printers, like most physical things use metric system which, as you certainly know, uses base 10. It is easy for Cura users to simply type in the percentage they want it to resize the STL. So, if somebody wants 220x220 mm, a common 3D printer platter size, all they need to do is run the SVG through a simple web site and open the resultant STL file in Cura and type 220% in the resizer. If they want 500x500 mm, they can type 500%. &c.

You are obviously quite skilled with Blender. Good for you. But is every theatre lighting designer skilled with Blender? Is every photographer? Every film maker? Every videographer? I imagine a certain percentage is. Is it reasonable to expect all the rest of them to cut their teeth on a very complex piece of software they may never need for anything else? I’d rather make it as easy for them as I can.

Openclipart needs a forum.

I did not want to stop this discussion. I wanted to say how much nicer it would be to have this discussion in a forum with more functions.

@Manuela., we used to have a chat room built into the site, it seems like functions have been lost over the years instead of added! @rejon, we need forum and or chat etc! This site admins need to be a bit more active lol

Log in to comment.