-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
--export-svg and --export-png are missing #1805
Comments
why do you need to slice into svg or png? |
Thank you. I mentioned —export-png doesn’t work for me. I found that option in the man page but it doesn’t work. Could you please explain how to get it to work? I’m happy to update documentation. SVG export is another good way Slic3r used to output vector graphics for later conversion or complex image transforms per layer. I am unclear why svg export option was deleted. I am hoping it could be turned back on relatively easily...? |
We removed that functionality during rewrite of that particular code from
Perl to C++.
Any code removed is good if it is not used by anybody. It is even good to
remove the code if it is used by a very tiny fraction of the users.
To justify the effort to re-implement the export to png and export to SVG,
I need to find out the use case for it. Therefore I am asking: What were
you using it for? Are you using it for FDM or SLA? Are you aware, that for
SLA there is now a set of zipped PNGs exported by default?
…On Sat, Mar 2, 2019 at 12:41 AM Volumetric, Inc. ***@***.***> wrote:
Thank you. I mentioned —export-png doesn’t work for me. I found that
option in the man page but it doesn’t work. Could you please explain how to
get it to work? I’m happy to update documentation.
SVG export is another good way Slic3r used to output vector graphics for
later conversion or complex image transforms per layer. I am unclear why
svg export option was deleted. I am hoping it could be turned back on
relatively easily...?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#1805 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AFj5I1nZE0HfDXPMPPLBsVpyYmfyF9wuks5vSbqZgaJpZM4ayXh7>
.
|
Thank you. We are using Slic3r for SLA. No I didn’t know pngs were created by default, the documentation is incorrect then. Please clarify what command to run in command line. Can you specify specific image resolution for rendering the PNGs? This is why we need SVG export which can be rendered to any size png accurately, so that we can render custom sizes of PNG to very high resolution (like 4K and 8K) without loss of quality. If we cannot export SVG very easily, how can the user instead enter custom sizes for PNG export? And can we get more detailed documentation to explain new default command line behaviors? |
And can we get more detailed documentation to explain new default
command line behaviors?
The command line interface is not finalized yet. It should behave very much
like the 1.41.3 or master.
Can you specify specific image resolution for rendering the PNGs? This is
why we need SVG export which can be rendered to any size png accurately, so
that we can render custom sizes of PNG to very high resolution (like 4K and
8K) without loss of quality.
If sliced through the user interface, just install the "SL1" printer with
the install wizard and adjust the printer settings.
…On Mon, Mar 4, 2019 at 12:25 PM Volumetric, Inc. ***@***.***> wrote:
Thank you. We are using Slic3r for SLA.
No I didn’t know pngs were created by default, the documentation is
incorrect then. Please clarify what command to run in command line.
Can you specify specific image resolution for rendering the PNGs? This is
why we need SVG export which can be rendered to any size png accurately, so
that we can render custom sizes of PNG to very high resolution (like 4K and
8K) without loss of quality.
If we cannot export SVG very easily, how can the user instead enter custom
sizes for PNG export?
And can we get more detailed documentation to explain new default command
line behaviors?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#1805 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AFj5I4giJhQeA49h7qQ4P3UwJ41Yso9Iks5vTQKLgaJpZM4ayXh7>
.
|
I understand we could try to use the GUI, but we would like to move our SLA printer to use your software instead of the vanilla slic3r. Since we are developing our own open source touch interface we need the command line version. So we would need the command line version to have these features. Could that be possible? We could help with Dev costs too. We really appreciate and support open source. |
This will be fixed in 1.42.0 beta The 1.42.0-beta command line processing is based on the upstream code by @alexrj and @lordofhyphens, thanks to them.
The output of the --export-sla is a zipped set of pngs. You can set the display resolution with |
I also need SVG output. The use case is high resolution SLA. Work area in pixels is 40,000x60,000. It's tricky to do sizes like this without huge memory requirements, Prusa-slicer uses more memory than I have to attempt it. Currently we use a custom rasterizer based on cairo that implements some needed non-linear transforms. This is all pretty fast and the SVG is not overly huge. In the meantime I have been trying to add supports in prusa-slicer and then export to svg in Slic3r. Unfortunately I am not able to get the exported STL w/ supports to successfully slice in Slic3r most of the time. Presumably Slic3r is having trouble with layers that have lots of support<->model joints. Imho for really large files BREP is the way to go. Voxels are just unmanageable. |
Wow that’s awesome. Could you explain more on what you’re doing at so many pixels (40,000x60,000)? What material are you using, what optical system, and what 3D printer? Is it all custom? Let’s connect to discuss more for sure. |
My situation is similar, I use a high magnification optical system, each layer may contain 50k*50k Pixels, each layer must be divided into many small pieces to print in chunks. So it would be nice to have an svg file that allows us to customize the rasterization parameters |
@tamasmeszaros works on extending the SL1 format, where instead of PNGs, SVG files are generated. The exported files are somehow smaller than PNG containing archives, however don't expect miracles. I think @tamasmeszaros reported around 5x smaller files, but the reduction ration depends on allowed contour decimation rate. |
Exporting SLA output into an archive with SVG images inside: 3785ad3 Please note that this is currently an experimental feature and the controlling paramters ( Currently, in order to actually export the svg-s you need to set In order to use this from the command line, you need something similar to: prusa-slicer --display-pixels-x X --display-pixels-y Y --display-width W --display-height H --export-sla /home/quarky/Downloads/Marvin_KeyChain.STL --sla-archive-format SL2 --output ./Marvin_KeyChain.zip Given that you substitute your values for X, Y, W and H. Also to achieve correct results, the print bed shape end center point should be set properly. All of these parameters can be part of a custom printer profile you create and use subsequently. |
@tamasmeszaros hi, could you make exported svg format like the old slic3r export svg feature which each polygon has a type attribute that declare the polygon is a contour or a hole. I tested the SL2 output svg option and found that when slicing model has holes in it, types of the nested polygons is not marked explicitly. testing with a model below, and use |
Refer to this document svg fill rule |
For anyone coming to this later, |
Version
Slic3r 1.42.0-alpha5 - Prusa Edition
Operating system type + version
Ubuntu 18.10
Behavior
--export-png is listed as a feature in the README, but Slic3r describes it as "Warning: unknown option --export-png"
--export-svg used to be a working feature in the original Slic3r. Was this feature nixed in Slic3r Prusa Edition? If so, why?
I would like to run:
$ ./slic3r makerook.stl --export-png --layer-height 0.1 --output pngs-export.zip
$ ./slic3r makerook.stl --export-svg --layer-height 0.1 --output multilayer-svg-export.svg
Is this a new feature request?
No, this is a "where did these old features go" request?
The text was updated successfully, but these errors were encountered: