Skip to content

Commit

Permalink
Add Templates for GLDF v1.0.0-rc.3
Browse files Browse the repository at this point in the history
  • Loading branch information
Kurpanik committed Jun 26, 2023
1 parent 07998bd commit 46db4a5
Show file tree
Hide file tree
Showing 77 changed files with 562 additions and 47 deletions.
Binary file removed 000_simple_luminaire/product.gldf
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
<?xml version="1.0" encoding="utf-16"?>
<Root xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="https://gldf.io/xsd/gldf/1.0.0-rc.2/gldf.xsd">

<Root xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="https://gldf.io/xsd/gldf/1.0.0-rc.3/gldf.xsd">

<!-- Manufacturer Metadata/Contact -->
<Header>
<Manufacturer>Manufacturer XY</Manufacturer>
<FormatVersion major="1" minor="0" pre-release="2"></FormatVersion>
<FormatVersion major="1" minor="0" pre-release="3"></FormatVersion>
<CreatedWithApplication>Visual Studio Code</CreatedWithApplication>
<GldfCreationTimeCode>2023-04-12T20:00:00Z</GldfCreationTimeCode>
<UniqueGldfId>INSERT GUID HERE - SHOULD BE ALWAYS UNIQUE</UniqueGldfId>
Expand All @@ -15,7 +16,7 @@

<!-- The definition of the luminaire itself -->
<ProductDefinitions>

<!-- Global luminaire properties goes here -->
<ProductMetaData>
<UniqueProductId>INSERT GUID HERE - SHOULD BE ONLY UNIQUE AMONG DIFFERENT PRODUCTS</UniqueProductId>
Expand All @@ -28,7 +29,7 @@
<Locale language="de">Produktname</Locale>
</Name>
</ProductMetaData>

<!-- Variant-specific luminaire properties goes here -->
<Variants>
<Variant id="variant-1">
Expand All @@ -38,7 +39,7 @@
</Name>
</Variant>
</Variants>

</ProductDefinitions>

</Root>
File renamed without changes.
Binary file removed 001_simple_luminaire_ldc/product.gldf
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
<?xml version="1.0" encoding="utf-16"?>
<Root xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="https://gldf.io/xsd/gldf/1.0.0-rc.2/gldf.xsd">
xsi:noNamespaceSchemaLocation="https://gldf.io/xsd/gldf/1.0.0-rc.3/gldf.xsd">

<!-- Manufacturer Metadata/Contact -->
<Header>
<Manufacturer>Manufacturer XY</Manufacturer>
<FormatVersion major="1" minor="0" pre-release="2"></FormatVersion>
<FormatVersion major="1" minor="0" pre-release="3"></FormatVersion>
<CreatedWithApplication>Visual Studio Code</CreatedWithApplication>
<GldfCreationTimeCode>2023-04-12T20:00:00Z</GldfCreationTimeCode>
<UniqueGldfId>INSERT GUID HERE - SHOULD BE ALWAYS UNIQUE</UniqueGldfId>
Expand Down
File renamed without changes.
Binary file removed 002_simple_geometry/product.gldf
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<?xml version="1.0" encoding="utf-16"?>
<Root xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="https://gldf.io/xsd/gldf/1.0.0-rc.2/gldf.xsd">
xsi:noNamespaceSchemaLocation="https://gldf.io/xsd/gldf/1.0.0-rc.3/gldf.xsd">
<Header>
<Manufacturer>Manufacturer XY</Manufacturer>
<FormatVersion major="1" minor="0" pre-release="2"></FormatVersion>
<FormatVersion major="1" minor="0" pre-release="3"></FormatVersion>
<CreatedWithApplication>Visual Studio Code</CreatedWithApplication>
<GldfCreationTimeCode>2023-04-12T20:00:00Z</GldfCreationTimeCode>
<UniqueGldfId>INSERT GUID HERE - SHOULD BE ALWAYS UNIQUE</UniqueGldfId>
Expand Down
File renamed without changes.
File renamed without changes.
Binary file removed 003_l3d_geometry/product.gldf
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<?xml version="1.0" encoding="utf-16"?>
<Root xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="https://gldf.io/xsd/gldf/1.0.0-rc.2/gldf.xsd">
xsi:noNamespaceSchemaLocation="https://gldf.io/xsd/gldf/1.0.0-rc.3/gldf.xsd">
<Header>
<Manufacturer>Manufacturer XY</Manufacturer>
<FormatVersion major="1" minor="0" pre-release="2"></FormatVersion>
<FormatVersion major="1" minor="0" pre-release="3"></FormatVersion>
<CreatedWithApplication>Visual Studio Code</CreatedWithApplication>
<GldfCreationTimeCode>2023-04-12T20:00:00Z</GldfCreationTimeCode>
<UniqueGldfId>INSERT GUID HERE - SHOULD BE ALWAYS UNIQUE</UniqueGldfId>
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
Binary file removed 004_geometry_level_of_detail/product.gldf
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<?xml version="1.0" encoding="utf-16"?>
<Root xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="https://gldf.io/xsd/gldf/1.0.0-rc.2/gldf.xsd">
xsi:noNamespaceSchemaLocation="https://gldf.io/xsd/gldf/1.0.0-rc.3/gldf.xsd">
<Header>
<Manufacturer>Manufacturer XY</Manufacturer>
<FormatVersion major="1" minor="0" pre-release="2"></FormatVersion>
<FormatVersion major="1" minor="0" pre-release="3"></FormatVersion>
<CreatedWithApplication>Visual Studio Code</CreatedWithApplication>
<GldfCreationTimeCode>2023-04-12T20:00:00Z</GldfCreationTimeCode>
<UniqueGldfId>INSERT GUID HERE - SHOULD BE ALWAYS UNIQUE</UniqueGldfId>
Expand Down
File renamed without changes.
Binary file removed 005_header/product.gldf
Binary file not shown.
4 changes: 2 additions & 2 deletions 005_header/source/product.xml → 005_header/product.xml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<?xml version="1.0" encoding="utf-16"?>
<Root xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="https://gldf.io/xsd/gldf/1.0.0-rc.2/gldf.xsd">
xsi:noNamespaceSchemaLocation="https://gldf.io/xsd/gldf/1.0.0-rc.3/gldf.xsd">
<Header>
<Manufacturer>Manufacturer XY</Manufacturer>
<FormatVersion major="1" minor="0" pre-release="2"></FormatVersion>
<FormatVersion major="1" minor="0" pre-release="3"></FormatVersion>
<CreatedWithApplication>Visual Studio Code</CreatedWithApplication>
<GldfCreationTimeCode>2023-04-12T20:00:00Z</GldfCreationTimeCode>
<UniqueGldfId>INSERT GUID HERE - SHOULD BE ALWAYS UNIQUE</UniqueGldfId>
Expand Down
Binary file removed 006_sensor/product.gldf
Binary file not shown.
4 changes: 2 additions & 2 deletions 006_sensor/source/product.xml → 006_sensor/product.xml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<?xml version="1.0" encoding="utf-16"?>
<Root xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="https://gldf.io/xsd/gldf/1.0.0-rc.2/gldf.xsd">
xsi:noNamespaceSchemaLocation="https://gldf.io/xsd/gldf/1.0.0-rc.3/gldf.xsd">
<Header>
<Manufacturer>Manufacturer XY</Manufacturer>
<FormatVersion major="1" minor="0" pre-release="2"></FormatVersion>
<FormatVersion major="1" minor="0" pre-release="3"></FormatVersion>
<CreatedWithApplication>Visual Studio Code</CreatedWithApplication>
<GldfCreationTimeCode>2023-04-12T20:00:00Z</GldfCreationTimeCode>
<UniqueGldfId>INSERT GUID HERE - SHOULD BE ALWAYS UNIQUE</UniqueGldfId>
Expand Down
File renamed without changes.
Binary file removed 007_sensor_and_lightemitter/product.gldf
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<?xml version="1.0" encoding="utf-16"?>
<Root xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="https://gldf.io/xsd/gldf/1.0.0-rc.2/gldf.xsd">
xsi:noNamespaceSchemaLocation="https://gldf.io/xsd/gldf/1.0.0-rc.3/gldf.xsd">
<Header>
<Manufacturer>Manufacturer XY</Manufacturer>
<FormatVersion major="1" minor="0" pre-release="2"></FormatVersion>
<FormatVersion major="1" minor="0" pre-release="3"></FormatVersion>
<CreatedWithApplication>Visual Studio Code</CreatedWithApplication>
<GldfCreationTimeCode>2023-04-12T20:00:00Z</GldfCreationTimeCode>
<UniqueGldfId>INSERT GUID HERE - SHOULD BE ALWAYS UNIQUE</UniqueGldfId>
Expand Down
File renamed without changes.
File renamed without changes.
Binary file removed 008_photometry_complete/product.gldf
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<?xml version="1.0" encoding="utf-16"?>
<Root xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="https://gldf.io/xsd/gldf/1.0.0-rc.2/gldf.xsd">
xsi:noNamespaceSchemaLocation="https://gldf.io/xsd/gldf/1.0.0-rc.3/gldf.xsd">
<Header>
<Manufacturer>Manufacturer XY</Manufacturer>
<FormatVersion major="1" minor="0" pre-release="2"></FormatVersion>
<FormatVersion major="1" minor="0" pre-release="3"></FormatVersion>
<CreatedWithApplication>Visual Studio Code</CreatedWithApplication>
<GldfCreationTimeCode>2023-04-12T20:00:00Z</GldfCreationTimeCode>
<UniqueGldfId>INSERT GUID HERE - SHOULD BE ALWAYS UNIQUE</UniqueGldfId>
Expand Down
File renamed without changes.
Binary file removed 009_lightsource_mandatory/product.gldf
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<?xml version="1.0" encoding="utf-16"?>
<Root xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="https://gldf.io/xsd/gldf/1.0.0-rc.2/gldf.xsd">
xsi:noNamespaceSchemaLocation="https://gldf.io/xsd/gldf/1.0.0-rc.3/gldf.xsd">
<Header>
<Manufacturer>Manufacturer XY</Manufacturer>
<FormatVersion major="1" minor="0" pre-release="2"></FormatVersion>
<FormatVersion major="1" minor="0" pre-release="3"></FormatVersion>
<CreatedWithApplication>Visual Studio Code</CreatedWithApplication>
<GldfCreationTimeCode>2023-04-12T20:00:00Z</GldfCreationTimeCode>
<UniqueGldfId>INSERT GUID HERE - SHOULD BE ALWAYS UNIQUE</UniqueGldfId>
Expand Down
Binary file removed 010_lightsource_complete/product.gldf
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<?xml version="1.0" encoding="utf-16"?>
<Root xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="https://gldf.io/xsd/gldf/1.0.0-rc.2/gldf.xsd">
xsi:noNamespaceSchemaLocation="https://gldf.io/xsd/gldf/1.0.0-rc.3/gldf.xsd">
<Header>
<Manufacturer>Manufacturer XY</Manufacturer>
<FormatVersion major="1" minor="0" pre-release="2"></FormatVersion>
<FormatVersion major="1" minor="0" pre-release="3"></FormatVersion>
<CreatedWithApplication>Visual Studio Code</CreatedWithApplication>
<GldfCreationTimeCode>2023-04-12T20:00:00Z</GldfCreationTimeCode>
<UniqueGldfId>INSERT GUID HERE - SHOULD BE ALWAYS UNIQUE</UniqueGldfId>
Expand Down
File renamed without changes.
136 changes: 136 additions & 0 deletions 011_lightsource_multichannel/product.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,136 @@
<?xml version="1.0" encoding="utf-16"?>
<Root xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="https://gldf.io/xsd/gldf/1.0.0-rc.3/gldf.xsd">
<Header>
<Manufacturer>Manufacturer XY</Manufacturer>
<FormatVersion major="1" minor="0" pre-release="3"></FormatVersion>
<CreatedWithApplication>Visual Studio Code</CreatedWithApplication>
<GldfCreationTimeCode>2023-04-12T20:00:00Z</GldfCreationTimeCode>
<UniqueGldfId>INSERT GUID HERE - SHOULD BE ALWAYS UNIQUE</UniqueGldfId>
</Header>
<GeneralDefinitions>
<Files>
<File id="photometryRedFile" contentType="ldc/eulumdat" type="url">
http://example.org/photometryRed.ldt</File>
<File id="photometryGreenFile" contentType="ldc/eulumdat" type="url">
http://example.org/photometryGreen.ldt</File>
<File id="photometryBlueFile" contentType="ldc/eulumdat" type="url">
http://example.org/photometryBlue.ldt</File>
<File id="spectrumRedFile" contentType="spectrum/text" type="url">
http://example.org/spectrumRed.txt</File>
<File id="spectrumGreenFile" contentType="spectrum/text" type="url">
http://example.org/spectrumGreen.txt</File>
<File id="spectrumBlueFile" contentType="spectrum/text" type="url">
http://example.org/spectrumBlue.txt</File>
<File id="lightSourceImage" contentType="image/jpg" type="url">
http://example.org/image.jpg</File>
</Files>
<Photometries>
<Photometry id="photometryRed">
<PhotometryFileReference fileId="photometryRedFile" />
</Photometry>
<Photometry id="photometryGreen">
<PhotometryFileReference fileId="photometryGreenFile" />
</Photometry>
<Photometry id="photometryBlue">
<PhotometryFileReference fileId="photometryBlueFile" />
</Photometry>
</Photometries>
<Spectrums>
<Spectrum id="spectrumRed">
<SpectrumFileReference fileId="spectrumRedFile" />
</Spectrum>
<Spectrum id="spectrumGreen">
<SpectrumFileReference fileId="spectrumGreenFile" />
</Spectrum>
<Spectrum id="spectrumBlue">
<SpectrumFileReference fileId="spectrumBlueFile" />
</Spectrum>
</Spectrums>
<LightSources>
<MultiChannelLightSource id="multiChannelLightSource">
<Name>
<Locale language="en">RGB MultiChannel</Locale>
</Name>
<RatedInputPower>50</RatedInputPower>
<LightSourceImages>
<Image fileId="lightSourceImage" imageType="Product Picture" />
</LightSourceImages>
<Channels>
<Channel type="Red">
<DisplayName>
<Locale language="en">Red</Locale>
</DisplayName>
<SpectrumReference spectrumId="spectrumRed" />
<PhotometryReference photometryId="photometryRed" />
<RatedLuminousFlux>150</RatedLuminousFlux>
</Channel>
<Channel type="Green">
<DisplayName>
<Locale language="en">Green</Locale>
</DisplayName>
<SpectrumReference spectrumId="spectrumGreen" />
<PhotometryReference photometryId="photometryGreen" />
<RatedLuminousFlux>150</RatedLuminousFlux>
</Channel>
<Channel type="Blue">
<DisplayName>
<Locale language="en">Blue</Locale>
</DisplayName>
<SpectrumReference spectrumId="spectrumBlue" />
<PhotometryReference photometryId="photometryBlue" />
<RatedLuminousFlux>150</RatedLuminousFlux>
</Channel>
</Channels>
</MultiChannelLightSource>
</LightSources>
<ControlGears>
<ControlGear id="controlGear">
<Name>
<Locale language="en">Electronic ballast</Locale>
</Name>
<NominalVoltage>
<VoltageRange>
<Min>220</Min>
<Max>230</Max>
</VoltageRange>
</NominalVoltage>
<StandbyPower>5</StandbyPower>
<Dimmable>true</Dimmable>
<ColorControllable>true</ColorControllable>
</ControlGear>
</ControlGears>
<Emitters>
<Emitter id="emitter-1">
<MultiChannelLightEmitter>
<LightSourceReference multiChannelLightSourceId="multiChannelLightSource" />
<ControlGearReference controlGearId="controlGear" />
</MultiChannelLightEmitter>
</Emitter>
</Emitters>
</GeneralDefinitions>
<ProductDefinitions>
<ProductMetaData>
<UniqueProductId>INSERT GUID HERE - SHOULD BE ONLY UNIQUE AMONG DIFFERENT PRODUCTS</UniqueProductId>
<ProductNumber>
<Locale language="en">Product number</Locale>
<Locale language="de">Produktnummer</Locale>
</ProductNumber>
<Name>
<Locale language="en">Product name</Locale>
<Locale language="de">Produktname</Locale>
</Name>
</ProductMetaData>
<Variants>
<Variant id="variant1">
<Name>
<Locale language="en">Variant name</Locale>
<Locale language="de">Variantenname</Locale>
</Name>
<Geometry>
<EmitterReference emitterId="emitter-1" />
</Geometry>
</Variant>
</Variants>
</ProductDefinitions>
</Root>
File renamed without changes.
Binary file removed 011_spectrum/product.gldf
Binary file not shown.
Binary file removed 012_control_gear/product.gldf
Binary file not shown.
File renamed without changes.
4 changes: 2 additions & 2 deletions 011_spectrum/source/product.xml → 012_spectrum/product.xml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<?xml version="1.0" encoding="utf-16"?>
<Root xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="https://gldf.io/xsd/gldf/1.0.0-rc.2/gldf.xsd">
xsi:noNamespaceSchemaLocation="https://gldf.io/xsd/gldf/1.0.0-rc.3/gldf.xsd">
<Header>
<Manufacturer>Manufacturer XY</Manufacturer>
<FormatVersion major="1" minor="0" pre-release="2"></FormatVersion>
<FormatVersion major="1" minor="0" pre-release="3"></FormatVersion>
<CreatedWithApplication>Visual Studio Code</CreatedWithApplication>
<GldfCreationTimeCode>2023-04-12T20:00:00Z</GldfCreationTimeCode>
<UniqueGldfId>INSERT GUID HERE - SHOULD BE ALWAYS UNIQUE</UniqueGldfId>
Expand Down
81 changes: 81 additions & 0 deletions 012_spectrum/spectrum/spectrum.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,81 @@
380 0.01180064
385 0.00788244
390 0.005266546
395 0.001616181
400 0
405 0.2978584
410 0.02503297
415 0.007757661
420 0.006907285
425 0.006601582
430 0.004398292
435 0.5503187
440 0.05128142
445 0.00381405
450 0.002838043
455 0.006022997
460 0.004711225
465 0.00684789
470 0.00510068
475 0.006921761
480 0.02022281
485 0.1765063
490 0.2114744
495 0.1177296
500 0.05472136
505 0.01889494
510 0.009892015
515 0.006306
520 0.00551472
525 0.00507808
530 0.009601507
535 0.06006803
540 0.5642244
545 1.324172
550 0.5467769
555 0.1222378
560 0.04187844
565 0.03168854
570 0.02544225
575 0.06309139
580 0.2296667
585 0.2767712
590 0.2371478
595 0.2324415
600 0.2066847
605 0.1273655
610 1.565865
615 1.038117
620 0.2491412
625 0.2913219
630 0.3653833
635 0.09651767
640 0.05872104
645 0.0547622
650 0.1097085
655 0.06662335
660 0.05663443
665 0.05323695
670 0.03420713
675 0.02596545
680 0.02889289
685 0.04209926
690 0.0450694
695 0.0398659
700 0.01474892
705 0.1042875
710 0.1888278
715 0.04927406
720 0.007502893
725 0.005934834
730 0.01274482
735 0.007690881
740 0.01418927
745 0.007311296
750 0.01620013
755 0.004440197
760 0.002377226
765 0.02288958
770 0
775 0.003881063
780 0.005010302
File renamed without changes.
Loading

0 comments on commit 46db4a5

Please sign in to comment.