Skip to content

An application to create 2D geometry. A flexible user-friendly application to create 2D objects (points, curves and surfaces).

License

Notifications You must be signed in to change notification settings

Samson-Mano/Draw2D_geometry

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

VARAI2D

Varai2D is a powerful windows application to create 2D geometry. The main objective of this application is to allow user to create 2D domains which can be easily imported to mesh generation or other FE softwares.

Varai2D Working

Plate with slits

Dam cross-section

Circular plate with 3holes

Varai2D Menu option

Status: In progress

How to use

The attached how_to_use_varai2d.pdf gives a very detailed information on how to use this software.

Features

Main graphics features are

  • Zoom (ctrl + scroll)
  • Pan (ctrl + right click and drag)
  • Scale to fit drawing area (Ctrl + F)

Drawing objects

  • AddLine (2 Left click or keyboard input)
  • Add Circular arc (3 Left clicks or keyboard input)
  • Add Bezier curve (3pts, 4pts or 5pts Bezier curve)

Modify objects

  • Delete objects
  • Translate objects
  • Rotate objects
  • Reflect (mirror) objects
  • Intersect objects (intersect any 2 objects)
  • Split objects (split based on parameter t)
  • Undo (Ctrl + Z)
  • Redo (Ctrl + R)

Other features

  • Create/ Delete surface (automatically identify surfaces based on non-self intersecting closed boundaries)
  • Options (Enable user to control the graphics, snapping & other options of the software)

Export option

  • Raw text export (*.TXT)
  • Save as Picture file (*.PNG)
  • Varai Object export (*.2DS)
  • Autocad format (*.DWG, *.DXF)
  • CALS compliant Metafile (*.CGM)
  • Drawing Web Format (*.DWF)
  • Solid Edge 2D (*.DFT)
  • Unigraphics 2D (*.PRT)

Solution Structure

Varai2D Solution

Future work

Integrate the graphics into Modern OpenGL v3.3+ from the current GDI+.