Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 642180 - media-gfx/cura-2.6.0 package should fetch material examples, new materials cannot be made without template
Summary: media-gfx/cura-2.6.0 package should fetch material examples, new materials ca...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal with 1 vote (vote)
Assignee: 3D Printing Team
URL: https://github.com/Ultimaker/Cura/iss...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-12-25 02:27 UTC by alex Mezey
Modified: 2018-06-14 13:12 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description alex Mezey 2017-12-25 02:27:28 UTC
The package lacks to install default the default material list. Material is in this case physical plastic wire for 3d printing. To create a material yourself a default template is needed to get the dialog window working.

Reproducible: Always

Steps to Reproduce:
1. Start Cura
2. choose a material for printing e.g. click in the Material Menu Manage Materials
3. choose "Erstellen" (create in English)
Actual Results:  
In the GUI nothing happens. In the starting terminal you get an error message:
"Unable to create a new material by cloning Generic PLA, because it cannot be found for the material diameter for this machine."

Expected Results:  
Get a tab where I can enter material properties by changing the default values to the one's I want. (This is what I believe happens if correct installed. It should be at least possible to enter something at all.)

The same package issue happened in Arch Linux and in the URL is the link and a description how to solve it or where to download the missing files.
The directory with the file definitions contains Cmake data, so it can easily be added in the ebuild to fetch that too and install. In the end there should be a directory /usr/share/cura/resources/materials containing .xml.fdm_material files which is currently missing.
Comment 1 Scott Alfter 2018-04-06 01:42:35 UTC
I'v just put together a set of ebuilds for Cura 3.2.1 and its dependencies.  The Cura ebuild pulls in the appropriate fdm_materials tarball and installs it in the appropriate location.

You can get it through layman:

layman -a salfter

You can view it here:

https://gitlab.com/salfter/portage/tree/master/media-gfx/cura

Porting the 2.6.0 ebuilds to 3.2.1 was pretty straightforward: rename them, update the patchfiles, and require Python 3.5 as a minimum instead of 3.4.  The fix that pulls in and installs fdm_materials would easily be backported to 2.6.0, if for some reason you don't want to run the current version (3.3 is already in beta).
Comment 2 Alexey Shvetsov archtester gentoo-dev 2018-06-14 13:12:40 UTC
Fixed with cura-3.3