Open h3rb opened 8 years ago
+1 , maybe even mark the infill start
I'll probably never use this but it would be nice to do that to find bugs or manually tweak code a tiny bit.
@a4jp-com @peter1960 I agree, marking this ("infill start") and other things will help to advance the cause of complexifying slic3r's output without a wheel reinvent. Even if my other request (for layer-based and layer-range-based individualized config) doesn't get implemented for 6 months, something as simple as this would allow me to experiment with combining output from multiple slices
I can already make slic3r do all this (unless I'm misunderstanding the request).
In "Print Settings"."Output Options" there is a checkbox "Verbose G-code". If you turn that on it adds comments to every line that says what it is for (infill, for example).
Also, since you can put whatever custom gcode you want (including comments and there are variable expansions even) you can have the layer transition marked however you want: "; new layer"
That may be too verbose, perhaps there could be a less intensive setting that marks the 'major moments' only?
Shouldn't matter much if you're post processing anyway. You could strip them all out during the post process so you don't have to send them to the printer.
And like I say, you can do layer change by itself if you like.
+1 this would be useful for a number of things, including post-processing scripts. Also, having a comment at the start of each perimeter could be helpful to distinguish inner, outer, middle etc.
@h3rb as far as layer range based settings goes, modifier meshes actually serve this purpose quite well. One way you could make it easier though, would be to introduce a "create modifier cube" button, which you could use to generate a simple modifier mesh cube with given size and position so that you wouldn't have to create it in a separate program.
@pyrophreek "modifier meshes actually serve this purpose quite well." .. so how would you say "do 100% infill no perimeters" on an area using this method? Also does this work for more complex modifier meshes? It's just not clear to me how to associate "this region enclosed by this mesh" with "this set of config parameters"?
Here is a tutorial I wrote for a friend:
"You can make modifier meshes using Slic3r to set specific print parameters for different regions in a single part. For your example, you might want a solid layer (or more) at 5mm from the bottom, then another at 12 etc. Import your design into a modelling or cleaning program (netfabb free is great for this, you can import part, move it to origin, then make a cube primitive and position it), then add a cube that intersects your part at the desired height, with the desired thickness.
Export the model and the cube as separate stl files (this is to ensure they share the same coordinate reference system), then load the part into slicer, and click the settings button (or right click part and select settings).
Now load the cube(s) as modifier meshes, and change the infill on it(them) to 100%.
"
Hope this helps Modifiers can be any shape or size, but only apply to the region which is enclosed by both the modifier mesh and the part. If you have separate 3D models for the regions you want to have different settings, load them as parts, not modifiers.
See issue #2362 for more info on why you have to select each setting individually rather than profiles.
UPDATE:
I just noticed there is a slight issue with the screenshots. The modifier mesh should have a green puzzle piece icon like this:
I must have accidentally loaded it as a part.
Can all of this be done by command line?
not as far as I know, but I have never tried. Normally I want to visually confirm that things are properly aligned anyways.
yes but i would be generating the modifiers mathematically
On Tue, Nov 17, 2015 at 2:43 PM, pyrophreek notifications@github.com wrote:
not as far as I know, but I have never tried. Normally I want to visually confirm that things are properly aligned anyways.
— Reply to this email directly or view it on GitHub https://github.com/alexrj/Slic3r/issues/3132#issuecomment-157484174.
That sounds interesting, but honestly I have no idea if the command line interface supports modifiers. Would be a great way to do it though, as you might be able to just use a simple 1cm*1cm cube as a standard modifier, then import it for each height range you want, just scale and translate to apply it to the desired area.
right, or through configs, how to say in a config "use this modifier, with these settings" ...
On Tue, Nov 17, 2015 at 5:02 PM, pyrophreek notifications@github.com wrote:
That sounds interesting, but honestly I have no idea if the command line interface supports modifiers. Would be a great way to do it though, as you might be able to just use a simple 1cm*1cm cube as a standard modifier, then import it for each height range you want, just scale and translate to apply it to the desired area.
— Reply to this email directly or view it on GitHub https://github.com/alexrj/Slic3r/issues/3132#issuecomment-157523246.
We have before/after layer change gcode, so you could add your markers there in the interim.
That sounds interesting, but honestly I have no idea if the command line interface supports modifiers.
It does, through the AMF files.
In the .gcode, have slic3r automatically add comments that mark these areas, so if you wanted to slice up a file and reengineer it after the slice occurs, you would know where the hell one layer starts and where one layer ends