Skip to content

An opensource 2D Computer Assisted Drawing application written in C#

Notifications You must be signed in to change notification settings

unitedsoftwork/OpenCadNet

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

OpenCadNet

An opensource 2D Computer Assisted Drawing application/ component written in C#

This application is being transfered from a very old Code Project application (https://www.codeproject.com/Articles/22549/OpenS-CAD-a-simple-2D-CAD-application) in order to keep development alive and organsized.

This application supports import directly from .dxf files using the NetDxf library. Rather than forcing this appliation to be used in it's entirity, the goal is to allow the DocumentForm component to be used in other .net programs that require dxf viewing/ modification.

Supported Entities:

Entity Progress
Line Complete
Arc Complete
Text Complete
Mtext In Progress
Solid Complete
Insert Complete

Example Usage For Imbedding DocumentForm using a NetDxf instance.

public void ShowDrawing(DxfDocument drawing)
{
    this.df = new Canvas.DocumentForm(drawing)
    {
        TopLevel = false,
        FormBorderStyle = FormBorderStyle.None
    };
    this.Panel1.Controls.Add(df);
    this.df.Dock = DockStyle.Fill;
    this.df.Show();
}

Short Term Goals:

  • Use NetDxf as the internal database for each entitiy type. (currently OpenCadNet transaltes the NetDxf objects into a class contained within OpenCadNet)
  • Fix zoom to point in canvas.cs

Example of use as a .net component. image

About

An opensource 2D Computer Assisted Drawing application written in C#

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published