Commit Graph

35 Commits

Author SHA1 Message Date
Raffael Di Pietro
8c3cbd2cc8
Change color.js typing to be "number" instead of "integer" (#501)
* refactor(color): change type in function documentation

* doc(color): regenerate doc with new types

---------

Co-authored-by: Raffael Dipietro <raffael.dipietro@infomaniak.com>
2025-05-24 09:09:36 +02:00
kovacsv
449ce84bcd Add localization technology to the engine. 2024-01-27 08:58:13 +01:00
kovacsv
8a3c98e658 The obj file format specifies continuous lines and not line segments. 2023-10-23 20:27:21 +02:00
kovacsv
bd34c2a408 Show line count in the details panel. 2023-10-23 15:54:59 +02:00
kovacsv
ac1a0e5b9d Add default line color picker to settings. 2023-10-23 13:12:51 +02:00
kovacsv
978b1dfd19 Introduce material source parameter to distinguish materials created for lines and faces. 2023-10-23 12:17:03 +02:00
kovacsv
4f0336c268 Implement polygon offset if the model contains lines. 2023-10-23 11:40:18 +02:00
Viktor Kovacs
7420e4dfeb Convert line segments with dummy material. 2023-10-21 08:46:54 +02:00
kovacsv
aa984afbdb Fix jshint error. 2023-10-17 18:13:31 +02:00
kovacsv
f546ce65c0 No need to have a separate material for lines. 2023-10-17 17:58:31 +02:00
kovacsv
4361240842 Replace callbacks with color values. 2023-10-16 21:55:17 +02:00
kovacsv
cba71f92fa Add lines to the mesh data structure. 2023-10-15 21:40:19 +02:00
kovacsv
599f05ceb7 Add unit information where it is known. 2023-07-17 19:41:15 +02:00
kovacsv
8cb4bd284b Fix order of nodes in glTF export. 2023-05-13 08:29:31 +02:00
Viktor Kovacs
96609b559a Eliminate manual node type setting in importers. 2023-05-08 08:07:37 +02:00
kovacsv
104983ef6e Prepare exporter model for hierarchical export. 2023-05-07 09:35:58 +02:00
kovacsv
b9fe936047 Add utility function for string to rgba color conversion. 2023-01-21 22:54:31 +01:00
kovacsv
bd10b196d9 Create documentation for the engine #328 2023-01-07 08:22:23 +01:00
kovacsv
f9b3d9bc82 Support for FCStd format #307 2022-10-08 15:56:23 +02:00
kovacsv
79595fcdf9 Transparent background color #286 2022-06-25 12:02:36 +02:00
kovacsv
62af23cafc Use RGBAColor for background. 2022-06-25 11:36:53 +02:00
kovacsv
c168f944f6 Rename Color to RGBColor. 2022-06-25 10:20:58 +02:00
kovacsv
d85d3c336f Minor modification. 2022-06-18 16:25:46 +02:00
kovacsv
2593bbba4e Calculate the volume of a model by calculating the sum of volumes of all meshes. 2022-06-18 16:24:15 +02:00
kovacsv
6f54184dc6 Escape html special characters in properties. 2022-05-29 11:26:58 +02:00
kovacsv
afe6cce6da Remove url from texture, since it's not a core data, and needed only for three.js conversion. 2022-04-27 18:19:55 +02:00
kovacsv
e178e53fbd glB material import not displaying correctly #248 2022-04-19 18:29:28 +02:00
kovacsv
267aeec79a bim export #246 2022-04-18 18:09:17 +02:00
kovacsv
0fbebe7893 Use inverse transpose matrix for normal vector calculation. 2022-01-21 17:13:05 +01:00
kovacsv
22124a9992 Simplify cuboid generator. 2022-01-19 17:59:06 +01:00
kovacsv
603d7c8699 Add cone generator. 2022-01-18 23:19:21 +01:00
kovacsv
7146bc0e2a Fix some DeepScan analysis errors. 2022-01-17 21:01:51 +01:00
kovacsv
41c459897f Use substring instead of substr since it's deprecated. 2022-01-12 18:27:38 +01:00
kovacsv
1c6423b807 Remove unused class and function exports. 2022-01-10 18:34:31 +01:00
kovacsv
a4d386c521 Use ES modules. 2022-01-10 18:10:51 +01:00