Commit Graph

397 Commits

Author SHA1 Message Date
kerim borchaev
79aacf614f [Solidworks] Instancing for same part meshes
- identical meshes exported as the same Datasmith static mesh

#jira UE-171372
#preflight 64018575c13b7130d2b1dce4
#rb benoit.deschenes

[CL 24523174 by kerim borchaev in ue5-main branch]
2023-03-06 10:55:32 -05:00
kerim borchaev
9beda97b52 [SketchUp] Add support for SDK 2023
- compiles with SDK 2023
- Windows installer includes 2023
- Mac OS compiles and zips

#jira UE-178267
#preflight 63fc9331dd78dd50f67286e5
#rb JeanLuc.Corenthin

[CL 24500172 by kerim borchaev in ue5-main branch]
2023-03-03 11:39:24 -05:00
david lesage
d3ddecd743 #jira UE-179048
Due to a crash, bProcessIsRunning is never set to false, so the parallel tasks "CheckDuration" and "CheckMemory" never end.
To fix it, bProcessIsRunning become static so it can be set to false without any instance of FDatasmithCADWorkerImpl
#preflight 640215175515f4f57bd58d70

[CL 24500161 by david lesage in ue5-main branch]
2023-03-03 11:39:09 -05:00
kerim borchaev
304e1397e4 [3ds Max Exporter] Fixed public headers include to fix compilation
#jira UE-177900
#preflight 63f4614b90198dffba1ebffe
#rb JeanLuc.Corenthin

[CL 24342679 by kerim borchaev in ue5-main branch]
2023-02-21 12:33:26 -05:00
kerim borchaev
d1edb0a0e1 [Solidworks] Fixed crash exporting empty Part component
#jira UE-177848
#preflight 63f3670761378b7ea0fb30c8
#rb JeanLuc.Corenthin

[CL 24333503 by kerim borchaev in ue5-main branch]
2023-02-20 23:32:28 -05:00
christopher waters
6a4206d490 Removing bad Launch include paths from programs.
[CL 24328631 by christopher waters in ue5-main branch]
2023-02-20 17:39:13 -05:00
kerim borchaev
de540d62e8 [Solidworks] Fixed Datasmith plugin preventing proper shutdown of Solidworks
- repro: run SW, make Datasmith addin enabled, open a model and Sync it, then exit SW. Expected: Solidwokrs process exits(check in TaskManager as it can have its window destroyed but not process itself).

#jira none
#preflight 63ee26b77d2ec3d2fda510e6
#rb JeanLuc.Corenthin

[CL 24277710 by kerim borchaev in ue5-main branch]
2023-02-16 23:27:46 -05:00
kerim borchaev
06a9e3796f [Solidworks] Unused materials not left in synced/exported scene
- fixed export of materials that are not present in the active configuration when exporting configuration

#jira UE-165103
#preflight 63ebc094205b5ccbc7e8277d
#rb JeanLuc.Corenthin

[CL 24230430 by kerim borchaev in ue5-main branch]
2023-02-15 10:23:01 -05:00
jeanluc corenthin
bfc63646fb Fixed warnings and compilation failure
Solution: Reworked the header files to make sure all ArchiCAD headers are in one header file. That header file properly included.

#jira UE-176051
#rb jeanmichel.dignard
#preflight 63e15a6dcc75b13767d0d886
#lockdown jeanmichel.dignard

[CL 24224870 by jeanluc corenthin in ue5-main branch]
2023-02-14 20:22:26 -05:00
kerim borchaev
a9d395474e [Solidworks] Fixed The color of the component is being changed when pressing Datasmith sync
#jira UE-149553
#preflight 63e62500ce1e17960b0ddc59
#rb JeanLuc.Corenthin

[CL 24168957 by kerim borchaev in ue5-main branch]
2023-02-12 23:06:16 -05:00
kerim borchaev
cf7b93a9da [Solidworks] Fixed exporter not installing if only 2023 version is available
#jira UE-176111
#preflight 63e23bd6786751d1e0e673fc
#rb JeanLuc.Corenthin
#lockdown jeanmichel.dignard

[CL 24106198 by kerim borchaev in ue5-main branch]
2023-02-09 16:20:09 -05:00
kerim borchaev
22abd83ca1 [Solidworks] Infinite reimport after deleting a component auto sync is toggle
- fixed case when change in material was detected when no material were present
- also fixed not detecting material modifications

#jira UE-172414
#preflight 63e1427a797b029c0a67798d
#rb JeanLuc.Corenthin
#lockdown jeanmichel.dignard

[CL 24106191 by kerim borchaev in ue5-main branch]
2023-02-09 16:20:02 -05:00
kerim borchaev
5af38bdc3f [Solidworks] Remove the -1 on spot light scale
#jira UE-170046
#preflight 63e396e93c44c83044d8b021
#rb JeanLuc.Corenthin
#lockdown jeanmichel.dignard

[CL 24100234 by kerim borchaev in ue5-main branch]
2023-02-09 12:11:35 -05:00
kerim borchaev
f5de251336 [Solidworks] Make an actor invisible in the Datasmith scene tree on export if it's suppressed in the selected config
#jira UE-175176
#preflight 63dd3d4714326f9a403dd814
#rb JeanLuc.Corenthin
#lockdown jeanmichel.dignard

[CL 24049376 by kerim borchaev in ue5-main branch]
2023-02-07 10:49:40 -05:00
kerim borchaev
16baa2d2d6 [Solidworks] Fixed Part materials in multiple configurations
- searching for actual RenderMaterial for each Body/Feature of the part using entity's Appearance(somewhat alternale api to RenderMaterial). In order to deal with api flow which doesn't return corrent entities assigned to a RenderMaterial in active configuration

#jira UE-135616
#preflight 63da9718dd02983776fa37e3
#rb JeanLuc.Corenthin
#lockdown jeanmichel.dignard

[CL 23991071 by kerim borchaev in ue5-main branch]
2023-02-03 11:00:35 -05:00
kerim borchaev
09dfaaf766 [Datasmith Revit Exporter] Fixed Duplicated ids for Level elements
- also added more logging for more efficient debugging of parsing/name generation

#jira UE-175007
#preflight 63d9eac78505ea6b1fdf36d4
#rb JeanLuc.Corenthin
#lockdown jeanmichel.dignard

[CL 23991061 by kerim borchaev in ue5-main branch]
2023-02-03 11:00:25 -05:00
kerim borchaev
f637bbeaa6 [Solidworks] Stability fixes
- Fixed Sync/Export when plugin enabled manually(not on Startup)
- Fixed(temporary) plugin crashing after being re-enabled
- DirectLink source not staying alive anymore when closing last document or disabling the plugin

#jira UE-160288
#preflight 63d77378ba4fadeef0dbfc8e
#rb JeanLuc.Corenthin
#lockdown jeanmichel.dignard

[CL 23929322 by kerim borchaev in ue5-main branch]
2023-01-31 12:07:45 -05:00
kerim borchaev
6d42af6b29 [Solidworks] display states for configurations
- added vast of material logging - it's a complicated in the api and currently in the code so should help with future debugging(and already helped)

- fixed another potential race condition that I've overlooked previously

#jira UE-171370
#preflight 63cffe0294644f3e8e28a4d3
#rb benoit.deschenes

[CL 23848150 by kerim borchaev in ue5-main branch]
2023-01-25 10:22:40 -05:00
kerim borchaev
06f70ac5c5 [Solidworks] Refactor - ComVisible removal
- made ComVisible false by default  - simplifies code and doesn't expose unneeded types

#jira none
#preflight 63c6eb350b358b97d1abb126
#rb benoit.deschenes

[CL 23826729 by kerim borchaev in ue5-main branch]
2023-01-23 23:01:56 -05:00
kerim borchaev
56979c1da6 [Solidworks] Fixed potential race condition exporting meshes; refactor
- In ExportMesh left to threaded execution only construction of DatatasmithMesh from extracted data and ExportDatasmithMesh itself

- refactored use of Mesh names all over to make more clear distintion between Datasmith names and names built from SW component names

#jira none
#preflight 63c56f1d7763631ba1b7ca57
#rb benoit.deschenes

[CL 23740158 by kerim borchaev in ue5-main branch]
2023-01-17 12:35:14 -05:00
kerim borchaev
3595766d13 [Solidworks] Assembly Part configurations
- Part component included into assembly with different own configurations creates different meshes for corresponding variants

- Reworked plugin to Separate DirectLink session from Export session


#jira UE-171368 UE-171369
#preflight 63bfad8af02e72c08c91be3a
#rb benoit.deschenes

[CL 23727081 by kerim borchaev in ue5-main branch]
2023-01-16 00:18:46 -05:00
jeanluc corenthin
f6afe0dfc2 Added ability to launch TM (if installed) from the Datasmith tab in Revit.
#jira UE-173064
#rb jeanmichel.dignard
#preflight 63b854e8763c6c10642efbb0
#lockdown jeanmichel.dignard
#9915

[CL 23616677 by jeanluc corenthin in ue5-main branch]
2023-01-09 13:23:27 -05:00
jeanluc corenthin
475d0183ca Added Mac ARM support for ArchiCAD 26 exporter
Eliminated harmless warnings during compilation

#jira UE-168468
#rb jeanmichel.dignard
#preflight 63b83cf3c927e344827cf5e2
#lockdown jeanmichel.dignard

[CL 23616652 by jeanluc corenthin in ue5-main branch]
2023-01-09 13:22:44 -05:00
David Lesage
cbdbbcaded #jira UE-171548
Set verbose level of messages in FCADFileData
This allows to set the verbose level of non critical message to "Log" instead of "Warning"
#rb jeanluc.corenthin
#preflight 63b5362a8c5081ee9aff569f

[CL 23573586 by David Lesage in ue5-main branch]
2023-01-04 03:24:20 -05:00
kerim borchaev
feda8996be [Solidworks] Reworked plugin to avoid modyfing suppression state of components
- all configuration's meshes and materials collected and exported when the configuration is activated

- configurations are activated only once now(resulting ~x2 export speedup as configuration switch is among slowest operation)

- no component is being unsuppressed(and then suppressed) means another time saver

- components exported only when they are unsuppressed in any configuration, meaning no export of unused components.

- Elevation_test is from 78 seconds export down to 11(measured in Debug but anyways switching state configs/suppression was the main time waste)

#jira UE-171367
#preflight 63982ba72540a78d270675f0
#rb benoit.deschenes

[CL 23513940 by kerim borchaev in ue5-main branch]
2022-12-14 12:52:44 -05:00