The subject occurs up through 6.0.18016.23451, 1/16/2018.
UserStringsInSrfsAfterJoinBreps.py (891 Bytes)
VariousSrfTypes.3dm (69.1 KB)
Hi @dale ,
I am having the similar issue when using Brep.DuplicateBrep().
Under Brep.Surfaces(), I have UserData saved in PlaneSurfaces, and SumSurface. But after DuplicateBrep(), all UserData under SumSurface are gone. PlaneSurface and NurbsSurface type are ok.
Geometries are simple extrusion to breps, not sure why it creates so many different types of surface.
I have been trapped on this for two days, finally identify it is because of this.
Please let me know if you need an example.
I’ve bumped the YouTrack issue.
A workaround for this is to convert each SumSurface to a NurbsSurface and copy the former’s user data into the latter before performing the Brep method. If the NurbsSurfaces (created and previously present) are unique, the SumSurfaces can even be retained after the operation.
Thanks, yes, I have converted all to PlaneSurface for fixing this problem.
RH-43931 is fixed in the latest WIP