What's new

ZSurf4 - convert a *.bmp to a 3D NURBS surface to IGES

Ralf

Alibre Super User
The free Windows application ZSurf 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 MoI3D.

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.
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 MoI3D.
Millimeters are used as base units.
 

Attachments

  • ZSurf4.zip
    1.7 MB · Views: 457

Ralf

Alibre Super User
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.

Please take a look:
ZSURF4
BaseSurf -> Cylinder
 

Attachments

  • BaseSurf.png
    BaseSurf.png
    99.8 KB · Views: 14

weppler

Member
Ralf,

Thanks for your quick reply.
I guess I should have been more specific.
I'd like to put a bunch of bumps on the surface of a shape created in Alibre.
I can create the .IGS NURBS file from Zsurf4, but can I map it to the convex surface of the Alibre shape in MOI?

I've attached the files:




Thanks
 

Attachments

  • CASE_PAD.igs
    322.6 KB · Views: 21
  • BUMPs.igs
    1.5 MB · Views: 18
  • BUMP.zip
    5.1 KB · Views: 9
Top