{'fraction_non_alphanumeric': 0.012130401819560273, 'fraction_numerical': 0.001516300227445034, 'mean_word_length': 5.111111111111111, 'pattern_counts': {'":': 0, '<': 0, '<?xml version=': 0, '>': 0, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
Software Library For The Lighting Fixtures Optical characteristics Calculation By The Computer-aided design System Kompas 3D

The advantages and disadvantages of existing solutions for calculating lighting fixtures (LF) are discussed in the paper. The methods for solving the global illumination problem are demonstrated. The most important illumination models used to calculate LFs have been analyzed. The Torrance-Sparrow model is used as the primary model of reflective surface. The triangulation method based on approximation of the LF surface by a grid of triangles is used to increase the efficiency of LF design and computation. The optical ray propagation in a 3D optical system was modelled using classical laws of optics and the Monte Carlo method. The structure and the main steps of working with the library for CAD Kompas are described. The approximation of LF surface for different types of light sources and reflector parameters is presented. The implementation of approximations with subsequent ray tracing has demonstrated a good convergence of the problem solution.
The results of the study have the potential to be useful for design engineers involved in the design and calculation of LFs, as well as developers of applied software in the field of computer graphics and computer-aided design systems.