Commit Graph

39 Commits

Author SHA1 Message Date
david lesage
9fc21fe22f #jira UE-190954: the import failed because this is a shattered DMU that cannot be imported with incremental mode of TechSoft (Importer.m_sLoadData.m_sIncremental)
=> the control of the import time cannot be activated as the size of all the files are not know...

[CL 26547102 by david lesage in ue5-main branch]
2023-07-24 12:32:43 -04:00
David Lesage
4ddfb5d774 Fix DatasmithCADWorker compilation
#preflight 6478b290947ff6973c1980d9

[CL 25727565 by David Lesage in ue5-main branch]
2023-06-01 11:17:26 -04:00
David Lesage
325d472511 Switch mesher in case of failure
#jira UE-186713
#rb jeanluc.corenthin
#preflight 6478514b3a1270a6fd13bb3c

[CL 25721504 by David Lesage in ue5-main branch]
2023-06-01 04:20:09 -04:00
ionut matasaru
3d7c0e8440 UBT: Removed deprecated TargetInfo::bUseMallocProfiler toggle in Source/Programs.
#jira UE-141779
#rb Joe.Kirchoff
#rb Johan.Berg
#preflight 64380aea7a00790bfd116430

[CL 25101875 by ionut matasaru in ue5-main branch]
2023-04-19 04:15:59 -04:00
David Lesage
a7f401a01a CAD Qualifier improvements
#rb none
#preflight 64215cd27a393e211ad2c192

[CL 24800376 by David Lesage in ue5-main branch]
2023-03-27 05:21:12 -04: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
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
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
david lesage
971520e9a9 CAD conversion operation crashes with "out of memory":
One problem is a (undefined) memory leak in the CAD conversion process.
The workaround to fix it, is to restart CADWorker as soon as the leak is too important.
A first implementation is done is 5.1.1 withour header modification: the state ETaskState::Unknown is used to inform that the worker need to be restart.

#jira UE-168831
#rb jeanluc.corenthin
#preflight 637f874edf0c31526849ef73
#lockdown jeanmichel.dignard

[CL 23267335 by david lesage in ue5-main branch]
2022-11-25 12:00:30 -05:00
Devin Doucette
2bda528abc Fixed missing calls to FEngineLoop::AppExit
Skipping AppExit can cause crashes on exit because systems are destroyed in the wrong order.

#jira UE-170063
#preflight none
#rb Brandon.Schaefer
#rnx

[CL 23139565 by Devin Doucette in ue5-main branch]
2022-11-15 13:46:14 -05:00
david lesage
4c17331d84 [CADKernel] Improve topological welding:
- to try to fix large crack, a second step could be perform with a larger tolerance
- to prevent the meshing failure of thin surface,  and consequently the presence of a crack in the mesh, thin surface can be removed and replaced by a topological weld.
3 new CVar are added to drive this new process:
- ds.CADTranslator.Stitching.ForceSew
- ds.CADTranslator.Stitching.ForceFactor
- ds.CADTranslator.Stitching.RemoveThinFaces

Fix crashes, fix HD leak, fix RAM usage

#jira UE-154019, UE-157085
#rb jeanluc.corenthin
#preflight 6356cd17f92c325024f48f6e
#lockdown jeanmichel.dignard

#preflight 635a9bb00b08a07d8a4310d7

[CL 22810471 by david lesage in ue5-main branch]
2022-10-27 11:07:42 -04:00
aurel cordonnier
8ed670cea0 [Backout] - CL22695017
[FYI] David.Lesage
Original CL Desc
-----------------------------------------------------------------
[CADKernel] Improve topological welding:
- to try to fix large crack, a second step could be perform with a larger tolerance
- to prevent the meshing failure of thin surface,  and consequently the presence of a crack in the mesh, thin surface can be removed and replaced by a topological weld.
3 new CVar are added to drive this new process:
- ds.CADTranslator.Stitching.ForceSew
- ds.CADTranslator.Stitching.ForceFactor
- ds.CADTranslator.Stitching.RemoveThinFaces

Fix crashes, fix HD leak, fix RAM usage

#jira UE-154019, UE-157085
#rb jeanluc.corenthin
#preflight 6352c5ef7261e565c47ca046
#lockdown jeanmichel.dignard

[CL 22713056 by aurel cordonnier in ue5-main branch]
2022-10-22 17:31:47 -04:00
marc audy
15a4c73b0d [CADKernel] Improve topological welding:
- to try to fix large crack, a second step could be perform with a larger tolerance
- to prevent the meshing failure of thin surface,  and consequently the presence of a crack in the mesh, thin surface can be removed and replaced by a topological weld.
3 new CVar are added to drive this new process:
- ds.CADTranslator.Stitching.ForceSew
- ds.CADTranslator.Stitching.ForceFactor
- ds.CADTranslator.Stitching.RemoveThinFaces

Fix crashes, fix HD leak, fix RAM usage

#jira UE-154019, UE-157085
#rb jeanluc.corenthin
#preflight 6352c5ef7261e565c47ca046
#lockdown jeanmichel.dignard

[CL 22711547 by marc audy in ue5-main branch]
2022-10-22 14:38:08 -04:00
david lesage
f180419c8b #jira UE-157259
Fix that import of the CATProduct hangs. The main problem is due to the size of the message between the CADWorker and the dispatcher in this case (the CATProduct has more than 4000 external references, that generated a message bigger than the limit.)
=>
fix FNetworkNode::ReceiveMessage(): remove the limite of 1 Mb for message size, manage the reception of large messages
fix FDatasmithWorkerHandler::RunInternal(): manage the case of EWorkerErrorState::ConnectionLost

+ some improvements:
- Launch only one worker for monolithic file
- Replace FThread by UE::Tasks::FTask

#rb johan.duparc
#preflight 631a0305304480f8f8584bed

[CL 21908209 by david lesage in ue5-main branch]
2022-09-08 20:09:58 -04:00
David Lesage
67549916ce Remove KernelIO SDK: step 1 - remove references
#preflight 629934a59e46af6513afa90e

[CL 20476961 by David Lesage in ue5-main branch]
2022-06-02 18:20:50 -04:00
Benn Gallagher
8757cb3641 Physics interface cleanup.
* Removed deprecated or dead code paths
* Simplified build system setup for physics support
* Deprecated build system flags and unsupported macros

#jira none
#rb Chris.Caulfield, Kriss.Gossart
#preflight 62963ec0fe779f23c8ea0c5e

[CL 20450744 by Benn Gallagher in ue5-main branch]
2022-06-01 06:59:18 -04:00
Johan Duparc
c28db07762 Datasmith: adopt latest version of warning about includes order
#preflight 624332dff73c316f68ce6de5
#rb JeanLuc.Corenthin

[CL 19556626 by Johan Duparc in ue5-main branch]
2022-03-30 10:12:09 -04:00
david lesage
ae21c17ec4 DatasmtihCADWorker still initialize Old CADLibrary but not the new one
#jira UE-143923
#rb jeanluc.corenthin
#preflight 621cd0ae037be0078c9b6f45
#lockdown cristina.riveron

#ROBOMERGE-AUTHOR: david.lesage
#ROBOMERGE-SOURCE: CL 19173080 in //UE5/Release-5.0/... via CL 19173492
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v921-19075845)

[CL 19173722 by david lesage in ue5-main branch]
2022-02-28 10:20:08 -05:00
david lesage
809ba20893 Add logic in DatasmithCADWorker to kill itself when parent process does not exist anymore
#jira UETOOL-5020
#rb jeanluc.corenthin
#preflight 62182719e27ba405e8681587

#ROBOMERGE-AUTHOR: david.lesage
#ROBOMERGE-SOURCE: CL 19153507 in //UE5/Release-5.0/... via CL 19159202
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v921-19075845)

[CL 19161386 by david lesage in ue5-main branch]
2022-02-25 19:43:39 -05:00
JeanLuc Corenthin
08b26e4552 Fixed build breakage introduced by CL 17614269
#jira UE-127954
#rb none
#preflight 61531be57498d300011c8890

[CL 17646035 by JeanLuc Corenthin in ue5-main branch]
2021-09-28 10:49:26 -04:00
David Lesage
59ac99024f Fix build CADWorker
#rb none

[CL 17552971 by David Lesage in ue5-main branch]
2021-09-17 11:41:05 -04:00
David Lesage
fe21168595 encapsulation of ImportParameter to well manage its setting and the respect of CVar
#preflight 614360178169560001feebb7

[CL 17540414 by David Lesage in ue5-main branch]
2021-09-16 12:47:12 -04:00
David Lesage
daf0ce37e5 Fix Issue 100924: Compile errors
#rb trivial

[CL 17538376 by David Lesage in ue5-main branch]
2021-09-16 09:44:24 -04:00
David Lesage
bf6e70acc2 Fix Issue #100298
#preflight 61408e2ceb6e63000185d821

[CL 17503433 by David Lesage in ue5-main branch]
2021-09-14 08:23:33 -04:00
David Lesage
30a5a2cbf2 TeshSoft PreImplementation:
The main idea is to replace CoreTechFileParser by a generic CADFileReader.
CADFileReader has an ICADFileParser that will process (parse) the file with the selected SDK (KernelIO or TechSoft or ...).
CoreTechFileReader become CoreTechFileParser and implement ICADFileParser.
The next step is to implement TechSoftFileParser.

To simplify the exchange, a FCADFileData replace FContext and extand the encapsulation of the data needed and generated during the file parsing

#rb johan.duparc

[CL 17496262 by David Lesage in ue5-main branch]
2021-09-13 16:36:18 -04:00