# JOSM/Plugins/CADTools

**·**Afrikaans

**·**Alemannisch

**·**aragonés

**·**asturianu

**·**azərbaycanca

**·**Bahasa Indonesia

**·**Bahasa Melayu

**·**Bân-lâm-gú

**·**Basa Jawa

**·**Basa Sunda

**·**Baso Minangkabau

**·**bosanski

**·**brezhoneg

**·**català

**·**čeština

**·**corsu

**·**dansk

**·**Deutsch

**·**eesti

**·**

**English**

**·**español

**·**Esperanto

**·**estremeñu

**·**euskara

**·**français

**·**Frysk

**·**Gaeilge

**·**Gàidhlig

**·**galego

**·**Hausa

**·**hrvatski

**·**Igbo

**·**interlingua

**·**Interlingue

**·**isiXhosa

**·**isiZulu

**·**íslenska

**·**italiano

**·**Kiswahili

**·**Kreyòl ayisyen

**·**kréyòl gwadloupéyen

**·**Kurdî

**·**latviešu

**·**Lëtzebuergesch

**·**lietuvių

**·**magyar

**·**Malagasy

**·**Malti

**·**Nederlands

**·**Nedersaksies

**·**norsk bokmål

**·**norsk nynorsk

**·**occitan

**·**Oromoo

**·**oʻzbekcha/ўзбекча

**·**Plattdüütsch

**·**polski

**·**português

**·**română

**·**shqip

**·**slovenčina

**·**slovenščina

**·**Soomaaliga

**·**suomi

**·**svenska

**·**Tiếng Việt

**·**Türkçe

**·**Vahcuengh

**·**vèneto

**·**Wolof

**·**Yorùbá

**·**Zazaki

**·**српски / srpski

**·**беларуская

**·**български

**·**қазақша

**·**македонски

**·**монгол

**·**русский

**·**тоҷикӣ

**·**українська

**·**Ελληνικά

**·**Հայերեն

**·**ქართული

**·**नेपाली

**·**मराठी

**·**हिन्दी

**·**भोजपुरी

**·**অসমীয়া

**·**বাংলা

**·**ਪੰਜਾਬੀ

**·**ગુજરાતી

**·**ଓଡ଼ିଆ

**·**தமிழ்

**·**తెలుగు

**·**ಕನ್ನಡ

**·**മലയാളം

**·**සිංහල

**·**བོད་ཡིག

**·**ไทย

**·**မြန်မာဘာသာ

**·**ລາວ

**·**ភាសាខ្មែរ

**·**ⵜⴰⵎⴰⵣⵉⵖⵜ ⵜⴰⵏⴰⵡⴰⵢⵜ

**·**አማርኛ

**·**한국어

**·**日本語

**·**中文（简体）

**·**中文（繁體）

**·**吴语

**·**粵語

**·**ייִדיש

**·**עברית

**·**اردو

**·**العربية

**·**پښتو

**·**سنڌي

**·**فارسی

**·**ދިވެހިބަސް

## Contents

### Introduction

CAD Tools plugin allows the user to make CAD-like edits of map elements.

- Note: User interface is recently modified. We ask for feedback.

### Summary

CAD Tools is a tool group with recently 8 different tools. This plug in was developed with 6 functions as a diploma thesis (paid by the company Elektrobit Automotive) of Anamaria Rotariu and supervision from Marek Strassenburg-Kleciak. Recently version with new tools is developed by user Cetusek from Poland.

### Description

- Plugin Building generalization
- From irregular polygon to regular polygon - redraws the selected shape so it looks like a polygon .
- Straight way - makes straight the way between two selected points.
- ' Cut ' corners: edit the corners of a building .
- From polygon to circle: generation of polygon from 3 given points (points that lie on the circle).
- From polygon to - generation of regular ellipse consisting of 4 x n edges.
- Mirror reflection: generates a mirrored copy of activated polygon.
- Multiply circular: generates n-copies of a polygon around a circle.

### Download

https://github.com/ROTARIUANAMARIA/CADTools/raw/master/CADTools.jar

### Functions

#### From irregular polygon to regular polygon

- First of all, the user has to select as many closed ways as he wants,and after that he can press the specific button.As a result,those buildings are converted to regular polygons.

#### Make closed polygon (mostly building=yes) straight

- First of all, the user has to select two nodes from one closed way (building), and after that he can press the specific button.As a result, the segments between these two points are deleted.

**Note**: all angles smaller than 85° and bigger than 95° remain unchanged. These values can be changed in preferences.

#### 'Cut' corners

- First of all, the user has to select as many closed ways as he wants, and after that he can press the specific button. As a result, the corners of those objects (mostly building=yes) are changed (cutted).

Note: the user may specify the value (radius) for cutting. Reason for this function: More precisely drawing of objects (mostly buildings) with cutted with 45° corners.

There are two ways of cutting:

- Percentage of the wall lenght
- Absolutely lenght of the wall which should be cutted.

Both functions allows cutting with rounding of cutted corners (comes soon)

#### From circle to regular polygon with defined nr.of corners

- First of all, the user has to select exactly three points that are representative for an imaginary circle (these points must not be connected) - the imaginary circle will pass through these points. After that, he can press the specific button and he has to write into the "No. of segments text box" the number of edges for the resulting polygon.

#### From polygon to ellipse

- The first way the user can do this is to select exactly three points - the last selected point always has to be the center of the ellipse. After that,the user can press the specific button and he has to write into the "No. of segments text box" the number of edges for the resulting polygon. The final polygon will have 4 * no. of edges segments.
- The second way the user can achieve this, is to select one rectangle (or many rectangles). After that,the user can press the specific button and he has to write into the "No. of segments text box" the number of edges for the resulting polygon. The final polygon will have 4 * no. of edges segments.

#### Mirror copy

Activate polygon with minimum 3 points. Klick the button "mirror copy".