Calculux Indoor lighting design software project file
application/octet-stream
Magic Bytes
Offset: 0
80 2A 5F D7
The Calculux Indoor lighting design software project file is a proprietary data format developed by Philips Lighting, currently known as Signify. Lighting designers and electrical engineers utilize this format to store simulation data, including room geometry, luminaire positioning, and specific photometric calculation results. While considered a legacy standard largely superseded by modern industry tools, the format maintains a low risk profile as it lacks inherent executable capabilities or scripting features.
Validation Code
How to validate .cin files in Python
Python
def is_cin(file_path: str) -> bool:
"""Check if file is a valid CIN by magic bytes."""
signature = bytes([0x80, 0x2A, 0x5F, 0xD7])
with open(file_path, "rb") as f:
return f.read(4) == signature
How to validate .cin files in Node.js
Node.js
function isCIN(buffer: Buffer): boolean {
const signature = Buffer.from([0x80, 0x2A, 0x5F, 0xD7]);
return buffer.subarray(0, 4).equals(signature);
}
Go
func IsCIN(data []byte) bool {
signature := []byte{0x80, 0x2A, 0x5F, 0xD7}
if len(data) < 4 {
return false
}
return bytes.Equal(data[:4], signature)
}
API Endpoint
GET
/api/v1/cin
curl https://filesignature.org/api/v1/cin