282 Commits

Author SHA1 Message Date
jeanluc corenthin
b93edffd2a Disabled by default solution for bad tessellation of planar surfaces
#jira UE-226634
#rb alexis.matte
#rnx

[CL 36874260 by jeanluc corenthin in 5.5 branch]
2024-10-04 15:18:40 -04:00
jeanluc corenthin
8268f820da Fixed issue with misoriented holes.
#rnx

[CL 36442986 by jeanluc corenthin in 5.5 branch]
2024-09-19 13:56:00 -04:00
jeanluc corenthin
81ecea9a08 Fixed issue with tessellation of planar surfaces
Added CVar "CADKernel.FaceMesher.DetectPlanarFace" to enable/disable specific tessellation for planar faces
Added GeometryCore module to use FDelaunay class to tessellate planar surfaces
Added utility functions for Curve, Surface and Face entities
Replaced use of NURBS curves of degree 1 with use of polylines
Made necessary fixes on code related to polylines
Fixed miscellanous inconsistencies in the API
Cleanup code - WIP

#jira UE-215235
#rnx

[CL 36292235 by jeanluc corenthin in 5.5 branch]
2024-09-14 14:08:47 -04:00
jeanluc corenthin
41f0dfd148 Fixed issue with wrong trimming on surfaces with narrow knotspaces
#rb jeanluc.corenthin
#rnx

[CL 35618278 by jeanluc corenthin in ue5-main branch]
2024-08-18 12:01:24 -04:00
jeanluc corenthin
9d3e9979d5 Issue 542235 : Back out CL 35420560
#rb jeanluc.corenthin
#rnx

[CL 35450849 by jeanluc corenthin in ue5-main branch]
2024-08-12 09:35:09 -04:00
michael galetzka
44f4f964b3 Renamed variable to prevent hiding globally declared LogLevel name
#rnx

[CL 35422702 by michael galetzka in ue5-main branch]
2024-08-09 10:58:20 -04:00
jeanluc corenthin
3b0464de91 Made sure ensure is disabled when compiling the CADWorker
#rb jeanluc.corenthin
#rnx

[CL 35420573 by jeanluc corenthin in ue5-main branch]
2024-08-09 09:51:26 -04:00
jeanluc corenthin
3d3ed89492 Removed ensure causing pogram to crash
#rb jeanluc.corenthin
#rnx

[CL 35339789 by jeanluc corenthin in ue5-main branch]
2024-08-06 10:07:25 -04:00
jeanluc corenthin
abd9b1e807 Fixed socket issue with CADWOrker: It was a timing issue. It takes more than 3 seconds for the worker to ping the editor. Moved the timeout from 3 to 6 sseconds
Fixed crash when tessellating a specific surface: A polyline of 1 point was generated. This was not tested against.
Fixed crash on reimport: The Datasmith external source was required to set the Datasmith translator.

#jira UE-220760, UE-220975
#rb jeanluc.corenthin
#rnx

[CL 35323770 by jeanluc corenthin in ue5-main branch]
2024-08-05 19:24:09 -04:00
jeanluc corenthin
b2f167e9bf Added Mobility attribute to IDatasmithActorElement
#rb jeanluc.corenthin
#rnx

[CL 35060501 by jeanluc corenthin in ue5-main branch]
2024-07-24 14:02:19 -04:00
jeanluc corenthin
c4e44debb7 Moved CADKernel library code from /Engine/Source/Runtime/Datasmith/CADKernel to /Engine/Source/Runtime/Datasmith/CADKernel/Base
This is in preparation of the creation of a CADKernelEngine module

#rb jeanluc.corenthin
#rnx

[CL 34739992 by jeanluc corenthin in ue5-main branch]
2024-06-28 11:21:20 -04:00
jeanluc corenthin
35f0a31b2c Addressed miscellaneous crashes:
- Clean up the logic in FTopologicalFace::UpdateBBox and remove potential crashes
- Modified logic in UE::CADKernel::FindLoopIntersectionsWithIso to only return unique intersection values
- Fixed TCurveSamplerAbstract::RunSampling to immediately return if there is no segment to sample
- Fixed issue with import of multiple files in Datasmith: The UnloadScene of the translator was not called until all the sources were imported. This was not correct for translators which use SDK with global settings, i.e. OpenModel.
- Fixed FAliasModelToCADKernelConverter::AddFace to only add a Face if it has at least one loop.
- Made sure debug 'ensure' were not hit in regular builds

#rb jeanluc.corenthin
#rnx

[CL 34252115 by jeanluc corenthin in ue5-main branch]
2024-06-10 16:25:37 -04:00
brandon schaefer
e64748d3de Disable the top modules that are not currently set to enable AutoRTFM
#rb neil.henning

[CL 34015003 by brandon schaefer in ue5-main branch]
2024-05-30 17:59:48 -04:00
jeanluc corenthin
ca5e14a0d9 Reverted exposureof GeometryTolerance and StitchingTolerance
Reverted changes made to FTopologicalFace class's code

#rb jeanluc.corenthin
#rnx

[CL 33591563 by jeanluc corenthin in ue5-main branch]
2024-05-10 19:49:24 -04:00
jeanluc corenthin
f612d54d27 Fixed crash when loading specific file
#rb jeanluc.corenthin
#rnx

[CL 33582469 by jeanluc corenthin in ue5-main branch]
2024-05-10 14:35:09 -04:00
jeanluc corenthin
8adf974847 Missing file from previous submission
#rb jeanluc.corenthin
#rnx

[CL 33580879 by jeanluc corenthin in ue5-main branch]
2024-05-10 13:50:12 -04:00
jeanluc corenthin
184e765d9f Temporarily disabled all processing related to thin faces or zones.
#rb jeanluc.corenthin
#rnx

[CL 33437378 by jeanluc corenthin in ue5-main branch]
2024-05-03 17:03:54 -04:00
kriss gossart
268292f11b CIS - Fixed warning "C4996: 'IDatasmithClothActorElement::~IDatasmithClothActorElement': The experimental Cloth importer is no longer supported." that seems to only happen on some compiler versions.
#rnx
#rb dan.elksnitis

[CL 33422560 by kriss gossart in ue5-main branch]
2024-05-03 06:15:11 -04:00
kriss gossart
eeb802b932 CIS - Fixed warning: 'Clothes' is deprecated on Linux builds.
#rnx

[CL 33260052 by kriss gossart in ue5-main branch]
2024-04-26 06:31:15 -04:00
kriss gossart
f5b459f972 Datasmith - Remove the experimental Datasmith Clo json importer plugin, and deprecate unused Datasmith cloth code.
#rb JeanLuc.Corenthin

[CL 33259844 by kriss gossart in ue5-main branch]
2024-04-26 06:13:46 -04:00
yoan stamant
7a429c88b8 [CADKernel] renamed Entity files to CADEntity
#rb JeanLuc.Corenthin

[CL 32941468 by yoan stamant in ue5-main branch]
2024-04-12 15:46:45 -04:00
jeanluc corenthin
a2ed212073 Fixed crash when tessellating bezier curve
#jira UE-211633
#rb jeanluc.corenthin
#rnx

[CL 32809833 by jeanluc corenthin in ue5-main branch]
2024-04-08 18:33:11 -04:00
AdricEpic
4a0544cb02 Performance improvements: Part #1
- Improved bezier curve implementation to support their use as curve on surfaces
  - Fixed a couple of rough edges in the logic

#jira UE-210358
#rb jeanluc.corenthin
#rnx

[CL 32586556 by AdricEpic in ue5-main branch]
2024-03-28 14:27:53 -04:00
jeanluc corenthin
c173548d4c Improved CADKernel performance.
Removed a very frequent call to RemoveAt during the tessellation process.

#rb jeanluc.corenthin
#rnx

[CL 32449331 by jeanluc corenthin in ue5-main branch]
2024-03-22 16:39:42 -04:00
jeanluc corenthin
8684bf5173 Fixed crash when loading a specific wire file
#rb jeanluc.corenthin
#rnx

[CL 32420769 by jeanluc corenthin in ue5-main branch]
2024-03-21 18:47:54 -04:00