3D printer / slicing GUI built on top of the Uranium framework
Find a file
Ghostkeeper 16bc9db06d
Simplify gradual infill steps maximum formula
The case where it reaches '20' is incorrect, it should never give an error, so it should've been 999999 or something. This case is also overly complex.
Say that P is 'infill_line_distance > 0' and Q is 'spaghetti_enabled'...
Then it would be the logarithmic if (P and not Q)...
Then it would be 0 or 20 if (not (P and not Q)), which is ((not P) or Q)...
Then it would be 20 if (((not P) or Q) and not Q), which is (not P)...
And it would be 0 if (((not P) or Q) and Q), which is Q.

So therefore it can be simplified to: 20 if (not P) else 0 if Q else logarithmic. But 20 became 999999, hence the above formula.

Contributes to issue CURA-3700.
2017-04-19 16:24:39 +02:00
cmake Fix passing PYTHONPATH to pytest on Windows 2017-03-16 10:51:53 +01:00
cura Merge pull request #1672 from Ultimaker/feature_CURA-3529_upgrade_cura_dir 2017-04-19 13:28:49 +02:00
docs Some extra tips for users of the profiler. 2017-01-17 08:49:17 +01:00
icons New application icons 2015-09-17 17:05:01 +02:00
plugins Merge branch 'feature_CURA-3540_upgrade_for_project' of github.com:Ultimaker/Cura 2017-04-18 15:33:53 +02:00
resources Simplify gradual infill steps maximum formula 2017-04-19 16:24:39 +02:00
tests Removed print statements from unit test 2017-04-13 11:29:09 +02:00
.gitignore Added more files to gitignore 2017-04-14 09:52:29 +02:00
build.sh Add the scripts used to build the release package (still needs some more work, but works on my desktop) 2015-05-04 13:35:53 +02:00
CHANGES Update changelog 2015-06-24 12:06:00 +02:00
CMakeLists.txt Removed include of cpack from cmake lists 2017-04-05 13:29:25 +02:00
cura.appdata.xml Add an example AppData file so that Cura is visible in Linux software centers 2016-10-08 10:01:35 +01:00
cura.desktop.in i18n: de: Fix spelling 2016-09-08 23:55:32 +02:00
cura.sharedmimeinfo Adding cura.sharedmimeinfo 2016-01-25 18:47:00 +01:00
cura_app.py Removing multiple import 2017-03-18 09:57:09 +01:00
installer.nsi Set installer version 15.09.80 2015-09-03 10:18:10 -07:00
Jenkinsfile Pass the right Uranium directory to CMake when running on CI 2017-03-15 17:24:19 +01:00
LICENSE Merge remote-tracking branch 'UM3NPP/master' into UM3NPP_merge 2016-11-17 21:10:29 +01:00
pytest.ini Added unit test stub 2016-04-29 11:32:33 +02:00
README.md Add WirelessPrinting Plugin 2017-03-05 14:16:36 +01:00
run_mypy.py Make the run_mypy.py script find Uranium via the PYTHONPATH env var. 2017-02-15 08:53:18 +01:00
setup.py Removing wrong marking about @UnusedVariable 2016-03-16 14:51:31 +01:00

Cura

This is the new, shiny frontend for Cura. daid/Cura is the old legacy Cura that everyone knows and loves/hates.

We re-worked the whole GUI code at Ultimaker, because the old code started to become a unmaintainable.

Logging Issues

Use this template to report issues. New issues that do not adhere to this template will take us a lot longer to handle and will therefore have a lower pirority.

For crashes and similar issues, please attach the following information:

  • (On Windows) The log as produced by dxdiag (start -> run -> dxdiag -> save output)
  • The Cura GUI log file, located at
    • $User/AppData/Local/cura/cura.log (Windows)
    • $User/Library/Application Support/cura (OSX)
    • $USER/.local/share/cura (Ubuntu/Linux)
  • The Cura Engine log, using Help -> Show Engine Log

Dependencies

  • Uranium Cura is built on top of the Uranium framework.
  • CuraEngine This will be needed at runtime to perform the actual slicing.
  • PySerial Only required for USB printing support.
  • python-zeroconf Only required to detect mDNS-enabled printers

Configuring Cura

  • Link your CuraEngine backend by inserting the following line in home/.config/cura/config.cfg : [backend] location = /[path_to_the..]/CuraEngine/build/CuraEngine

Build scripts

Please checkout cura-build

Third party plugins

Making profiles for other printers

There are two ways of doing it. You can either use the generator here or you can use this as a template.

  • Change the machine ID to something unique
  • Change the machine_name to your printer's name
  • If you have a 3D model of your platform you can put it in resources/meshes and put its name under platform
  • Set your machine's dimensions with machine_width, machine_depth, and machine_height
  • If your printer's origin is in the center of the bed, set machine_center_is_zero to true.
  • Set your print head dimensions with the machine_head_shape parameters
  • Set the nozzle offset with machine_nozzle_offset_x_1 and machine_nozzle_offset_y1
  • Set the start and end gcode in machine_start_gcode and machine_end_gcode
  • If your printer has a heated bed, set visible to true under material_bed_temperature

Once you are done, put the profile you have made into resources/definitions, or in definitions in your cura profile folder.