Commit Graph
129 Commits
Author SHA1 Message Date
James Smith 454686c791 add 3DM renderer 2026-01-09 14:34:52 +00:00
James Smith ecf4a155c0 Add a custom JSON serializer that will handle differences loading from MariaDB 2025-12-15 11:13:09 +00:00
James Smith db3642891f Remove redundant delegate method 2025-10-16 18:41:22 +01:00
James Smith a711711f65 Autodetect loadable formats from assimp 2025-10-15 17:40:34 +01:00
James Smith ea04ddfd3b move mittsu mesh loading into geom analysis job
only place it's now used
2025-10-15 16:25:00 +01:00
James Smith fa5b1bb45c fix scene loader by opening attachent before use with_file 2025-10-15 15:50:35 +01:00
James Smith d85de377ea move manifold? method to ModelFile (delegated) 2025-10-15 15:50:35 +01:00
James Smith 10e3ebf23c Add helper method for loading assimp scene from file 2025-10-15 15:50:35 +01:00
James Smith bb9d142b5e Rename LibraryUploader to ModelFileUploader 2025-09-22 14:19:23 +01:00
James Smith 3f7fbd971a Remove ransack model configuration 2025-08-01 15:11:42 +01:00
James Smith 2f22d26d01 use assimp to find object bounding box 2025-07-31 00:24:30 +01:00
James Smith 22429455ff Further fix to mtime/ctime for filles 2025-07-25 08:32:11 +01:00
James Smith 78b4b23321 Fix attachment mtime/ctime classes 2025-07-24 22:35:06 +01:00
James Smith 07ccef6da3 generate filenames for derivatives 2025-07-22 13:08:06 +01:00
James Smith 9f418456ec fix missing save in update_from_url 2025-07-22 11:46:07 +01:00
James Smith 714b9b8a28 add tests for adding new files from URL 2025-07-21 13:46:40 +01:00
James Smith 0437c22856 add method for updating file from URL, that uses ETag 2025-07-21 12:19:10 +01:00
James Smith 915115e100 add indexable and ai_indexable query methods for all actors and files 2025-06-20 12:38:10 +01:00
James Smith 96ff6d7c55 Add rendering for LDraw files 2025-05-22 14:47:09 +01:00
James Smith 1327059123 Fix error with nil size when detecting duplicates 2025-05-22 09:30:58 +01:00
James Smith bf9828871b remove AMF and Collada rendering, need webworker-compatible loaders 2025-05-14 23:10:02 +01:00
James Smith b21e90e413 add renderers for 3DS, FBX, Collada, GCode, and AMF 2025-05-14 22:56:29 +01:00
James Smith 58b7a74f60 remove extraneous dots from paths 2025-05-14 22:49:26 +01:00
James Smith 4deb1ff638 Index and render DRACO drc files 2025-05-14 21:33:30 +01:00
James Smith fc2b59140b Merge pull request #4155 from manyfold3d/fix-relative-asset-loading
Fix relative-path asset loading
2025-05-14 17:18:25 +01:00
James Smith 16ea25cad6 load object previews from real filename path, so that relative paths work 2025-05-14 17:13:09 +01:00
James Smith b13d1ae38c add dynamic updating for collections, creators, and files 2025-05-14 15:29:15 +01:00
James Smith dcfc6819d3 refactor mtime and ctime into modelfile, to handle errors 2025-04-16 20:10:53 +01:00
James Smith a1a7857884 add up_direction helper to ModelFile 2025-04-14 15:31:51 +01:00
James Smith 9d91d06507 set model updated time when files are updated 2025-04-04 15:24:04 +01:00
James Smith 97e1bd6cf7 rename ModelFileScanJob to Scan::ModelFile::ParseMetadataJob 2025-04-02 14:30:25 +01:00
James Smith 2c175636e4 refactor geometry analysis into analyse_geometry_later method 2025-04-02 14:30:24 +01:00
James Smith e8c4184ea5 refactor file scan job into scan_later method 2025-04-02 14:30:24 +01:00
James Smith c4ce087b02 rename convert_to! method to convert_later 2025-04-02 14:30:24 +01:00
James Smith 6d3f94d561 refactor file analyse job queueing into a method call 2025-04-02 14:30:23 +01:00
James Smith 06a0b0e1ab remove ModelFile including_special scope 2025-03-18 12:44:57 +00:00
James Smith cb6f0c7bed remove ModelFile default_scope 2025-03-18 12:38:13 +00:00
James Smith c307b479f7 add method to remove attachments from disk 2025-03-17 17:21:45 +00:00
James Smith 9d82ae255f mark duplicate detection as TODO for policy scoping 2025-02-27 10:19:45 +00:00
James Smith 1e39fa93b4 ModelFile: "special files" are ignored by default, but available if requested 2025-02-26 15:03:15 +00:00
Matthew Badeau bdec872487 Remove ModelFile file size validator 2025-02-13 19:27:47 +09:00
Matthew Badeau 145a697727 Fix linting errors 2025-02-13 19:21:14 +09:00
Matthew Badeau bb9ed1744d Adding background job to update nil filesize values 2025-02-11 23:56:07 +09:00
Matthew Badeau b0196c3d73 Shrine now manages file size in db 2025-02-11 16:16:48 +09:00
James Smith 6d1e049a92 only reattach files if path or storage key have changed 2025-01-20 22:19:28 +00:00
James Smith 9f0f87d5ec prevent case-only filename changes 2025-01-16 18:05:37 +00:00
James Smith f1fa80cb54 ensure that mime types aren't changed by filename editing 2025-01-16 18:01:10 +00:00
James Smith 4fef8c3a9f Add filename editing for model parts 2025-01-16 16:28:46 +00:00
James Smith 106b41efc9 rename some more block variables to ease future updates 2025-01-15 11:56:47 +00:00
James Smith ccc29be297 refactor renderable check into ModelFile 2025-01-13 09:20:16 +00:00