CAD Forum - tips, tricks, discussion and utilities for AutoCAD, Inventor, Revit and other Autodesk products []
CZ | EN | DE
Login or
  Visitors: 5778

CAD tip CAD tip # 7424:

Question CAD 
 %  platform  category 
Q - question

Converting bitmaps to 3D NURBS surfaces (engraving images).

A - answer The free Windows application ZSurf (see Download) can automatically convert a bitmap image to a 3D NURBS surface in the IGES format. You can use it for engraving operations (logos, texts), for complex shapes which would be difficult to model, for modelling terrain reliefs, for arts and similar purposes. The resulting surfaces can be combined with your 3D solid models in a CAD software like Autodesk Inventor.

ZSurf works with BMP raster images in greyscale, but you can also open color (truecolor) bitmaps. The conversion principle is quite simple - the darker is a specific pixel, the higher will be its elevation above the baseplane in the resulting NURBS surface (or vice-versa - see the Invert function). It is not recommended to use noisy images like JPG photographs. Use images in higher resolution if possible.

The program does not need to be installed - just run the ZSurf4.exe from the downloaded archive. In the Open dialog, select the bitmap to import - the BMP file. Its size must be larger than 64 pixels and lower than 1.600 pixels (X and Y). Using the program controls you can set the processing parameters for the bitmap - its smoothing, blurring, erosion, scale. The slider MASTER ANTI-ALIAS LEVEL controls the smoothness of the resulting NURBS surface. A smoother surface means less details. The parameter Stretch Z controls the oversize of Z-coordinates in relation to the shade of gray.

Other parameters can be used for special cases. With BaseSurf you can add a base surface to your model (a plane, sphere, cylinder, torus...) - the elevations from the input bitmap will be applied to this base surface. With the Text function you can add an arbitrary 3D text (with an arbitrary font) to your NURBS model.

The PROCESS button starts the conversion. ZSurf creates a SRF.IGS file in its start-in folder. This filename is fixed so you have to rename the resulting file after the conversion. SRF.IGS is an IGES format file - you can import it e.g. to Inventor (just drag-n-drop) or to Autodesk 3ds Max. Millimeters are used as base units.

ZSurf controls (UI)

The resulting 3D model in Inventor

The author of ZSurf is anonymous.

Similar tasks can be done also in ZBrush and Autodesk Mudbox.

100% *  CAD 
25.6.2010    35217×   FAQ  
Prices - CAD eShop:
applies to: Inventor · 3ds Max · Maya ·

See also:
Tip 12454:How to draw Bezier curves in AutoCAD?
Tip 7503:Autodesk 3ds Max keyboard shortcuts.
Tip 7297:How to project geometry to any 3D surface.
Tip 996:How to unfold 3D model (e.g. sheetmetal) into 2D?

Back   All CAD Tips

Have we helped you? If you want to support the CAD Forum web service, consider buying one of our CAD applications, or our custom software development offerings, or donating via PayPal (see above). You may also add a link to your web - like this "fan" link: CAD Forum - tips, utilities, blocks for Autodesk products
CAD:    OS:    Categ: 
Text:  FAQ glossary   

Use Google Earth images in your AutoCAD projects with the Plex.Earth Tools More info

Please use these tips at your own risk.
Arkance Systems is not responsible for possible problems that may occur as a result of using any of these tips.