Continues the work of the material subsystem improvements. Add support for embedded SVG files. These are not the same as image files so need to be handled differently. Add the ability to filter materials in the editor when called from code. This allows programs to select objects supporting specific models, complete models, older models, etc. Updated tests, and refactored code. New models and materials supporting patterns such as used by the TechDraw workbench. fixes #11686 - checks for the presense of a model property before assinging a value. This can happen when a required model definition is not available. --------- Co-authored-by: Chris Hennes <chennes@pioneerlibrarysystem.org>
88 lines
13 KiB
Plaintext
88 lines
13 KiB
Plaintext
---
|
|
# File created by FreeCAD 0.22.0 Revision: 35329 +8 (Git)
|
|
General:
|
|
UUID: "50e78494-a675-413f-a541-70d1904f0189"
|
|
Name: "cuprous"
|
|
Author: "David Carter"
|
|
License: "All rights reserved"
|
|
AppearanceModels:
|
|
Pattern File:
|
|
UUID: "c6596294-e97d-4812-87db-28e1d66521a3"
|
|
Pattern Color: "(0,0,0,1)"
|
|
Pattern File: |2
|
|
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
|
<svg xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:cc="http://creativecommons.org/ns#" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:svg="http://www.w3.org/2000/svg" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 64.000001 64.000001" version="1.0" id="svg2" height="64" width="64">
|
|
<metadata id="metadata67">
|
|
<rdf:RDF>
|
|
<cc:Work rdf:about="">
|
|
<dc:format>image/svg+xml</dc:format>
|
|
<dc:type rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
|
<dc:title></dc:title>
|
|
</cc:Work>
|
|
</rdf:RDF>
|
|
</metadata>
|
|
<defs id="defs65" />
|
|
<g id="groupe1">
|
|
<path style="stroke-width:0.35;stroke-miterlimit:4;stroke-dasharray:none;fill:none;fill-rule:evenodd" stroke-width="0.35 px" stroke="#000000" d="M 0.0 0.0 L 64.0 64.0 " id="Line_w0000" />
|
|
<path style="stroke-width:0.35;stroke-miterlimit:4;stroke-dasharray:none;fill:none;fill-rule:evenodd" stroke-width="0.35 px" stroke="#000000" d="M 12.8 19.2 L 16.0 22.4 " id="Line022_w0000" />
|
|
<path style="stroke-width:0.35;stroke-miterlimit:4;stroke-dasharray:none;fill:none;fill-rule:evenodd" stroke-width="0.35 px" stroke="#000000" d="M 12.8 6.4 L 16.0 9.6 " id="Line023_w0000" />
|
|
<path style="stroke-width:0.35;stroke-miterlimit:4;stroke-dasharray:none;fill:none;fill-rule:evenodd" stroke-width="0.35 px" stroke="#000000" d="M 19.2 51.2 L 22.4 54.4 " id="Line024_w0000" />
|
|
<path style="stroke-width:0.35;stroke-miterlimit:4;stroke-dasharray:none;fill:none;fill-rule:evenodd" stroke-width="0.35 px" stroke="#000000" d="M 19.2 25.6 L 22.4 28.8 " id="Line026_w0000" />
|
|
<path style="stroke-width:0.35;stroke-miterlimit:4;stroke-dasharray:none;fill:none;fill-rule:evenodd" stroke-width="0.35 px" stroke="#000000" d="M 19.2 38.4 L 22.4 41.6 " id="Line025_w0000" />
|
|
<path style="stroke-width:0.35;stroke-miterlimit:4;stroke-dasharray:none;fill:none;fill-rule:evenodd" stroke-width="0.35 px" stroke="#000000" d="M 6.4 0.0 L 9.6 3.2 " id="Line014_w0000" />
|
|
<path style="stroke-width:0.35;stroke-miterlimit:4;stroke-dasharray:none;fill:none;fill-rule:evenodd" stroke-width="0.35 px" stroke="#000000" d="M 0.0 19.2 L 3.2 22.4 " id="Line012_w0000" />
|
|
<path style="stroke-width:0.35;stroke-miterlimit:4;stroke-dasharray:none;fill:none;fill-rule:evenodd" stroke-width="0.35 px" stroke="#000000" d="M 6.4 38.4 L 9.6 41.6 " id="Line016_w0000" />
|
|
<path style="stroke-width:0.35;stroke-miterlimit:4;stroke-dasharray:none;fill:none;fill-rule:evenodd" stroke-width="0.35 px" stroke="#000000" d="M 6.4 25.6 L 9.6 28.8 " id="Line017_w0000" />
|
|
<path style="stroke-width:0.35;stroke-miterlimit:4;stroke-dasharray:none;fill:none;fill-rule:evenodd" stroke-width="0.35 px" stroke="#000000" d="M 12.8 44.8 L 16.0 48.0 " id="Line020_w0000" />
|
|
<path style="stroke-width:0.35;stroke-miterlimit:4;stroke-dasharray:none;fill:none;fill-rule:evenodd" stroke-width="0.35 px" stroke="#000000" d="M 0.0 6.4 L 3.2 9.6 " id="Line013_w0000" />
|
|
<path style="stroke-width:0.35;stroke-miterlimit:4;stroke-dasharray:none;fill:none;fill-rule:evenodd" stroke-width="0.35 px" stroke="#000000" d="M 12.8 32.0 L 16.0 35.2 " id="Line021_w0000" />
|
|
<path style="stroke-width:0.35;stroke-miterlimit:4;stroke-dasharray:none;fill:none;fill-rule:evenodd" stroke-width="0.35 px" stroke="#000000" d="M 0.0 32.0 L 3.2 35.2 " id="Line011_w0000" />
|
|
<path style="stroke-width:0.35;stroke-miterlimit:4;stroke-dasharray:none;fill:none;fill-rule:evenodd" stroke-width="0.35 px" stroke="#000000" d="M 6.4 12.8 L 9.6 16.0 " id="Line018_w0000" />
|
|
<path style="stroke-width:0.35;stroke-miterlimit:4;stroke-dasharray:none;fill:none;fill-rule:evenodd" stroke-width="0.35 px" stroke="#000000" d="M 6.4 51.2 L 9.6 54.4 " id="Line015_w0000" />
|
|
<path style="stroke-width:0.35;stroke-miterlimit:4;stroke-dasharray:none;fill:none;fill-rule:evenodd" stroke-width="0.35 px" stroke="#000000" d="M 12.8 57.6 L 16.0 60.8 " id="Line019_w0000" />
|
|
<path style="stroke-width:0.35;stroke-miterlimit:4;stroke-dasharray:none;fill:none;fill-rule:evenodd" stroke-width="0.35 px" stroke="#000000" d="M 51.2 0.0 L 64.0 12.8 " id="Line008_w0000" />
|
|
<path style="stroke-width:0.35;stroke-miterlimit:4;stroke-dasharray:none;fill:none;fill-rule:evenodd" stroke-width="0.35 px" stroke="#000000" d="M 0.0 57.6 L 3.2 60.8 " id="Line009_w0000" />
|
|
<path style="stroke-width:0.35;stroke-miterlimit:4;stroke-dasharray:none;fill:none;fill-rule:evenodd" stroke-width="0.35 px" stroke="#000000" d="M 0.0 44.8 L 3.2 48.0 " id="Line010_w0000" />
|
|
<path style="stroke-width:0.35;stroke-miterlimit:4;stroke-dasharray:none;fill:none;fill-rule:evenodd" stroke-width="0.35 px" stroke="#000000" d="M 0.0 12.8 L 51.2 64.0 " id="Line001_w0000" />
|
|
<path style="stroke-width:0.35;stroke-miterlimit:4;stroke-dasharray:none;fill:none;fill-rule:evenodd" stroke-width="0.35 px" stroke="#000000" d="M 12.8 0.0 L 64.0 51.2 " id="Line005_w0000" />
|
|
<path style="stroke-width:0.35;stroke-miterlimit:4;stroke-dasharray:none;fill:none;fill-rule:evenodd" stroke-width="0.35 px" stroke="#000000" d="M 0.0 38.4 L 25.6 64.0 " id="Line003_w0000" />
|
|
<path style="stroke-width:0.35;stroke-miterlimit:4;stroke-dasharray:none;fill:none;fill-rule:evenodd" stroke-width="0.35 px" stroke="#000000" d="M 0.0 51.2 L 12.8 64.0 " id="Line004_w0000" />
|
|
<path style="stroke-width:0.35;stroke-miterlimit:4;stroke-dasharray:none;fill:none;fill-rule:evenodd" stroke-width="0.35 px" stroke="#000000" d="M 0.0 25.6 L 38.4 64.0 " id="Line002_w0000" />
|
|
<path style="stroke-width:0.35;stroke-miterlimit:4;stroke-dasharray:none;fill:none;fill-rule:evenodd" stroke-width="0.35 px" stroke="#000000" d="M 25.6 0.0 L 64.0 38.4 " id="Line006_w0000" />
|
|
<path style="stroke-width:0.35;stroke-miterlimit:4;stroke-dasharray:none;fill:none;fill-rule:evenodd" stroke-width="0.35 px" stroke="#000000" d="M 38.4 0.0 L 64.0 25.6 " id="Line007_w0000" />
|
|
<path style="stroke-width:0.35;stroke-miterlimit:4;stroke-dasharray:none;fill:none;fill-rule:evenodd" stroke-width="0.35 px" stroke="#000000" d="M 38.4 6.4 L 41.6 9.6 " id="Line043_w0000" />
|
|
<path style="stroke-width:0.35;stroke-miterlimit:4;stroke-dasharray:none;fill:none;fill-rule:evenodd" stroke-width="0.35 px" stroke="#000000" d="M 44.8 25.6 L 48.0 28.8 " id="Line046_w0000" />
|
|
<path style="stroke-width:0.35;stroke-miterlimit:4;stroke-dasharray:none;fill:none;fill-rule:evenodd" stroke-width="0.35 px" stroke="#000000" d="M 32.0 0.0 L 35.2 3.2 " id="Line034_w0000" />
|
|
<path style="stroke-width:0.35;stroke-miterlimit:4;stroke-dasharray:none;fill:none;fill-rule:evenodd" stroke-width="0.35 px" stroke="#000000" d="M 25.6 57.6 L 28.8 60.8 " id="Line029_w0000" />
|
|
<path style="stroke-width:0.35;stroke-miterlimit:4;stroke-dasharray:none;fill:none;fill-rule:evenodd" stroke-width="0.35 px" stroke="#000000" d="M 25.6 32.0 L 28.8 35.2 " id="Line031_w0000" />
|
|
<path style="stroke-width:0.35;stroke-miterlimit:4;stroke-dasharray:none;fill:none;fill-rule:evenodd" stroke-width="0.35 px" stroke="#000000" d="M 25.6 6.4 L 28.8 9.6 " id="Line033_w0000" />
|
|
<path style="stroke-width:0.35;stroke-miterlimit:4;stroke-dasharray:none;fill:none;fill-rule:evenodd" stroke-width="0.35 px" stroke="#000000" d="M 32.0 12.8 L 35.2 16.0 " id="Line035_w0000" />
|
|
<path style="stroke-width:0.35;stroke-miterlimit:4;stroke-dasharray:none;fill:none;fill-rule:evenodd" stroke-width="0.35 px" stroke="#000000" d="M 38.4 19.2 L 41.6 22.4 " id="Line042_w0000" />
|
|
<path style="stroke-width:0.35;stroke-miterlimit:4;stroke-dasharray:none;fill:none;fill-rule:evenodd" stroke-width="0.35 px" stroke="#000000" d="M 44.8 0.0 L 48.0 3.2 " id="Line044_w0000" />
|
|
<path style="stroke-width:0.35;stroke-miterlimit:4;stroke-dasharray:none;fill:none;fill-rule:evenodd" stroke-width="0.35 px" stroke="#000000" d="M 51.2 57.6 L 54.4 60.8 " id="Line049_w0000" />
|
|
<path style="stroke-width:0.35;stroke-miterlimit:4;stroke-dasharray:none;fill:none;fill-rule:evenodd" stroke-width="0.35 px" stroke="#000000" d="M 25.6 44.8 L 28.8 48.0 " id="Line030_w0000" />
|
|
<path style="stroke-width:0.35;stroke-miterlimit:4;stroke-dasharray:none;fill:none;fill-rule:evenodd" stroke-width="0.35 px" stroke="#000000" d="M 25.6 19.2 L 28.8 22.4 " id="Line032_w0000" />
|
|
<path style="stroke-width:0.35;stroke-miterlimit:4;stroke-dasharray:none;fill:none;fill-rule:evenodd" stroke-width="0.35 px" stroke="#000000" d="M 38.4 57.6 L 41.6 60.8 " id="Line039_w0000" />
|
|
<path style="stroke-width:0.35;stroke-miterlimit:4;stroke-dasharray:none;fill:none;fill-rule:evenodd" stroke-width="0.35 px" stroke="#000000" d="M 44.8 12.8 L 48.0 16.0 " id="Line045_w0000" />
|
|
<path style="stroke-width:0.35;stroke-miterlimit:4;stroke-dasharray:none;fill:none;fill-rule:evenodd" stroke-width="0.35 px" stroke="#000000" d="M 51.2 32.0 L 54.4 35.2 " id="Line051_w0000" />
|
|
<path style="stroke-width:0.35;stroke-miterlimit:4;stroke-dasharray:none;fill:none;fill-rule:evenodd" stroke-width="0.35 px" stroke="#000000" d="M 19.2 0.0 L 22.4 3.2 " id="Line028_w0000" />
|
|
<path style="stroke-width:0.35;stroke-miterlimit:4;stroke-dasharray:none;fill:none;fill-rule:evenodd" stroke-width="0.35 px" stroke="#000000" d="M 38.4 44.8 L 41.6 48.0 " id="Line040_w0000" />
|
|
<path style="stroke-width:0.35;stroke-miterlimit:4;stroke-dasharray:none;fill:none;fill-rule:evenodd" stroke-width="0.35 px" stroke="#000000" d="M 44.8 38.4 L 48.0 41.6 " id="Line047_w0000" />
|
|
<path style="stroke-width:0.35;stroke-miterlimit:4;stroke-dasharray:none;fill:none;fill-rule:evenodd" stroke-width="0.35 px" stroke="#000000" d="M 32.0 25.6 L 35.2 28.8 " id="Line036_w0000" />
|
|
<path style="stroke-width:0.35;stroke-miterlimit:4;stroke-dasharray:none;fill:none;fill-rule:evenodd" stroke-width="0.35 px" stroke="#000000" d="M 38.4 32.0 L 41.6 35.2 " id="Line041_w0000" />
|
|
<path style="stroke-width:0.35;stroke-miterlimit:4;stroke-dasharray:none;fill:none;fill-rule:evenodd" stroke-width="0.35 px" stroke="#000000" d="M 32.0 38.4 L 35.2 41.6 " id="Line037_w0000" />
|
|
<path style="stroke-width:0.35;stroke-miterlimit:4;stroke-dasharray:none;fill:none;fill-rule:evenodd" stroke-width="0.35 px" stroke="#000000" d="M 44.8 51.2 L 48.0 54.4 " id="Line048_w0000" />
|
|
<path style="stroke-width:0.35;stroke-miterlimit:4;stroke-dasharray:none;fill:none;fill-rule:evenodd" stroke-width="0.35 px" stroke="#000000" d="M 32.0 51.2 L 35.2 54.4 " id="Line038_w0000" />
|
|
<path style="stroke-width:0.35;stroke-miterlimit:4;stroke-dasharray:none;fill:none;fill-rule:evenodd" stroke-width="0.35 px" stroke="#000000" d="M 51.2 44.8 L 54.4 48.0 " id="Line050_w0000" />
|
|
<path style="stroke-width:0.35;stroke-miterlimit:4;stroke-dasharray:none;fill:none;fill-rule:evenodd" stroke-width="0.35 px" stroke="#000000" d="M 19.2 12.8 L 22.4 16.0 " id="Line027_w0000" />
|
|
<path style="stroke-width:0.35;stroke-miterlimit:4;stroke-dasharray:none;fill:none;fill-rule:evenodd" stroke-width="0.35 px" stroke="#000000" d="M 51.2 19.2 L 54.4 22.4 " id="Line052_w0000" />
|
|
<path style="stroke-width:0.35;stroke-miterlimit:4;stroke-dasharray:none;fill:none;fill-rule:evenodd" stroke-width="0.35 px" stroke="#000000" d="M 51.2 6.4 L 54.4 9.6 " id="Line053_w0000" />
|
|
<path style="stroke-width:0.35;stroke-miterlimit:4;stroke-dasharray:none;fill:none;fill-rule:evenodd" stroke-width="0.35 px" stroke="#000000" d="M 57.6 51.2 L 60.8 54.4 " id="Line058_w0000" />
|
|
<path style="stroke-width:0.35;stroke-miterlimit:4;stroke-dasharray:none;fill:none;fill-rule:evenodd" stroke-width="0.35 px" stroke="#000000" d="M 57.6 12.8 L 60.8 16.0 " id="Line055_w0000" />
|
|
<path style="stroke-width:0.35;stroke-miterlimit:4;stroke-dasharray:none;fill:none;fill-rule:evenodd" stroke-width="0.35 px" stroke="#000000" d="M 57.6 38.4 L 60.8 41.6 " id="Line057_w0000" />
|
|
<path style="stroke-width:0.35;stroke-miterlimit:4;stroke-dasharray:none;fill:none;fill-rule:evenodd" stroke-width="0.35 px" stroke="#000000" d="M 57.6 0.0 L 60.8 3.2 " id="Line054_w0000" />
|
|
<path style="stroke-width:0.35;stroke-miterlimit:4;stroke-dasharray:none;fill:none;fill-rule:evenodd" stroke-width="0.35 px" stroke="#000000" d="M 57.6 25.6 L 60.8 28.8 " id="Line056_w0000" />
|
|
</g>
|
|
</svg>
|
|
Pattern Scale: "1"
|