Files
flsun-v400/03-cura/01-configuration-frank-scratch/README.md
2026-02-22 17:55:00 +01:00

7.2 KiB

Cura printer profiles for Flsun V400

by Frank Zechert, 2025

About

This directory contains cura printer definition and printing profiles for the 3d printer Flsun V400.

Install

On a linux based system, run install.sh to install the configuration files into the cura directory. This will delete any other files that might be present for a flsun v400 printer.

Directory structure and configuration stack

Cura stores printers and profiles across different directories that define different parts of the machine or the printing profile, and / or overwrite parts of it depending on presets. Cura loads them in a stack to get the current value of a configuration parameter that should apply to the print.

Directory structure

Folder Purpose Typical Structure File Suffix
definitions Defines the printer's core attributes each printer has one file here printer_name.inst.cfg
extruders Describes extruder-specific settings can have multiple extruder configs per printer extruder_name.inst.cfg
meshes Contains files for visual representation of the printer. usually one per printer, optional printer_name.stl or .3mf
intents Print result intentions. one file per intent intent.inst.cfg
quality Stores print quality presets printer_name -> material_name -> quality_type quality_type.inst.cfg
variants Defines nozzle diameter variants and links to quality profiles printer_name -> nozzle_size variant.inst.cfg

A note on intents and qualities

An intent profile defines the intention for a print, such as precision, strength, visual quality, flexibility, etc. It might be empty, in which case it's displayed as the default intent.

A quality profile defines different levels of quality, possibly within an intent if it exist. Different settings can influence the level of quality. For example, by changing the print speed or the layer height. They're in itself independent of the intent of the print.

The print settings are a combination of intent settings (if an intent exists) and the quality level.

Configuration stack

Cura stores configuration profiles in a stack. At the bottom of the stack is a definition container that defines all possible settings and properties a printer might have. On top of this definition container, a number of profile customizations and changes by the user take precedence over other quality profile definitions.

When cura determines the value of a setting, it will look at the top most element in the stack that defines the setting's value.

A printer has at least two stacks. A global stack that defines settings for the printer as a whole, and a stack for each extruder (at least one). The extruder-specific stack is always a higher priority than the global stack.

+--------------------------------------+
| Extruder n Configuration Stack       |
+--------------------------------------+
| 1. User settings made in the UI      |
| 2. Custom settings saved by the user |
| 3. Profile intent file (optional)    |
| 4. Profile quality                   |
| 5. Material settings                 |
| 6. Nozzle settings                   |
| 7. Definition changes                |
| 8. Extruder Definition               |
+--------------------------------------+

                  |
                  v

+--------------------------------------+
| Global Configuration Stack           |
+--------------------------------------+
| 1. User settings made in the UI      |
| 2. Custom settings saved by the user |
| 3. Profile intent file (optional)    |
| 4. Profile quality                   |
| 5. Material settings                 |
| 6. Variant settings                  |
| 7. Definition changes                |
| 8. Extruder Definition               |
+--------------------------------------+

For more details, see https://github.com/Ultimaker/Cura/wiki/Container-Stacks.

Printer definition

This defines the basic printer and extruder capabilities. This is level 8 and 7 in the global and extruder configuration stacks.

  • The printer definition is in definitions/flsun_v400.def.json.
  • It has one extruder defined in extruders/flsun_v400_extruder_0.def.json.
  • The physical appearance of the printer is in meshes/flsun_v400.stl.

Intent files

For now, this profile doesn't use intent files.

Quality files

The quality files contain settings specifically relating to the quality of the print. They're defined in the file quality/flsun_v400_global_<quality preset>_Quality.inst.cfg. This file defines some global properties for all nozzle sizes and all materials. Linking global qualities to layer heights is a valid example, but not a must. Cura's intention seems to be a focus on print speed.

In the configuration stacks, this relates to point 4.

You can choose the word that replaces <quality preset> in the file name. But the Cura UI will only integrate the quality profile if the quality preset placeholder contains known values:

  • Superdraft (for example for a layer height of 0.4mm or a speed of 400mm/s)
  • Verydraft (for example for a layer height of 0.3mm or a speed of 320mm/s)
  • Draft (for example for a layer height of 0.2mm or a speed of 260mm/s)
  • Fast (for example for a layer height of 0.15mm or a speed of 180mm/s)
  • Normal (for example for a layer height of 0.1mm or a speed of 120mm/s)
  • High (for example for a layer height of 0.06mm or a speed of 80mm/s)

Not all files must exist, but at least one file needs to exist to compose a valid printing profile.

This profile currently contains one quality file quality/flsun_v400_global_Draft_Quality.inst.cfg.

Material files

Material files have the name quality/<material name>/<nozzle size>/flsun_v400_<nozzle size>_<quality preset>_Print.inst.cfg. They relate to step 5 in the configuration stacks.

For now this profile contains the following files:

  • PLA or PLA+ with 0.4mm nozzle:
    • Draft quality: quality/PLA/0.4/flsun_v400_0.4_Draft_Print.inst.cfg.

Variants file

Currently this profile defines only one variant, a 0.4mm nozzle size. This relates to step 6 in the configuration stack.

  • variants/flsun_v400_0.4.inst.cfg

Recommended plugins for the Cura Slicer:

  • Settings Guide
  • Sidebar GUI
  • Moonraker Connection
  • Material Settings
  • Power Cost
  • Klipper Settings
  • AutoTower Generator
  • Auto-Orientation
  • Automatic Slicing Toggle
  • Material Cost Tools
  • Calibration Shapes Reborn
  • Direct Support Blockers Reborn

Also disable the following plugin to reduce loading speeds on linux:

  • USB Printing