Ch. 1 Manufacturing Introduction : Manufacturing


Visual Basic 2010 (VB 10.0):-



Download 16.54 Mb.
Page22/34
Date05.05.2018
Size16.54 Mb.
#48294
1   ...   18   19   20   21   22   23   24   25   ...   34

Visual Basic 2010 (VB 10.0):-


In April 2010, Microsoft released Visual Basic 2010. Microsoft had planned to use the Dynamic Language Runtime (DLR) for that release but shifted to a co-evolution strategy between Visual Basic and sister language C# to bring both languages into closer parity with one another. Visual Basic's innate ability to interact dynamically with CLR and COM objects has been enhanced to work with dynamic languages built on the DLR such as Iron Python and Iron Ruby. The Visual Basic compiler was improved to infer line continuation in a set of common contexts, in many cases removing the need for the "_" line continuation character. Also, existing support of inline Functions was complemented with support for inline Subs as well as multi-line versions of both Sub and Function lambdas.

C . Sharp

C# (pronounced see sharp) is a multi-paradigm programming language encompassing strong typing, imperative, declarative,functional, generic, object-oriented (class-based), and component-oriented programming disciplines.

The ECMA standard lists these design goals for C#:

  • The C# language is intended to be a simple, modern, general-purpose, object-oriented programming language.

  • The language, and implementations thereof, should provide support for software engineering principles such as strong type checking, array bounds checking, detection of attempts to use uninitialized variables, and automatic garbage collection. Software robustness, durability, and programmer productivity are important.

  • The language is intended for use in developing software components suitable for deployment in distributed environments.

  • Source code portability is very important, as is programmer portability, especially for those programmers already familiar with C and C++.

  • Support for internationalization is very important.

  • C# is intended to be suitable for writing applications for both hosted and embedded systems, ranging from the very large that use sophisticated operating systems, down to the very small having dedicated functions.

  • Although C# applications are intended to be economical with regard to memory and processing power requirements, the language was not intended to compete directly on performance and size with C or assembly language.

DXF File:-

AutoCAD DXF (Drawing Interchange Format, or Drawing Exchange Format) is a CAD data file format developed by Autodesk[1] for enabling data interoperability between AutoCAD and other programs

File structure:-

. The basic organization of a DXF file is as follows:

  • HEADER section – General information about the drawing. Each parameter has a variable name and an associated value.

  • CLASSES section – Holds the information for application-defined classes whose instances appear in the BLOCKS, ENTITIES, and OBJECTS sections of the database. Generally does not provide sufficient information to allow interoperability with other programs.

  • TABLES section – This section contains definitions of named items.

Application ID (APPID) table

Block Record (BLOCK_RECORD) table

Dimension Style (DIMSTYPE) table

Layer (LAYER) table

Linetype (LTYPE) table

Text style (STYLE) table

User Coordinate System (UCS) table

View (VIEW) table



Viewport configuration (VPORT) table

  • BLOCKS section – This section contains Block Definition entities describing the entities comprising each Block in the drawing.

  • ENTITIES section – This section contains the drawing entities, including any Block References.

  • OBJECTS section – Contains the data that apply to non graphical objects, used by Auto LISP and Object ARX applications.

  • THUMBNAILIMAGE section – Contains the preview image for the DXF file.

  • END OF FILE

Ch.3

Project: CAD

Milling

How we can use it?

1- select milled part

2- it will show the main menu

3- select file> draw new part

4- choose "draw your own design in 2D"

5- it will show milling operation




Download 16.54 Mb.

Share with your friends:
1   ...   18   19   20   21   22   23   24   25   ...   34




The database is protected by copyright ©ininet.org 2024
send message

    Main page