mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-10-22 16:21:24 -06:00
New 3D Honeycomb infill pattern (credits: David Eccles (gringer)). #1646
This commit is contained in:
parent
d508be5ae8
commit
53f2d6bb4b
6 changed files with 222 additions and 1 deletions
|
@ -271,6 +271,7 @@ PrintConfigDef::build_def() {
|
|||
Options["fill_pattern"].enum_values.push_back("line");
|
||||
Options["fill_pattern"].enum_values.push_back("concentric");
|
||||
Options["fill_pattern"].enum_values.push_back("honeycomb");
|
||||
Options["fill_pattern"].enum_values.push_back("3dhoneycomb");
|
||||
Options["fill_pattern"].enum_values.push_back("hilbertcurve");
|
||||
Options["fill_pattern"].enum_values.push_back("archimedeanchords");
|
||||
Options["fill_pattern"].enum_values.push_back("octagramspiral");
|
||||
|
@ -278,6 +279,7 @@ PrintConfigDef::build_def() {
|
|||
Options["fill_pattern"].enum_labels.push_back("line");
|
||||
Options["fill_pattern"].enum_labels.push_back("concentric");
|
||||
Options["fill_pattern"].enum_labels.push_back("honeycomb");
|
||||
Options["fill_pattern"].enum_labels.push_back("3D honeycomb");
|
||||
Options["fill_pattern"].enum_labels.push_back("hilbertcurve (slow)");
|
||||
Options["fill_pattern"].enum_labels.push_back("archimedeanchords (slow)");
|
||||
Options["fill_pattern"].enum_labels.push_back("octagramspiral (slow)");
|
||||
|
|
|
@ -10,7 +10,7 @@ enum GCodeFlavor {
|
|||
};
|
||||
|
||||
enum InfillPattern {
|
||||
ipRectilinear, ipLine, ipConcentric, ipHoneycomb,
|
||||
ipRectilinear, ipLine, ipConcentric, ipHoneycomb, ip3DHoneycomb,
|
||||
ipHilbertCurve, ipArchimedeanChords, ipOctagramSpiral,
|
||||
};
|
||||
|
||||
|
@ -39,6 +39,7 @@ template<> inline t_config_enum_values ConfigOptionEnum<InfillPattern>::get_enum
|
|||
keys_map["line"] = ipLine;
|
||||
keys_map["concentric"] = ipConcentric;
|
||||
keys_map["honeycomb"] = ipHoneycomb;
|
||||
keys_map["3dhoneycomb"] = ip3DHoneycomb;
|
||||
keys_map["hilbertcurve"] = ipHilbertCurve;
|
||||
keys_map["archimedeanchords"] = ipArchimedeanChords;
|
||||
keys_map["octagramspiral"] = ipOctagramSpiral;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue