Commit Graph

650 Commits

Author SHA1 Message Date
kovacsv
8a3c98e658 The obj file format specifies continuous lines and not line segments. 2023-10-23 20:27:21 +02:00
kovacsv
82c5d01a43 Fix measure tool with lines. 2023-10-23 18:17:07 +02:00
kovacsv
bd34c2a408 Show line count in the details panel. 2023-10-23 15:54:59 +02:00
kovacsv
9e5ddaead7 Allow default line color parameter when embedding. 2023-10-23 13:52:06 +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
kovacsv
0f3e42be4b Add material groups to lines. 2023-10-23 09:36:58 +02:00
kovacsv
97e7be4732 Refactor mesh material handler. 2023-10-23 08:46:34 +02:00
Viktor Kovacs
474d46968b Minor modifications. 2023-10-22 18:13:33 +02:00
Viktor Kovacs
757703a889 Minor modifications. 2023-10-22 18:11:18 +02:00
Viktor Kovacs
1a4c3c128d Refactor mesh material handling. 2023-10-22 18:08:30 +02:00
Viktor Kovacs
077d46d112 Refactor material conversion. 2023-10-21 18:10:45 +02:00
Viktor Kovacs
7420e4dfeb Convert line segments with dummy material. 2023-10-21 08:46:54 +02:00
kovacsv
1af09bf377 Read lines from obj files. 2023-10-17 19:47:00 +02:00
kovacsv
2db8771317 Rename function. 2023-10-17 19:08:32 +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
d2215f2295 Preserve navigation and projection mode between sessions #425 2023-10-14 09:11:33 +02:00
kovacsv
37a21aab36 Introduce camera settings class. 2023-10-14 08:33:51 +02:00
kovacsv
34a64b5d83 Introduce NavigationMode enum. 2023-10-14 07:58:28 +02:00
kovacsv
d7db1442b2 Rename CameraMode to ProjectionMode. 2023-10-14 07:44:44 +02:00
kovacsv
b2e21f32ee Update web-ifc to version 0.0.44. 2023-10-08 19:39:39 +02:00
kovacsv
fbf946c54e Update third-party libraries. 2023-10-07 20:45:49 +02:00
Luiz Henrique Cassettari
8ebcba7591
Update importerbim.js with default color (#414)
* Update importerbim.js with default color

# Update
if the color is undefined use the default color instead.

* Update `defaultMaterialIndex` to null
2023-08-14 18:25:22 +02:00
kovacsv
28d3f07589 Support new DropBox sharing url format #408 2023-08-14 07:55:40 +02:00
kovacsv
ee1e0fbcb4 Update occt-import-js. 2023-07-17 20:29:43 +02:00
kovacsv
599f05ceb7 Add unit information where it is known. 2023-07-17 19:41:15 +02:00
kovacsv
deb06ddf49 Use default material in three.js based importers #405 2023-06-29 21:48:11 +02:00
kovacsv
8ef709d778 Remove debug prints. 2023-06-29 21:48:04 +02:00
kovacsv
8edce119cd Option to switch between themes without opening a model #400 2023-06-28 20:35:31 +02:00
kovacsv
1ec2f1df36 Option to create screenshot with transparent background #401 2023-06-28 19:02:39 +02:00
kovacsv
181b237f12 Center intro page content #404 2023-06-18 07:37:57 +02:00
kovacsv
6490b22533 Adjust minimal window size. 2023-06-04 13:46:13 +02:00
kovacsv
8a625e7ef9 Update intro page. 2023-06-04 13:25:41 +02:00
kovacsv
67ee073dfd Update libraries. 2023-06-02 22:47:39 +02:00
kovacsv
4bd7168fa2 amf format support #397 2023-05-18 16:37:42 +02:00
kovacsv
8cb4bd284b Fix order of nodes in glTF export. 2023-05-13 08:29:31 +02:00
kovacsv
7a6cdaee68 Fix hierarchy detection. 2023-05-08 19:21:17 +02:00
Viktor Kovacs
10f97dcf84 Fix mesh node handling during glTF export. 2023-05-08 08:40:18 +02:00
Viktor Kovacs
96609b559a Eliminate manual node type setting in importers. 2023-05-08 08:07:37 +02:00
Viktor Kovacs
b661ddcfb5 Fix glTF export transformations. 2023-05-08 07:49:00 +02:00
kovacsv
dabb20b6b1 Fix glTF validator issues with the exported file. 2023-05-07 19:17:33 +02:00
kovacsv
7fb27931b0 GLTF Exporter Hierarchy Support #319 2023-05-07 19:07:14 +02:00
kovacsv
d61087d110 GLTF Exporter Hierarchy Support #319 2023-05-07 17:42:45 +02:00
kovacsv
b93581c1bc Update three.js to version 0.152.2. 2023-05-07 11:59:54 +02:00
kovacsv
104983ef6e Prepare exporter model for hierarchical export. 2023-05-07 09:35:58 +02:00
kovacsv
eb440871bb Minify css using esbuild #394 2023-05-03 16:34:08 +02:00