Download Shareware and Freeware Software for Windows, Linux, Macintosh, PDA

line Home  |  About Us  |  Link To Us  |  FAQ  |  Contact

Serving Software Downloads in 956 Categories, Downloaded 50.277.499 Times

CAD::Drawing::Manipulate 0.26

  Date Added: September 22, 2010  |  Visits: 1.614

CAD::Drawing::Manipulate

Report Broken Link
Printer Friendly Version


Product Homepage
Download (123 downloads)



CAD::Drawing::Manipulate is a Perl module to manipulate CAD::Drawing objects. Move, Copy, Scale, Mirror, and Rotate methods for single entities and groups of entities. Group Methods These methods are called with required values, followed by a hash reference of option values. Note the difference between this and the individual entity manipulation syntax shown below. The absence of an %options hash reference implies everything in the drawing. For details about each of the group manipulation methods, see the corresponding individual entity manipulation method. Options The $opts value shown for each of the group manipulation methods is fed directly to CAD::Drawing::select_addr(). See the documentation for this function for additional details. One of the most common methods of selection (after the implicit all) may be the explicit list of addresses. This is done by simply passing an array reference rather than a hash reference. GroupMove Move selected entities by @dist. $drw->GroupMove(@dist, $opts); GroupCopy Returns a list of addresses for newly created entities. @new = $drw->GroupCopy(@dist, $opts); GroupClone Returns a list of addresses for newly created entities. @new = $drw->GroupClone($dest, $opts); place Clones items from $source into $drw and moves them to @pt. Selects items according to %opts and optionally rotates them by $opts{ang} (given in radians.) $drw->place($source, @pt, %opts); GroupMirror Mirrors the entities specified by %options (see select_addr()) across @axis. @new = $drw->GroupMirror(@axis, %options); GroupScale Sorry, @pt is required here. $drw->GroupScale($factor, @pt, %opts); GroupRotate Rotates specified entities by $angle. A center point may be specified via $opts{pt} = @pt. $drw->GroupRotate($angle, %opts); Individual Methods Move Moves entity at $addr by @dist (@dist may be three-dimensional.) $drw->Move($addr, @dist); Copy $drw->Copy($addr, @dist); Clone Clones the entity at $addr into drawing $dest. $drw->Clone($addr, $dest, %opts); %opts may contain: to_layer => $layer_name, # layer to clone into Mirror Mirrors entity specified by $addr across @axis. Returns the address of the manipulated entity. If $opts{copy} is true, will clone the entity, otherwise modify in-place. $drw->Mirror($addr, @axis, %opts); Scale $drw->Scale($addr, $factor, @pt); Rotate Rotates entity specified by $addr by $angle (+ccw radians) about @pt. Angle may be in degrees if $angle =~ s/d$// returns a true value (but I hope the "d" is the only thing on the end, because Im not looking for anything beyond that.) $angle = "45" . "d" will get converted, but $angle = "45" . "bad" will be called 0. Remember, this is Perl:) $drw->Rotate($addr, $angle, @pt); Internal Functions pointrotate Internal use only. ($x, $y) = pointrotate($x, $y, $ang, $xc, $yc); pointmirror @point = pointmirror($axis, $pt); angle_of angle_of(@segment); Polygon Methods These dont do anything yet and need to be moved to another module anyway. CutPline $drw->CutPline(); IntPline $drw->IntPline(); intersect_pgon intersect_pgon();.

Requirements: No special requirements
Platforms: Linux
Keyword: Angle Cad Caddrawingmanipulate Entities Entity Libraries May Be Methods Opts Perl Module Programming Pt
Users rating: 0/10

License: Freeware Size: 39.94 KB
USER REVIEWS
More Reviews or Write Review


CAD::DRAWING::MANIPULATE RELATED
Libraries  -  CAD::Drawing::IO::Tk 0.04
CAD::Drawing::IO::Tk is a Perl module with GUI I/O methods for CAD::Drawing. This module is considered extremely pre-ALPHA and its use is probably deprecated by the time you read this. Methods There is no constructor for this class, its...
8.19 KB  
Libraries  -  CAD::Drawing::Manipulate::Transform 0.26
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...
39.94 KB  
Libraries  -  PDL::Parallel::MPI 0.02
PDL::Parallel::MPI Perl module contains routines to allow PDL objects to be moved around on parallel systems using the MPI library. SYNOPSIS use PDL; use PDL::Parallel::MPI; mpirun(2); MPI_Init(); $rank = get_rank(); $a=$rank * ones(2);...
133.12 KB  
Libraries  -  CAD::Drawing::IO::PgDB 0.03
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...
8.19 KB  
Modules  -  Entity API 7.x-1.0-rc1
This project holds entity related APIs. * Entity CRUD API - Simplifies creating new entity types. Provides full CRUD functionality for new entity types. It offers an optional Entity class providing basic methods like save() and delete() as well as...
61.44 KB  
Libraries  -  CAD::Drawing::IO::PostScript 0.03
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...
8.19 KB  
Libraries  -  CAD::Drawing::IO::Split 0.26
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...
39.94 KB  
Libraries  -  HTML::Entities::Numbered 0.04
HTML::Entities::Numbered is a Perl module for conversion of numbered HTML entities. SYNOPSIS use HTML::Entities::Numbered; $html = Hi Honey♥; # convert named HTML entities to numbered (decimal) $decimal = name2decimal($html); # Hi...
8 MB  
Libraries  -  CAD::Drawing 0.26
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...
39.94 KB  
Programming  -  Useful Java Application Components 0.9.25
UJAC provides a collection of JAVA components which may be useful in some projects. Each component is designed for easy use, easy integration into existing projects, extensibility and last but not least efficiency. Whats New in This Release:...
4.1 MB  
NEW DOWNLOADS IN PROGRAMMING, LIBRARIES
Programming  -  Cedalion for Linux 0.2.6
Cedalion is a programming language that allows its users to add new abstractions and define (and use) internal DSLs. Its innovation is in the fact that it uses projectional editing to allow the new abstractions to have no syntactic limitations.
471.04 KB  
Programming  -  Math::GMPf 0.29
Math::GMPf - perl interface to the GMP library's floating point (mpf) functions.
30.72 KB  
Programming  -  Net::Wire10 1.08
Net::Wire10 is a Pure Perl connector that talks to Sphinx, MySQL and Drizzle servers. Net::Wire10 implements the low-level network protocol, alias the MySQL wire protocol version 10, necessary for talking to one of the aforementioned...
30.72 KB  
Programming  -  logilab-common 0.56.2
a bunch of modules providing low level functionnalities shared among some python projects devel Please note that some of the modules have some extra dependencies. For instance, logilab.common.db will require a db-api 2.0 compliant...
174.08 KB  
Programming  -  OpenSSL for linux 1.0.0a
The OpenSSL Project is a collaborative effort to develop a robust, commercial-grade, full-featured, and Open Source toolkit implementing the Secure Sockets Layer (SSL v2/v3) and Transport Layer Security (TLS v1) protocols as well as a...
3.83 MB  
Libraries  -  wolfSSL 4.0.0
The wolfSSL embedded SSL/TLS library is a lightweight SSL library written in ANSI standard C and targeted for embedded and RTOS environments - primarily because of its small size, speed, and feature set. It is commonly used in standard operating...
3.88 MB  
Libraries  -  EuGTK 4.8.9
Makes it easy to develop good- looking, fast, cross-platform programs that run on Linux, OS X, and Windows. Euphoria is a very fast interpreted/compiled language with straight-forward syntax. EuGTK allows programming in a clean, object-oriented...
10.68 MB  
Libraries  -  Linux User Group Library Manager 1.0
The LUG Library Manager is a project to help Linux User Groups start their own library. A LUG library is helpful to the community at large because it increases access to information, and gives everyone the opportunity to become more knowledgeable.
5.35 KB  
Libraries  -  Module::MakefilePL::Parse 0.12
Module::MakefilePL::Parse is a Perl module to parse required modules from Makefile.PL. SYNOPSIS use Module::MakefilePL::Parse; open $fh, Makefile.PL; $parser = Module::MakefilePL::Parse->new( join("", ) ); $info = $parser->required;...
8.19 KB  
Libraries  -  sqlpp 0.06
sqlpp Perl package is a SQL preprocessor. sqlpp is a conventional cpp-alike preprocessor taught to understand SQL ( PgSQL, in particular) syntax specificities. In addition to the standard #define/#ifdef/#else/#endif cohort, provides also...
10.24 KB