For a cuboid to have a cubic net, it must be divided into simple parts. The transfinite gmsh setup can always be defined on solid parts with 5 or 6 faces. Therefore, the division of the cuboid must be different I invite you to add to the guide, make corrections, and share your own experiences
Select the part to divide and the Exploded Extrude subobjects and apply the Slice apart tool.
Then, of course, export to step and create a compound in PrePoMax.
I would still prefer datum planes, but this approach is good too. And you can explode and use multiple extrudes if the sketches have to be made on different planes.
Why is plane cutting better than extrusion? The section plane must be larger than the body. When using sketches, this can be easily forgotten and result in errors in the file.
I understood your suggestion. I asked myself why you were doing this and I answered my own question. (translator).
I created another fiddly model for training and I can’t mesh it properly. What’s your solution?
i like the extrude with recombine option -one segment does not behave quite as the others do, I may have done something wrong here but i think the solution looks ok otherwise
I didn’t notice that line. It seems to be the primitive’s direction vector.
To avoid any problems, I made a copy of the part and deleted the surfaces adjacent to the redundant line on both solids.
Now each solid has fewer than 6 surfaces, and you can use “Transfinite Mesh.”
Seam edges are always generated on the cylindrical surfaces by the OCC geometric kernel. There’s no way to get rid of them other than splitting the surface/volume, deleting the side with a seam edge and mirroring or copying the other side.
Sometimes seam edges may cause some trouble with further modeling, but they might be useful as well (if you need an edge in that direction for measurement or something).
Btw. PrePoMax has an option to automatically split the cylindrical face opposite to the seam edge so that it can be sweep meshed:
The usual setting is 2 just to fulfill the requirements of sweep meshing (all side faces must be 4-sided so a cylindrical surface with a seam edge must be split at least one more time: