ZBrushCentral

CAD to Zbrush and back again, Help!

Hi All,

I’ve been trying to edit a obj CAD drawing of a flower in zbrush but am having problems. What I need to do is smooth out an area where the petals meet the stem to give the join a nice flowing curve (rather than the lumpy CAD mess it is at the moment!). Having been imported from CAD the mesh has a fantastically uneven distribution of poly’s, and I can’t seem to find a way of retopologizing the area I need to sculpt without the retopologizing process significantly mangling the rest of the model. The rest of the model needs to remain untouched as it has been created to specific dimensions in Solidworks and Inventor (CAD programmes). The whole CAD to sculpting and back again process is causing me a major brain ache, any help with my questions would be much appreciated.

Many thanks,

Pete

Attachments

flower zbrush problem 3.jpg

Have you tried Dynameshing the whole object at high resolution (with projection on), then running it through decimation master, and reimporting back into CAD to see exactly how much tolerance for re-meshing you actually have? The dimensions shouldn’t vary by more than an infinitesimal degree. Because that would VASTLY simplify your problems here.

You can, however, selectively re-mesh a portion of your mesh with ZRemesher. Hide all but the portion of your mesh you want to remesh, then activate ZRemesher. It will convert that portion of the mesh to squarish polygons more suitable for sculpting. But you’re still going to have to decimate the whole thing again afterwards to re-simplify the geometry, so existing topology will be altered.

Your only other option would appear to be to painstakingly re-wire that section of the model manually, on what appears to be a heavily decimated mesh with extreme triangular geometry. The upcoming release may boast some better options in this area, but zb4r6 is not the tool I would choose to do this with. I wouldn’t choose to do it at all if I could help it.

Just throwing my 2 cents in here, but I had a similar issue with Sketchup, and I got around the tri’s problem by importing the model to Blender and converting all the tri’s to quads (press alt+j in edit mode). If nothing seems to happen, try subdividing a couple of times and then press alt+j again. It’ll usually work after that.

Hope this helps in some way.

There’s a “Merge Tris” command in Tool > Geometry > Modify Topology that can be used on the visible portion of a hidden mesh to convert tris to quads. But it’s unlikely this will produce geometry that is much better suited for sculpting on mesh topology that is already so extreme.

Hi Again,

Many thanks for the replies, in the end I’ve gone for the Dynamesh the whole model option, it seems to have done the job although the dynamesh process has slightly altered the edges.

The merge tri’s option seemed to blow big holes in the mesh for some reason (which I couldn’t then fix with the ‘close holes’ command in the modify topology menu).

I haven’t given the blender option a go yet but I found that subdividing the model caused zbrush to hang indefinitely (or maybe I’m just impatient :), a similar problem happened with decimation master until I saved the model as an .obj and then reimported it. It seemed to work fine then.

Switching things between CAD and Zbrush (or other sculpting programme) is likely to be something that I do of a lot in future so if I discover a perfect way of doing it I’ll stick it up in this forum. The dynamesh option will hopefully do the job for now, although it’s not an ideal solution.

Many thanks again and happy zbrushing,

Pete

smoothed dynamesh.jpg

Pete, are you familiar with the methods for projecting detail in Zbrush?

http://docs.pixologic.com/user-guide/3d-modeling/topology/zremesher/transferring-detail/

If you duplicate your tool as a subtool, remesh the subtool then protect the areas you wish to with masking, you should be able to project detail from the original tool back onto the remeshed tool with a high degree of fidelity. This may make up the slight variance in form you’re experiencing.

Also, the areas where the “petals” are virtually touching are a bit too close for Dynamesh to separate, except perhaps at prohibitively high resolution. Instead, you may want to remesh with ZRemesher, which will respect the gap between that geometry, subdivide sufficiently, then project the detail from the original mesh onto it. From there you should have a 99.5% identical mesh, with clean, sculptible geo, and multiple levels of subdivision to work on.

Good luck!

Hi Scott,

I was aware of the re-projecting detail function after freezing subdivision levels but I had’t realised the possibilities of duplicating the tool as a sub tool, then masking and re-projecting to the original tool. Having multiple sub division levels will also be a bonus! I’ll give it a go and see how I fare.

The overlap of petals is actually intentional as I’m trying to make a model that will eventually be CNC’d out of model board and used for vacuum forming over. The overlap of petals gives the whole thing a structural rigidity as then the petals will all be part of a solid ring of plastic. This whole project is a massive learning experience, thanks for all your help!

Happy new year!

Pete

In that case, my approach to your situation would be thus:

  1. Import mesh into Zbrush. Duplicate as subtool in the same tool. Toggle visibility to avoid confusion, or use “solo” mode.

  2. Dynamesh duplicate subtool with projection active at the highest resolution you need to capture the form, yet allow for the desired level of fusion where the leaf petals touch. Turning the res up as high as possible will be time consuming in processing power, but it may be accurate enough to save you a bit of intermediate projection.

2.5) (optional) If the resulting dynamesh looks accurate enough, skip to step 3. Otherwise, you may need to do some projection from the original tool onto the new mesh, following the subtool projection method in the previous link. Now usually, when a mesh is already in the same ballpark as the previous mesh, the process is mostly trouble free. However, from experience I suspect projecting from the original tool might require some touch up because the geometry is so extreme in places, and because it may get a bit confused where the petals fused since they used to be separate geometry. It may require a bit of touch up where errors pop up, and fiddling with the projection settings. That’s why I recommend turning up the res as high as you can get away with on the dynamesh process, and hopefully get something accurate enough to project from.

  1. You should now have at least two subtools. The original mesh, and an accurate, high density remeshed version. Duplicate the remeshed version as yet another subtool. Now select the new duplicate, and run it through ZRemesher. (You may optionally want to Decimate it a bit first, to save Zremesher some effort in crunching all those polys, but if your system can handle it, you dont mind the processing time, and dont want to introduce another variable, it inst necessary). ZRemehser has settings you can tweak your output with, but the default settings should produce something adequate to your needs here.

4)You should now have a third subtool that is a low poly version of the fused petal mesh, with relatively clean quad topology, well suited for sculpting, polypainting, etc. Subdivide this new subtool as many times as necessary to hold the high res detail, and follow the steps in the subtool projection method in the previous link. I recommend you project from the high density fused petal dynamesh if it’s accurate enough, rather than the original mesh to avoid issues, but you can try with either one to see which gives better results.

  1. Sculpt as desired, decimate if necessary, and export.

Good luck!

I’m glad you posted this question, Pete!

These are some really useful tips from Scott. In fact, I just downloaded this page for future reference. :smiley: