Continues the work of the material subsystem improvements. This merge covers the continued development of the material editor. The primary improvements are the addition of new data types, a new appearance preview UI, and changes in the array data types. New data types were added to support more advanced workflows, such as the Render Workbench.The Image datatype allows the material to embed the image in the card instead of pointing to an image in an external file. Multi-buyte strings span multiple lines as the name implies. It preserves formatting accross those lines. Also several list types are now supported, with the primary difference being the editors. List is a list of strings, FileList is a list of file path names, and ImageList is a list of embedded images. For the appearance preview, the UI now uses the same Coin library as is used in the documents, meaning the preview will look exactly the same as the material will be shown in the documents. The array data types are now more complete. The default value wasn't being used as originially envisioned and was tehrefore removed. For 3D arrays, the Python API was implemented. There were a lot of code clean ups. This involved removing logging statements used for debugging during development, reduction of lint warnings, and code refactoring. The editor can automatically convert from previous format files to the current format. This has been extended to material files generated by the Render WB. Old format files are displayed in the editor with a warning icon. Selecting one will require saving the file in the new format before it can be used.
225 lines
8.8 KiB
XML
225 lines
8.8 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<GenerateModel xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="generateMetaModel_Module.xsd">
|
|
<PythonExport
|
|
Father="BaseClassPy"
|
|
Name="UUIDsPy"
|
|
PythonName="Material.UUIDs"
|
|
Twin="ModelUUIDs"
|
|
TwinPointer="ModelUUIDs"
|
|
Include="Mod/Material/App/ModelUuids.h"
|
|
Namespace="Materials"
|
|
FatherInclude="Base/BaseClassPy.h"
|
|
FatherNamespace="Base"
|
|
Constructor="true"
|
|
Delete="true">
|
|
<Documentation>
|
|
<Author Licence="LGPL" Name="DavidCarter" EMail="dcarter@davidcarter.ca" />
|
|
<UserDocu>Material model UUID identifiers.</UserDocu>
|
|
</Documentation>
|
|
<Attribute Name="Father" ReadOnly="true">
|
|
<Documentation>
|
|
<UserDocu>UUID for model System:Legacy/Father</UserDocu>
|
|
</Documentation>
|
|
<Parameter Name="Father" Type="String"/>
|
|
</Attribute>
|
|
<Attribute Name="MaterialStandard" ReadOnly="true">
|
|
<Documentation>
|
|
<UserDocu>UUID for model System:Legacy/MaterialStandard</UserDocu>
|
|
</Documentation>
|
|
<Parameter Name="MaterialStandard" Type="String"/>
|
|
</Attribute>
|
|
<Attribute Name="Density" ReadOnly="true">
|
|
<Documentation>
|
|
<UserDocu>UUID for model System:Mechanical/Density</UserDocu>
|
|
</Documentation>
|
|
<Parameter Name="Density" Type="String"/>
|
|
</Attribute>
|
|
<Attribute Name="IsotropicLinearElastic" ReadOnly="true">
|
|
<Documentation>
|
|
<UserDocu>UUID for model System:Mechanical/IsotropicLinearElastic</UserDocu>
|
|
</Documentation>
|
|
<Parameter Name="IsotropicLinearElastic" Type="String"/>
|
|
</Attribute>
|
|
<Attribute Name="LinearElastic" ReadOnly="true">
|
|
<Documentation>
|
|
<UserDocu>UUID for model System:Mechanical/LinearElastic</UserDocu>
|
|
</Documentation>
|
|
<Parameter Name="LinearElastic" Type="String"/>
|
|
</Attribute>
|
|
<Attribute Name="OgdenYld2004p18" ReadOnly="true">
|
|
<Documentation>
|
|
<UserDocu>UUID for model System:Mechanical/OgdenYld2004p18</UserDocu>
|
|
</Documentation>
|
|
<Parameter Name="OgdenYld2004p18" Type="String"/>
|
|
</Attribute>
|
|
<Attribute Name="OrthotropicLinearElastic" ReadOnly="true">
|
|
<Documentation>
|
|
<UserDocu>UUID for model System:Mechanical/OrthotropicLinearElastic</UserDocu>
|
|
</Documentation>
|
|
<Parameter Name="OrthotropicLinearElastic" Type="String"/>
|
|
</Attribute>
|
|
<Attribute Name="Fluid" ReadOnly="true">
|
|
<Documentation>
|
|
<UserDocu>UUID for model System:Fluid/Fluid</UserDocu>
|
|
</Documentation>
|
|
<Parameter Name="Fluid" Type="String"/>
|
|
</Attribute>
|
|
<Attribute Name="Thermal" ReadOnly="true">
|
|
<Documentation>
|
|
<UserDocu>UUID for model System:Thermal/Thermal</UserDocu>
|
|
</Documentation>
|
|
<Parameter Name="Thermal" Type="String"/>
|
|
</Attribute>
|
|
<Attribute Name="Electromagnetic" ReadOnly="true">
|
|
<Documentation>
|
|
<UserDocu>UUID for model System:Electromagnetic/Electromagnetic</UserDocu>
|
|
</Documentation>
|
|
<Parameter Name="Electromagnetic" Type="String"/>
|
|
</Attribute>
|
|
<Attribute Name="Architectural" ReadOnly="true">
|
|
<Documentation>
|
|
<UserDocu>UUID for model System:Architectural/Architectural</UserDocu>
|
|
</Documentation>
|
|
<Parameter Name="Architectural" Type="String"/>
|
|
</Attribute>
|
|
<Attribute Name="ArchitecturalRendering" ReadOnly="true">
|
|
<Documentation>
|
|
<UserDocu>UUID for model System:Architectural/ArchitecturalRendering</UserDocu>
|
|
</Documentation>
|
|
<Parameter Name="ArchitecturalRendering" Type="String"/>
|
|
</Attribute>
|
|
<Attribute Name="Costs" ReadOnly="true">
|
|
<Documentation>
|
|
<UserDocu>UUID for model System:Costs/Costs</UserDocu>
|
|
</Documentation>
|
|
<Parameter Name="Costs" Type="String"/>
|
|
</Attribute>
|
|
<Attribute Name="BasicRendering" ReadOnly="true">
|
|
<Documentation>
|
|
<UserDocu>UUID for model System:Rendering/BasicRendering</UserDocu>
|
|
</Documentation>
|
|
<Parameter Name="BasicRendering" Type="String"/>
|
|
</Attribute>
|
|
<Attribute Name="TextureRendering" ReadOnly="true">
|
|
<Documentation>
|
|
<UserDocu>UUID for model System:Rendering/TextureRendering</UserDocu>
|
|
</Documentation>
|
|
<Parameter Name="TextureRendering" Type="String"/>
|
|
</Attribute>
|
|
<Attribute Name="AdvancedRendering" ReadOnly="true">
|
|
<Documentation>
|
|
<UserDocu>UUID for model System:Rendering/AdvancedRendering</UserDocu>
|
|
</Documentation>
|
|
<Parameter Name="AdvancedRendering" Type="String"/>
|
|
</Attribute>
|
|
<Attribute Name="VectorRendering" ReadOnly="true">
|
|
<Documentation>
|
|
<UserDocu>UUID for model System:Rendering/VectorRendering</UserDocu>
|
|
</Documentation>
|
|
<Parameter Name="VectorRendering" Type="String"/>
|
|
</Attribute>
|
|
<Attribute Name="RenderAppleseed" ReadOnly="true">
|
|
<Documentation>
|
|
<UserDocu>UUID for model System:Rendering/RenderAppleseed</UserDocu>
|
|
</Documentation>
|
|
<Parameter Name="RenderAppleseed" Type="String"/>
|
|
</Attribute>
|
|
<Attribute Name="RenderCarpaint" ReadOnly="true">
|
|
<Documentation>
|
|
<UserDocu>UUID for model System:Rendering/RenderCarpaint</UserDocu>
|
|
</Documentation>
|
|
<Parameter Name="RenderCarpaint" Type="String"/>
|
|
</Attribute>
|
|
<Attribute Name="RenderCycles" ReadOnly="true">
|
|
<Documentation>
|
|
<UserDocu>UUID for model System:Rendering/RenderCycles</UserDocu>
|
|
</Documentation>
|
|
<Parameter Name="RenderCycles" Type="String"/>
|
|
</Attribute>
|
|
<Attribute Name="RenderDiffuse" ReadOnly="true">
|
|
<Documentation>
|
|
<UserDocu>UUID for model System:Rendering/RenderDiffuse</UserDocu>
|
|
</Documentation>
|
|
<Parameter Name="RenderDiffuse" Type="String"/>
|
|
</Attribute>
|
|
<Attribute Name="RenderDisney" ReadOnly="true">
|
|
<Documentation>
|
|
<UserDocu>UUID for model System:Rendering/RenderDisney</UserDocu>
|
|
</Documentation>
|
|
<Parameter Name="RenderDisney" Type="String"/>
|
|
</Attribute>
|
|
<Attribute Name="RenderEmission" ReadOnly="true">
|
|
<Documentation>
|
|
<UserDocu>UUID for model System:Rendering/RenderEmission</UserDocu>
|
|
</Documentation>
|
|
<Parameter Name="RenderEmission" Type="String"/>
|
|
</Attribute>
|
|
<Attribute Name="RenderGlass" ReadOnly="true">
|
|
<Documentation>
|
|
<UserDocu>UUID for model System:Rendering/RenderGlass</UserDocu>
|
|
</Documentation>
|
|
<Parameter Name="RenderGlass" Type="String"/>
|
|
</Attribute>
|
|
<Attribute Name="RenderLuxcore" ReadOnly="true">
|
|
<Documentation>
|
|
<UserDocu>UUID for model System:Rendering/RenderLuxcore</UserDocu>
|
|
</Documentation>
|
|
<Parameter Name="RenderLuxcore" Type="String"/>
|
|
</Attribute>
|
|
<Attribute Name="RenderLuxrender" ReadOnly="true">
|
|
<Documentation>
|
|
<UserDocu>UUID for model System:Rendering/RenderLuxrender</UserDocu>
|
|
</Documentation>
|
|
<Parameter Name="RenderLuxrender" Type="String"/>
|
|
</Attribute>
|
|
<Attribute Name="RenderMixed" ReadOnly="true">
|
|
<Documentation>
|
|
<UserDocu>UUID for model System:Rendering/RenderMixed</UserDocu>
|
|
</Documentation>
|
|
<Parameter Name="RenderMixed" Type="String"/>
|
|
</Attribute>
|
|
<Attribute Name="RenderOspray" ReadOnly="true">
|
|
<Documentation>
|
|
<UserDocu>UUID for model System:Rendering/RenderOspray</UserDocu>
|
|
</Documentation>
|
|
<Parameter Name="RenderOspray" Type="String"/>
|
|
</Attribute>
|
|
<Attribute Name="RenderPbrt" ReadOnly="true">
|
|
<Documentation>
|
|
<UserDocu>UUID for model System:Rendering/RenderPbrt</UserDocu>
|
|
</Documentation>
|
|
<Parameter Name="RenderPbrt" Type="String"/>
|
|
</Attribute>
|
|
<Attribute Name="RenderPovray" ReadOnly="true">
|
|
<Documentation>
|
|
<UserDocu>UUID for model System:Rendering/RenderPovray</UserDocu>
|
|
</Documentation>
|
|
<Parameter Name="RenderPovray" Type="String"/>
|
|
</Attribute>
|
|
<Attribute Name="RenderSubstancePBR" ReadOnly="true">
|
|
<Documentation>
|
|
<UserDocu>UUID for model System:Rendering/RenderSubstancePBR</UserDocu>
|
|
</Documentation>
|
|
<Parameter Name="RenderSubstancePBR" Type="String"/>
|
|
</Attribute>
|
|
<Attribute Name="RenderTexture" ReadOnly="true">
|
|
<Documentation>
|
|
<UserDocu>UUID for model System:Rendering/RenderTexture</UserDocu>
|
|
</Documentation>
|
|
<Parameter Name="RenderTexture" Type="String"/>
|
|
</Attribute>
|
|
<Attribute Name="RenderWB" ReadOnly="true">
|
|
<Documentation>
|
|
<UserDocu>UUID for model System:Rendering/RenderWB</UserDocu>
|
|
</Documentation>
|
|
<Parameter Name="RenderWB" Type="String"/>
|
|
</Attribute>
|
|
<Attribute Name="TestModel" ReadOnly="true">
|
|
<Documentation>
|
|
<UserDocu>UUID for model System:Test/Test Model</UserDocu>
|
|
</Documentation>
|
|
<Parameter Name="TestModel" Type="String"/>
|
|
</Attribute>
|
|
</PythonExport>
|
|
</GenerateModel>
|