Main > Free Download Search >

Free autocad 2d drawings software for linux

autocad 2d drawings

Sponsored Links
Sponsored Links
Secleted [ 0 ] software to compare
Results 1 - 15 of about 582
CAD::Drawing 0.26

CAD::Drawing 0.26


CAD::Drawing is a Perl module with methods to create, load, and save vector graphics. more>>
CAD::Drawing is a Perl module with methods to create, load, and save vector graphics.

SYNOPSIS

The primary intention of this module is to provide high-level operations for creating, loading, saving and manipulating vector graphics without having to be overly concerned about smile floormats. As the code has seen more use, it has also drifted into a general purpose geometry API.

The syntax of this works something like the following:

A simple example of a (slightly misbehaved) file converter:

use CAD::Drawing;
$drw = CAD::Drawing->new;
$drw->load("file.dwg");
my %opts = (
layer => "smudge",
height => 5,
);
$drw->addtext([10, 2, 5], "Kilroy was here", %opts);
$drw->save("file.ps");

This is a very basic example, and will barely scratch the surface of this modules capabilities. See the details for each function below and in the documentation for the backend modules.

<<less
Download (0.039MB)
Added: 2007-04-24 License: Perl Artistic License Price:
925 downloads
CAD::Drawing::IO 0.26

CAD::Drawing::IO 0.26


CAD::Drawing::IO are I/O methods for the CAD::Drawing module. more>>
CAD::Drawing::IO are I/O methods for the CAD::Drawing module.

This module provides the load() and save() functions for CAD::Drawing and provides a point of flow-control to deal with the inheritance and other trickiness of having multiple formats handled through a single module.

Utility Functions

These are simply inherited by the CAD::Drawing module for your direct usage.
outloop

Crazy new experimental output method. Each entity supported by the format should have a key to a function in %functions, which is expected to accept the following input data:

$functions{$ent_type}->($obj, %data);

The %data hash is passed verbatim to each function.

$count = $drw->outloop(%functions, %data);

In addition to each of the $ent_type keys, functions for the keys before and after may also be defined. These (if they are defined) will be called before and after each entity, with the same arguments as the $ent_type functions.

is_persistent

Returns 1 if $filename points to a persistent (directory / db) drawing.

$drw->is_persistent($filename);

<<less
Download (0.039MB)
Added: 2006-10-25 License: Perl Artistic License Price:
1096 downloads
CAD::Drawing::IO::Split 0.26

CAD::Drawing::IO::Split 0.26


CAD::Drawing::IO::Split is a Perl module that allows fast distributed text file methods. more>>
CAD::Drawing::IO::Split is a Perl module that allows fast distributed text file methods.

Requisite Plug-in Functions

See CAD::Drawing::IO for a description of the plug-in architecture.

check_type

Returns true if $type is "split" or $filename is a directory (need a tag?)

$fact = check_type($filename, $type);

Load/Save Methods

Concept here is to strip data down to the absolute bare minumum in an effort to find a generic and extensible incarnation of same.

save

Saves data into $toplevel_directory under a directory for each layer, each type, and a file for each id.

save($drw, $toplevel_directory, %options);

Requires that the directory already exists.

Selective saves not yet supported.

Unfortunately, the file-formats are rather primitive and the code needs refactoring. These are nowhere near stable, so dont expect version compatibility yet!

Needs a clear_all_like => $regex option.

load

load($drw, $toplevel_directory, %options);
%options may include selective-load arguments

Naming Functions

_dir_list
@list = _dir_list($dir);
_sp_filename

Creates nested directories which are required to save %obj and returns the filename which should be saved into.

_sp_filename(%obj, %data);

Inherited Methods

clear_dir

Removes layers (and items) from the split directory $dir.
Defaults to removing all.

$drw->clear_dir($dir, %options);

Available options:

like => qr/regex/, # if regex matches layer name
not_like => qr/regex/, # negative of above (compounded)

check_select() options:

%options is passed through CAD::Drawing::Defined::check_select(), so the selections returned by it will be utilized here.

select_layers => @layer_list,
select_types => @types_list,

Returns the number of items removed or undef() if $dir does not exist.

<<less
Download (0.039MB)
Added: 2007-03-16 License: Perl Artistic License Price:
952 downloads
CAD::Drawing::IO::PgDB 0.03

CAD::Drawing::IO::PgDB 0.03


CAD::Drawing::IO::PgDB is a Perl module with PostgreSQL save / load methods. more>>
CAD::Drawing::IO::PgDB is a Perl module with PostgreSQL save / load methods.

This module is considered pre-ALPHA and under-documented. Its use is strongly discouraged except under experimental conditions. Particularly susceptible to change will be the table structure of the database, which currently does not yet even have any auto-create method.

Requisite Plug-in Functions

See CAD::Drawing::IO for a description of the plug-in architecture.

check_type

Returns true if $type is "circ" or $filename is a directory containing a ".circ" file.

$fact = check_type($filename, $type);

Back-End Input and output methods

The functions load() and save() are responsible for determining the filetype (with forced types available via $opt->{type}.) These then call the appropriate load< thing > or save< thing > functions.

load

Loads a CAD::Drawing object from an SQL database. $spec should be of the form required by the database driver.
$opts->{auth} = ["username", "password"] may be required to create a connection.

$drw->load($spec, $opts);

save

$drw->save($spec, $opts);

cleardb

Deletes the drawing and all of its entities from the database.

$drw->cleardb();

Internals

parse_options

Allows options to come in through the $spec or %opts.

%options = parse_options($spec, %opts);

sort_addr

Sorts through @addr_list and returns a hash of array references for each entity type.

%these = sort_addr($layer, @addr_list);

<<less
Download (0.008MB)
Added: 2007-03-17 License: GPL (GNU General Public License) Price:
952 downloads
CAD::Drawing::IO::Image 0.02

CAD::Drawing::IO::Image 0.02


CAD::Drawing::IO::Image is a Perl module with output methods for images. more>>
CAD::Drawing::IO::Image is a Perl module with output methods for images.

Requisite Plug-in Functions

See CAD::Drawing::IO for a description of the plug-in architecture.

check_type

Returns true if $type is "img" or $filename matches one of the ImageMagick type extensions.

$fact = check_type($filename, $type);

Methods

load

Requires vectorization...

load();

save

save();

image_color

image_color($color, $data);

<<less
Download (0.005MB)
Added: 2007-03-17 License: Perl Artistic License Price:
952 downloads
CAD::Drawing::IO::Compressed 0.26

CAD::Drawing::IO::Compressed 0.26


CAD::Drawing::IO::Compressed is a Perl module to load and save compressed data. more>>
CAD::Drawing::IO::Compressed is a Perl module to load and save compressed data.

Requisite Plug-in Functions

See CAD::Drawing::IO for a description of the plug-in architecture.

check_type

Returns true if $type is "compressed" or $filename has a ".gz" extension (probably the best way.)

$fact = check_type($filename, $type);

Compressed I/O functions

These use File::Temp and compression modules to create a compressed version of most supported I/O types (FIXME: need a tar scheme for directory-based formats (currently unsupported))

save

$drw->save($filename, %opts);

load

$drw->load($filename, %opts);

<<less
Download (0.039MB)
Added: 2007-03-16 License: Perl Artistic License Price:
953 downloads
CAD::Drawing::IO::PostScript 0.03

CAD::Drawing::IO::PostScript 0.03


CAD::Drawing::IO::PostScript is a Perl module with PostScript output methods. more>>
CAD::Drawing::IO::PostScript is a Perl module with PostScript output methods.

I would like this module to both load and save PostScript vector graphics, but I have not yet found a suitable PostScript parsing package.

This module should be considered pre-ALPHA and untested. Some features rely on the authors hacks to PostScript::Simple, which may or may not have been incorporated into the CPAN distribution of PostScript::Simple. For bleeding-edge code, see http://ericwilhelm.homeip.net.

Requisite Plug-in Functions

See CAD::Drawing::IO for a description of the plug-in architecture.

check_type

Returns true if $type is "circ" or $filename is a directory containing a ".circ" file.

$fact = check_type($filename, $type);

Methods

load

load();

save

$drw->save($filename, %opts);

PostScript::Simple::setpscolor

PostScript::Simple::setpscolor();

<<less
Download (0.008MB)
Added: 2007-03-17 License: Perl Artistic License Price:
952 downloads
CAD::Drawing::GUI::View 0.01_01

CAD::Drawing::GUI::View 0.01_01


CAD::Drawing::GUI::View are 2D graphics for CAD built on Tk::Zinc. more>>
CAD::Drawing::GUI::View are 2D graphics for CAD built on Tk::Zinc.

This module provides methods to turn a CAD::Drawing object into a Zinc canvas.

Overridden Methods

These make me behave like a Tk widget.

ClassInit

$view->ClassInit();

InitObject

$view->InitObject();

configure

$view->configure(%args);

args_filter

Filters configure arguments and adds non-tk args to our private data.

%args = $view->args_filter(%args);

<<less
Download (0.011MB)
Added: 2006-10-25 License: Perl Artistic License Price:
1094 downloads
File::Drawing 0.01

File::Drawing 0.01


File::Drawing release, revise and retrieve contents to/from a drawing program module. more>>
File::Drawing release, revise and retrieve contents to/from a drawing program module.

SYNOPSIS

##########
# Subroutine interface
#
use File::Drawing qw(
dod_date dod_drawing_number number2pm pm2number obsolete
broken backup);

$date = dod_date($sec, $min, $hour, $day, $month, $year);
$drawing_number = dod_drawing_number( );

$pm = number2pm($drawing_number, $repository);
$drawing_number = pm2number($drawing_number, $repository);

$old_value = config( $option );
$old_value = config( $option => $new_value);
(@all_options) = config( );

obsolete($drawing_number, $repository);
broken($drawing_number, $repository);
($file, $backup_file) = backup($drawing_number, $repository, $dir);

######
# Class Interface
#
use File::Drawing;

$default_options = defaults(@options);

$old_value = $default_options->config( $option );
$old_value = $default_options->config( $option => $new_value);
(@all_options) = $default_options->config( );

$drawing = new File::Drawing($contents, $white_tape, $pod, $file_contents, $drawing_number, $repository);

$drawing = File::Drawing->retrieve($drawing_number, @options);

$error = $drawing->release(@options);

$error = $drawing->revise(@options);

$date = $drawing->dod_date($sec, $min, $hour, $day, $month, $year);
$drawing_number = $$drawing->dod_drawing_number( );

$pm = $drawing->number2pm($drawing_number, $repository);
$drawing_number = $drawing->pm2number($drawing_number, $repository);

$drawing->obsolete($drawing_number, $repository);
$drawing->broken($drawing_number, $repository);
($file, $backup_file) = $drawing->backup($drawing_number, $repository, $dir);

Generally, if a subroutine will process a list of options, @options, that subroutine will also process an array reference, @options, [@options], or hash reference, %options, {@options}. If a subroutine will process an array reference, @options, [@options], that subroutine will also process a hash reference, %options, {@options}. See the description for a subroutine for details and exceptions.

The File::Drawing program module uses American National Standards for drawings as a model for storing data. Commercial, governement and casual orgainizations have stored information over the centuries as drawings. Drawings probably evolved from the census that the Romans rulers, started back when Rome was a little frontier town. In other words, the practices of the drafting displines have evolved over time and have stood the test of time.

Any deviation must be a crystal clear advantage. Many of the practices are in place to avoid common and costly human mistakes that obviously a computerize drafting system will not make. A good approach is to make the computerized data structure optimum for computers and have the computer render the computerized data into a form that meets the drafting standards.

The File::Drawing program module, uses the Perl program module name as a drawing repository, drawing number combination. The contents of the drawing is contained in the program module file. The < File::Drawing > program module established methods to retrieve contents from a program module drawing file, create an Perl drawing object with the contents, and methods to release and revise the contents in a program module drawing file from a Perl drawing object. Other popular methods for computerize date are the SQL and XML. Perl has a wide range of program modules using these approach.

In this time in history, the Drawings are highly standardize and even subject to Internationl standarization agreements. The Drawing Sheet Size and Format conform to ANSI Y14.1-1975 or its successor. The drawing has a box with zone numbers running right to left alon the top and bottom, and zone letters running bottom to top along the sides. There is a section inside the box, lower right corner with the blocks for such things as the title, drawing number, current revision, authoriztion, and sheet number. There is an expandable four column table in the top right corner to record the revision history.

<<less
Download (0.063MB)
Added: 2006-06-22 License: Perl Artistic License Price:
1219 downloads
CAD::Drawing::Manipulate::Transform 0.26

CAD::Drawing::Manipulate::Transform 0.26


CAD::Drawing::Manipulate::Transform is a Perl module with Matrix methods for CAD::Drawing. more>>
CAD::Drawing::Manipulate::Transform is a Perl module with Matrix methods for CAD::Drawing.

Provides 3D transformation methods (based on traditional matrix algorithms) for Drawing.pm objects.

Coordinate System

All of these methods assume a RIGHT-HANDED coordinate system. If you are using a left-handed coordinate system, you are going to have trouble, trouble, trouble. We arent making video games here!

<<less
Download (0.039MB)
Added: 2007-03-16 License: GPL (GNU General Public License) Price:
953 downloads
Eclipse 2D Game Engine 1.0

Eclipse 2D Game Engine 1.0


Eclipse 2D Game Engine provides bitmap fonts, window management, audio capabilities, image loading, error logging, and zip file. more>>
Eclipse is a set of C++ classes designed to give beginner developers a head start in developing their first games as well as more experienced developers who dont want to have to write code for mundane tasks like fonts, sprites, and image loading.

Eclipse 2D Game Engine provides bitmap fonts, window management, audio capabilities, image loading, error logging, and zip file support.
<<less
Download (0.38MB)
Added: 2006-08-24 License: GPL (GNU General Public License) Price:
1166 downloads
OpenSched xml.0.2 (Experimental)

OpenSched xml.0.2 (Experimental)


Opensched is a tool for project management. more>>
Opensched is a tool for project management. OpenSched takes as input a file describing the project and generates the following:
Textural descriptions of the generated project plan.
Gantt charts.
Network diagrams.
The textural description can be generated in one or more of raw text, HTML, and TeX formats. The Gantt charts and network diagrams are generated directly as EPS drawings. The package contains routines to convert these to GIFs and PNGs.
Enhancements:
- The monthly_* commands have been replaced with XSL transformations.
<<less
Download (0.16MB)
Added: 2006-11-02 License: GPL (GNU General Public License) Price:
1086 downloads
Toy Cars 0.3.3a

Toy Cars 0.3.3a


Toy Cars is a physics-based 2D racing game for Linux. more>>
Toy Cars is a physics-based 2D racing game for Linux. The graphics and the interface use SDL and OpenGL.

Toy Cars is partly inspired by Micromachines and partly by the old Atari ST game called Jupiters Masterdrive.

<<less
Download (3.2MB)
Added: 2007-05-07 License: GPL (GNU General Public License) Price:
910 downloads
ZDraw

ZDraw


ZDraw is a fairly basic drawing applet used to demonstrate the concept of persistence in a drawing applet. more>>
ZDraw is a fairly basic drawing applet used to demonstrate the concept of persistence in a drawing applet. What do I mean by persistence? Well, take most of the "demo" drawing applets available on the net. If you put the applet into the background, resize it, or partially/fully cover it with another window, then the "hidden" portion of the applet loses any drawings that were made.

A simple (and rudimentary) solution to this can be easily implemented using a Vector and creating a new object class LineObject within which we can store the start and end points of each line, together with its colour. Then, when we can override public void paint( Graphics g ) and insert some code that iterates through each element of the vector, repainting each line segment. This way, everytime the applet redraws itself, all of the lines will be repainted, and thus will not be lost!

<<less
Download (0.003MB)
Added: 2007-03-12 License: GPL (GNU General Public License) Price:
956 downloads
CamSketchpad dev 1

CamSketchpad dev 1


CamSketchpad is a 2D drawing / CAD program with support for geometrical constraints. more>>
CamSketchpad is a modern recreation of Ivan Sutherlands seminal Sketchpad program. CamSketchpad is a 2D drawing / CAD program with support for geometrical constraints and the inclusion of instances referencing other drawings.
It was written as a group project for the Cambridge University computer science undergraduate course by a team of seven people: Tom Botterill, Matthew Brown, Tom Craig, Easlyn Kirupairajah, Amit Sarna, Andrew Smee and myself.
Most of my work was on the constraint satisfaction algorithm, which took perhaps 200 hours of staring at error gradient maps, and imbued me with an enormous respect for Sutherland, whose version of Sketchpad performed as well on 60s hardware as ours does on modern computers.
CamSketchpad is far from being as complete and efficient as the original Sketchpad, but it does have all the necessary components in a rudimentary form, and is finished enough to be usable. So weve decided to release it as open source under the BSD licence, so we or others are free to tinker with it and improve its algorithms and user interface.
Main features:
- Support for containing instances of other drawings in your drawings. Unlike copies, instances will change when the original drawing changes.
- Highlighting system for displaying what will be selected / snapped to / merged / created when you click.
- Very simple interface for creating new constraints - just write a function telling CamSketchpad how far away it is from satisfying the constraint. (So when the function returns 0, the constraint is entirely satisfied.)
<<less
Download (0.84MB)
Added: 2007-06-06 License: BSD License Price:
905 downloads
Secleted [ 0 ] software to compare
  • Page: 1 of 5
  • 1
  • 2
  • 3
  • 4
  • 5