Programs

ProgramSource FileDescription
example1_curve example_curve_1.f90

This program demonstrates the usage of a NURBS (Non-Uniform Rational B-Spline) curve object to create and finalize a NURBS curve. It sets up control points, weights, and knot vectors for all three dimensions, generates the curve, and exports the control points and the curve to VTK files.

Read more…
example3_surface example_surface_1.f90

This program demonstrates the usage of a NURBS (Non-Uniform Rational B-Spline) surface object to create and finalize a NURBS surface. It sets up control points, weights, and knot vectors for all three dimensions, generates the surface, and exports the control points and the surface to VTK files.

Read more…
example3_volume example_volume_1.f90

This program demonstrates the usage of a NURBS (Non-Uniform Rational B-Spline) volume object to create and finalize a NURBS volume. It sets up control points, weights, and knot vectors for all three dimensions, generates the volume, and exports the control points and the volume to VTK files.

Read more…
example_nurbs_curve demo_curve.f90

This program demonstrates the usage of a NURBS curve object to create, and finalize a NURBS curve. It sets up control points and weights, generates the curve, and exports the control points and the curve to VTK files at various stages.

Read more…
example_nurbs_surface demo_surface.f90

This program demonstrates the usage of a NURBS surface object to create, and finalize a NURBS surface. It sets up control points and weights, generates the surface, and exports the control points and the surface to VTK files at various stages.

Read more…
example_nurbs_volume demo_volume.f90

This program demonstrates the usage of a NURBS volume object to create, and finalize a NURBS volume. It sets up control points and weights, generates the volume, and exports the control points and the volume to VTK files at various stages.

Read more…
example_ppm1 example_ppm1.f90

Visualization of NURBS surfaces using ForCAD, ForImage and ForColorMap libraries This example converts NURBS surfaces (vector) to an image (raster) using ForCAD, ForImage and ForColorMap libraries.

Read more…
example_ppm2 example_ppm2.f90

Visualization of NURBS surfaces using ForCAD, ForImage and ForColorMap libraries This example converts NURBS surfaces (vector) to an image (raster) using ForCAD, ForImage and ForColorMap libraries.

Read more…
example_ppm3 example_ppm3.f90

Visualization of NURBS surfaces using ForCAD, ForImage and ForColorMap libraries This example converts NURBS surfaces (vector) to an image (raster) using ForCAD, ForImage and ForColorMap libraries.

Read more…
example_put_to_nurbs put_to_nurbs.f90

You can create your shape or use a predefined one Read coordinates from file Read element connectivities from file Set a control shape that will be used to put the shape into The contol shape is a hexahedron with 100x40x10 with 10x5x3 number of control points By modifying the control shape you can modify the shape

Read more…
nearest_point_1d nearest_point_1d.f90

Set a circle with radius 2.0 and center at [0.0, 0.0, 0.0]

Read more…
nearest_point_2d nearest_point_2d.f90

Set a tetragon with lengths of 2.0 and 3.0 and 3 and 4 control points in each direction The weights of the control points (Wc) are optional.

Read more…
nearest_point_2d_bench nearest_point_2d_bench.f90

Set a tetragon with lengths of 2.0 and 3.0 and 3 and 4 control points in each direction The weights of the control points (Wc) are optional.

Read more…
nearest_point_3d nearest_point_3d.f90

Set up a hexahedron shape with dimensions L = [2.0, 4.0, 8.0] and a specified number of control points nc = [4, 6, 8]. The weights of the control points (Wc) are optional.

Read more…
shape_C_1d shape_C_1d.f90

Set a C-shape with radius 2.0 and center at [0.0, 0.0, 0.0]

Read more…
shape_C_2d shape_C_2d.f90

Set a C-shape with radius 2.0 and center at [0.0, 0.0, 0.0]

Read more…
shape_C_3d shape_C_3d.f90

Set a C-shape with radius 2.0 and center at [0.0, 0.0, 0.0]

Read more…
shape_circle shape_circle.f90

Set a circle with radius 2.0 and center at [0.0, 0.0, 0.0]

Read more…
shape_half_circle shape_half_circle.f90

Set up a half circle shape centered at the 0,0,0 with a radius of 1

Read more…
shape_half_ring_2d shape_half_ring_2d.f90

Set up a half ring shape centered at 0,0,0 with inner radius 1 and outer radius 2.

Read more…
shape_half_ring_3d shape_half_ring_3d.f90

Set up a half ring centered at 0,0,0 with inner radius 1, outer radius 2, and length 1.

Read more…
shape_hexahedron shape_hexahedron.f90

Set up a hexahedron shape with dimensions L = [2.0, 4.0, 8.0] and a specified number of control points nc = [4, 6, 8]. The weights of the control points (Wc) are optional.

Read more…
shape_ring_2d shape_ring_2d.f90

Set up a ring shape with inner radius 1.0 and outer radius 2.0.

Read more…
shape_ring_3d shape_ring_3d.f90

Set up a ring shape centered at 0,0,0 with inner radius 1, outer radius 2, and length 1.

Read more…
shape_tetragon shape_tetragon.f90

Set a tetragon with lengths of 2.0 and 3.0 and 3 and 4 control points in each direction The weights of the control points (Wc) are optional.

Read more…