[JPP-Devel] OpenJUMP and CAD tools

2015-01-20 Thread Rahkonen Jukka (MML)
Hi,

I was searching tools for making some CAD alike drawing and studied what we 
have. I found:

1.   Some of the Python tools in the standard delivery has CAD-alike 
features (rotated rectangle, Arc tool).

2.   Peppe has made a CAD tools plugin that adds some CAD tools into the 
default digitizing box.

3.   Kosmo GIS has a special CAD toolbox with about 15 tools.

Quick comments:


1.   Python tools feels somehow like a promising way for writing new 
drawing tools. The Python part of the tools look almost understandable for 
non-programmer and I suppose that Python is the most common geospatial 
scripting language at the moment. However, if I understand right for creating 
new tools Python is not enough but also some java programming is needed. By the 
way, the Road Arc tools does not work with latest snapshots and it makes so bad 
a jam that only killing the process helps. The error from the console window:

Exception in thread "AWT-EventQueue-0" Traceback (innermost last):
  File 
"C:\oj_test\OJ_18\OpenJUMP-20150116-r4270-PLUS\lib\ext\jython\RoadTool.py", 
line 201, in handleDeActivation
AttributeError: 'NoneType' object has no attribute 'actionPerformed'
Exception in thread "AWT-EventQueue-0" Traceback (innermost last):


2.   I would rather place the additional CAD tools to their own tool box 
because they do not behave exactly as the standard tools. Many of the OJ 
keyboard shortcuts stop working when a CAD tools is selected. On the other 
hand, the SHIFT key does not alter the behaviour of CAD tools as planned in 
most cases. The draw vertical/horizontal tool, tools for drawing closed 
linestrings and the annotation layer tool would be nice additions to OJ PLUS. 
Annotation tool might need some revisiting.

3.   Many of the Kosmo tools are fine. I wonder how difficult it would be 
to adapt some of those for OJ. For example the "Continue lines until they 
cross" tools is simple and clever and I do not remember such tool in other open 
source GIS. "Draw perpendicular" works well also with circles and Bezier curves 
but it would be nice to have a sister tool "Draw tangent".

None of these CAD tools had a tool for my need. Or perhaps the "Draw with 
commands" tool in Kosmo has but I could not discover the right syntax even I 
found the manual 
http://www.kosmoland.es/public/kosmo/v_2.0/docs/Extension_Herramienta_CAD.pdf. 
What I would like to do feels simple to me:


-  Draw a point or first vertex to coordinates x/y

-  Draw next point or vertex by angle and distance or to next given 
coordinates

I know I can workaround the manual feed of coordinates effectively by using WKT 
but not the angle + distance alternative.

-Jukka Rahkonen-
--
New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
GigeNET is offering a free month of service with a new server in Ashburn.
Choose from 2 high performing configs, both with 100TB of bandwidth.
Higher redundancy.Lower latency.Increased capacity.Completely compliant.
http://p.sf.net/sfu/gigenet___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


Re: [JPP-Devel] OpenJUMP and CAD tools

2015-01-20 Thread Giuseppe Aruta
Hi Jukka,
thanks for the comment, regarding my part, cadtools are relatively old and
they were never upgraded to new shortcuts added by Ede on OJ: they were
basically a sort of "programming java test" for me.
Recently I  started to work to  a new version, removing the tools which
have no usage, porting  some Kosmo ones and making more OJ shortcut
compatibly .
I would like to add the source to OJ repository and have in OJ Plus, as
separate plugin/toolbar
Porting Kosmo tools is not difficult, even for a newby like me. The problem
is the dependency to many classes,  some of these classes might have
equivalence to OpenJUMP one, but it is quite difficult to find them.
Best regards
Peppe

2015-01-20 13:07 GMT+01:00 Rahkonen Jukka (MML) <
jukka.rahko...@maanmittauslaitos.fi>:

>  Hi,
>
>
>
> I was searching tools for making some CAD alike drawing and studied what
> we have. I found:
>
> 1.   Some of the Python tools in the standard delivery has CAD-alike
> features (rotated rectangle, Arc tool).
>
> 2.   Peppe has made a CAD tools plugin that adds some CAD tools into
> the default digitizing box.
>
> 3.   Kosmo GIS has a special CAD toolbox with about 15 tools.
>
>
>
> Quick comments:
>
>
>
> 1.   Python tools feels somehow like a promising way for writing new
> drawing tools. The Python part of the tools look almost understandable for
> non-programmer and I suppose that Python is the most common geospatial
> scripting language at the moment. However, if I understand right for
> creating new tools Python is not enough but also some java programming is
> needed. By the way, the Road Arc tools does not work with latest snapshots
> and it makes so bad a jam that only killing the process helps. The error
> from the console window:
>
>
>
> Exception in thread "AWT-EventQueue-0" Traceback (innermost last):
>
>   File
> "C:\oj_test\OJ_18\OpenJUMP-20150116-r4270-PLUS\lib\ext\jython\RoadTool.py",
> line 201, in handleDeActivation
>
> AttributeError: 'NoneType' object has no attribute 'actionPerformed'
>
> Exception in thread "AWT-EventQueue-0" Traceback (innermost last):
>
>
>
> 2.   I would rather place the additional CAD tools to their own tool
> box because they do not behave exactly as the standard tools. Many of the
> OJ keyboard shortcuts stop working when a CAD tools is selected. On the
> other hand, the SHIFT key does not alter the behaviour of CAD tools as
> planned in most cases. The draw vertical/horizontal tool, tools for drawing
> closed linestrings and the annotation layer tool would be nice additions to
> OJ PLUS. Annotation tool might need some revisiting.
>
> 3.   Many of the Kosmo tools are fine. I wonder how difficult it
> would be to adapt some of those for OJ. For example the “Continue lines
> until they cross” tools is simple and clever and I do not remember such
> tool in other open source GIS. “Draw perpendicular” works well also with
> circles and Bezier curves but it would be nice to have a sister tool “Draw
> tangent”.
>
>
>
> None of these CAD tools had a tool for my need. Or perhaps the “Draw with
> commands” tool in Kosmo has but I could not discover the right syntax even
> I found the manual
> http://www.kosmoland.es/public/kosmo/v_2.0/docs/Extension_Herramienta_CAD.pdf.
> What I would like to do feels simple to me:
>
>
>
> -  Draw a point or first vertex to coordinates x/y
>
> -  Draw next point or vertex by angle and distance or to next
> given coordinates
>
>
>
> I know I can workaround the manual feed of coordinates effectively by
> using WKT but not the angle + distance alternative.
>
>
>
> -Jukka Rahkonen-
>
>
>
> --
> New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
> GigeNET is offering a free month of service with a new server in Ashburn.
> Choose from 2 high performing configs, both with 100TB of bandwidth.
> Higher redundancy.Lower latency.Increased capacity.Completely compliant.
> http://p.sf.net/sfu/gigenet
> ___
> Jump-pilot-devel mailing list
> Jump-pilot-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
>
>
--
New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
GigeNET is offering a free month of service with a new server in Ashburn.
Choose from 2 high performing configs, both with 100TB of bandwidth.
Higher redundancy.Lower latency.Increased capacity.Completely compliant.
http://p.sf.net/sfu/gigenet___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


Re: [JPP-Devel] OpenJUMP and CAD tools

2015-01-21 Thread Giuseppe Aruta
Hi ,
I confirm that  DrawRoadTool of Phyton plugin doens't work anymore and
blocks any drawing tools too. The only way to go out is to kill java
process. I use Ubuntu 14.04 and OpenJDK.
Peppe

2015-01-21 7:57 GMT+01:00 Giuseppe Aruta :

> Hi Jukka,
> thanks for the comment, regarding my part, cadtools are relatively old and
> they were never upgraded to new shortcuts added by Ede on OJ: they were
> basically a sort of "programming java test" for me.
> Recently I  started to work to  a new version, removing the tools which
> have no usage, porting  some Kosmo ones and making more OJ shortcut
> compatibly .
> I would like to add the source to OJ repository and have in OJ Plus, as
> separate plugin/toolbar
> Porting Kosmo tools is not difficult, even for a newby like me. The
> problem is the dependency to many classes,  some of these classes might
> have equivalence to OpenJUMP one, but it is quite difficult to find them.
> Best regards
> Peppe
>
> 2015-01-20 13:07 GMT+01:00 Rahkonen Jukka (MML) <
> jukka.rahko...@maanmittauslaitos.fi>:
>
>>  Hi,
>>
>>
>>
>> I was searching tools for making some CAD alike drawing and studied what
>> we have. I found:
>>
>> 1.   Some of the Python tools in the standard delivery has CAD-alike
>> features (rotated rectangle, Arc tool).
>>
>> 2.   Peppe has made a CAD tools plugin that adds some CAD tools into
>> the default digitizing box.
>>
>> 3.   Kosmo GIS has a special CAD toolbox with about 15 tools.
>>
>>
>>
>> Quick comments:
>>
>>
>>
>> 1.   Python tools feels somehow like a promising way for writing new
>> drawing tools. The Python part of the tools look almost understandable for
>> non-programmer and I suppose that Python is the most common geospatial
>> scripting language at the moment. However, if I understand right for
>> creating new tools Python is not enough but also some java programming is
>> needed. By the way, the Road Arc tools does not work with latest snapshots
>> and it makes so bad a jam that only killing the process helps. The error
>> from the console window:
>>
>>
>>
>> Exception in thread "AWT-EventQueue-0" Traceback (innermost last):
>>
>>   File
>> "C:\oj_test\OJ_18\OpenJUMP-20150116-r4270-PLUS\lib\ext\jython\RoadTool.py",
>> line 201, in handleDeActivation
>>
>> AttributeError: 'NoneType' object has no attribute 'actionPerformed'
>>
>> Exception in thread "AWT-EventQueue-0" Traceback (innermost last):
>>
>>
>>
>> 2.   I would rather place the additional CAD tools to their own tool
>> box because they do not behave exactly as the standard tools. Many of the
>> OJ keyboard shortcuts stop working when a CAD tools is selected. On the
>> other hand, the SHIFT key does not alter the behaviour of CAD tools as
>> planned in most cases. The draw vertical/horizontal tool, tools for drawing
>> closed linestrings and the annotation layer tool would be nice additions to
>> OJ PLUS. Annotation tool might need some revisiting.
>>
>> 3.   Many of the Kosmo tools are fine. I wonder how difficult it
>> would be to adapt some of those for OJ. For example the “Continue lines
>> until they cross” tools is simple and clever and I do not remember such
>> tool in other open source GIS. “Draw perpendicular” works well also with
>> circles and Bezier curves but it would be nice to have a sister tool “Draw
>> tangent”.
>>
>>
>>
>> None of these CAD tools had a tool for my need. Or perhaps the “Draw with
>> commands” tool in Kosmo has but I could not discover the right syntax even
>> I found the manual
>> http://www.kosmoland.es/public/kosmo/v_2.0/docs/Extension_Herramienta_CAD.pdf.
>> What I would like to do feels simple to me:
>>
>>
>>
>> -  Draw a point or first vertex to coordinates x/y
>>
>> -  Draw next point or vertex by angle and distance or to next
>> given coordinates
>>
>>
>>
>> I know I can workaround the manual feed of coordinates effectively by
>> using WKT but not the angle + distance alternative.
>>
>>
>>
>> -Jukka Rahkonen-
>>
>>
>>
>> --
>> New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
>> GigeNET is offering a free month of service with a new server in Ashburn.
>> Choose from 2 high performing configs, both with 100TB of bandwidth.
>> Higher redundancy.Lower latency.Increased capacity.Completely compliant.
>> http://p.sf.net/sfu/gigenet
>> ___
>> Jump-pilot-devel mailing list
>> Jump-pilot-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
>>
>>
>
--
New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
GigeNET is offering a free month of service with a new server in Ashburn.
Choose from 2 high performing configs, both with 100TB of bandwidth.
Higher redundancy.Lower latency.Increased capacity.Completely compliant.
http://p.sf.net/sfu/gigenet__

Re: [JPP-Devel] OpenJUMP and CAD tools

2015-01-21 Thread Larry Becker
>
> 1.   Python tools feels somehow like a promising way for writing new
> drawing tools. The Python part of the tools look almost understandable for
> non-programmer and I suppose that Python is the most common geospatial
> scripting language at the moment. *However, if I understand right for
> creating new tools Python is not enough but also some java programming is
> needed*. By the way, the Road Arc tools does not work with latest
> snapshots and it makes so bad a jam that only killing the process helps.
> The error from the console window:
>

@Jukka,  I assume you are referring to the following line from Startup.py:

#tools can be defined in java only - as in this orphaned JUMP Note tool

The comment is badly worded.  It should say #tools may also be defined in
java and activated here - as in this orphaned JUMP Note tool  There are
many examples of defining a new drawing tool in jython only.

While I don't currently have my OpenJump development platform up to date, I
did diff the SkyJUMP copies of  two attached files and bring them up to
date with the new Shift key feature of the Road Curve tool (it is maddening
to draw long straight stretch of road without it!).  If one of the
developers has a few minutes, they can see if it fixes the issue.  If it
doesn't we can comment out lines 100 through 109 in startup.py to
deactivate the Road tool.

regards,

Larry Becker

On Tue, Jan 20, 2015 at 6:07 AM, Rahkonen Jukka (MML) <
jukka.rahko...@maanmittauslaitos.fi> wrote:

>  Hi,
>
>
>
> I was searching tools for making some CAD alike drawing and studied what
> we have. I found:
>
> 1.   Some of the Python tools in the standard delivery has CAD-alike
> features (rotated rectangle, Arc tool).
>
> 2.   Peppe has made a CAD tools plugin that adds some CAD tools into
> the default digitizing box.
>
> 3.   Kosmo GIS has a special CAD toolbox with about 15 tools.
>
>
>
> Quick comments:
>
>
>
> 1.   Python tools feels somehow like a promising way for writing new
> drawing tools. The Python part of the tools look almost understandable for
> non-programmer and I suppose that Python is the most common geospatial
> scripting language at the moment. However, if I understand right for
> creating new tools Python is not enough but also some java programming is
> needed. By the way, the Road Arc tools does not work with latest snapshots
> and it makes so bad a jam that only killing the process helps. The error
> from the console window:
>
>
>
> Exception in thread "AWT-EventQueue-0" Traceback (innermost last):
>
>   File
> "C:\oj_test\OJ_18\OpenJUMP-20150116-r4270-PLUS\lib\ext\jython\RoadTool.py",
> line 201, in handleDeActivation
>
> AttributeError: 'NoneType' object has no attribute 'actionPerformed'
>
> Exception in thread "AWT-EventQueue-0" Traceback (innermost last):
>
>
>
> 2.   I would rather place the additional CAD tools to their own tool
> box because they do not behave exactly as the standard tools. Many of the
> OJ keyboard shortcuts stop working when a CAD tools is selected. On the
> other hand, the SHIFT key does not alter the behaviour of CAD tools as
> planned in most cases. The draw vertical/horizontal tool, tools for drawing
> closed linestrings and the annotation layer tool would be nice additions to
> OJ PLUS. Annotation tool might need some revisiting.
>
> 3.   Many of the Kosmo tools are fine. I wonder how difficult it
> would be to adapt some of those for OJ. For example the “Continue lines
> until they cross” tools is simple and clever and I do not remember such
> tool in other open source GIS. “Draw perpendicular” works well also with
> circles and Bezier curves but it would be nice to have a sister tool “Draw
> tangent”.
>
>
>
> None of these CAD tools had a tool for my need. Or perhaps the “Draw with
> commands” tool in Kosmo has but I could not discover the right syntax even
> I found the manual
> http://www.kosmoland.es/public/kosmo/v_2.0/docs/Extension_Herramienta_CAD.pdf.
> What I would like to do feels simple to me:
>
>
>
> -  Draw a point or first vertex to coordinates x/y
>
> -  Draw next point or vertex by angle and distance or to next
> given coordinates
>
>
>
> I know I can workaround the manual feed of coordinates effectively by
> using WKT but not the angle + distance alternative.
>
>
>
> -Jukka Rahkonen-
>
>
>
> --
> New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
> GigeNET is offering a free month of service with a new server in Ashburn.
> Choose from 2 high performing configs, both with 100TB of bandwidth.
> Higher redundancy.Lower latency.Increased capacity.Completely compliant.
> http://p.sf.net/sfu/gigenet
> ___
> Jump-pilot-devel mailing list
> Jump-pilot-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
>
>
# Copyright (C) 2005 Integrated Systems Analysts

Re: [JPP-Devel] OpenJUMP and CAD tools

2015-01-25 Thread Giuseppe Aruta
Jukka, Larry
I tried the patch that Larry sent but is seems not working with OpenJump.
At least with my machine Ubuntu/OpenJDK. It the other members of our
community agree, I vote to comment out Road Curve tool untill further
solutions.
A workaround to draw roads is to use Tools>Analysis> Offset curve tool, by
Michael, which generate parallel lines so selected one
Peppe

2015-01-21 23:53 GMT+01:00 Larry Becker :

> 1.   Python tools feels somehow like a promising way for writing new
>> drawing tools. The Python part of the tools look almost understandable for
>> non-programmer and I suppose that Python is the most common geospatial
>> scripting language at the moment. *However, if I understand right for
>> creating new tools Python is not enough but also some java programming is
>> needed*. By the way, the Road Arc tools does not work with latest
>> snapshots and it makes so bad a jam that only killing the process helps.
>> The error from the console window:
>>
>
> @Jukka,  I assume you are referring to the following line from Startup.py:
>
> #tools can be defined in java only - as in this orphaned JUMP Note tool
>
> The comment is badly worded.  It should say #tools may also be defined in
> java and activated here - as in this orphaned JUMP Note tool  There are
> many examples of defining a new drawing tool in jython only.
>
> While I don't currently have my OpenJump development platform up to date,
> I did diff the SkyJUMP copies of  two attached files and bring them up to
> date with the new Shift key feature of the Road Curve tool (it is maddening
> to draw long straight stretch of road without it!).  If one of the
> developers has a few minutes, they can see if it fixes the issue.  If it
> doesn't we can comment out lines 100 through 109 in startup.py to
> deactivate the Road tool.
>
> regards,
>
> Larry Becker
>
> On Tue, Jan 20, 2015 at 6:07 AM, Rahkonen Jukka (MML) <
> jukka.rahko...@maanmittauslaitos.fi> wrote:
>
>>  Hi,
>>
>>
>>
>> I was searching tools for making some CAD alike drawing and studied what
>> we have. I found:
>>
>> 1.   Some of the Python tools in the standard delivery has CAD-alike
>> features (rotated rectangle, Arc tool).
>>
>> 2.   Peppe has made a CAD tools plugin that adds some CAD tools into
>> the default digitizing box.
>>
>> 3.   Kosmo GIS has a special CAD toolbox with about 15 tools.
>>
>>
>>
>> Quick comments:
>>
>>
>>
>> 1.   Python tools feels somehow like a promising way for writing new
>> drawing tools. The Python part of the tools look almost understandable for
>> non-programmer and I suppose that Python is the most common geospatial
>> scripting language at the moment. However, if I understand right for
>> creating new tools Python is not enough but also some java programming is
>> needed. By the way, the Road Arc tools does not work with latest snapshots
>> and it makes so bad a jam that only killing the process helps. The error
>> from the console window:
>>
>>
>>
>> Exception in thread "AWT-EventQueue-0" Traceback (innermost last):
>>
>>   File
>> "C:\oj_test\OJ_18\OpenJUMP-20150116-r4270-PLUS\lib\ext\jython\RoadTool.py",
>> line 201, in handleDeActivation
>>
>> AttributeError: 'NoneType' object has no attribute 'actionPerformed'
>>
>> Exception in thread "AWT-EventQueue-0" Traceback (innermost last):
>>
>>
>>
>> 2.   I would rather place the additional CAD tools to their own tool
>> box because they do not behave exactly as the standard tools. Many of the
>> OJ keyboard shortcuts stop working when a CAD tools is selected. On the
>> other hand, the SHIFT key does not alter the behaviour of CAD tools as
>> planned in most cases. The draw vertical/horizontal tool, tools for drawing
>> closed linestrings and the annotation layer tool would be nice additions to
>> OJ PLUS. Annotation tool might need some revisiting.
>>
>> 3.   Many of the Kosmo tools are fine. I wonder how difficult it
>> would be to adapt some of those for OJ. For example the “Continue lines
>> until they cross” tools is simple and clever and I do not remember such
>> tool in other open source GIS. “Draw perpendicular” works well also with
>> circles and Bezier curves but it would be nice to have a sister tool “Draw
>> tangent”.
>>
>>
>>
>> None of these CAD tools had a tool for my need. Or perhaps the “Draw with
>> commands” tool in Kosmo has but I could not discover the right syntax even
>> I found the manual
>> http://www.kosmoland.es/public/kosmo/v_2.0/docs/Extension_Herramienta_CAD.pdf.
>> What I would like to do feels simple to me:
>>
>>
>>
>> -  Draw a point or first vertex to coordinates x/y
>>
>> -  Draw next point or vertex by angle and distance or to next
>> given coordinates
>>
>>
>>
>> I know I can workaround the manual feed of coordinates effectively by
>> using WKT but not the angle + distance alternative.
>>
>>
>>
>> -Jukka Rahkonen-
>>
>>
>>
>> --
>> New Year. N

Re: [JPP-Devel] OpenJUMP and CAD tools

2015-01-26 Thread Larry Becker
Thanks Peppe.  Perhaps I'll find some time soon to fix this.

Larry

On Mon, Jan 26, 2015 at 1:24 AM, Giuseppe Aruta 
wrote:

> Jukka, Larry
> I tried the patch that Larry sent but is seems not working with OpenJump.
> At least with my machine Ubuntu/OpenJDK. It the other members of our
> community agree, I vote to comment out Road Curve tool untill further
> solutions.
> A workaround to draw roads is to use Tools>Analysis> Offset curve tool, by
> Michael, which generate parallel lines so selected one
> Peppe
>
> 2015-01-21 23:53 GMT+01:00 Larry Becker :
>
>> 1.   Python tools feels somehow like a promising way for writing new
>>> drawing tools. The Python part of the tools look almost understandable for
>>> non-programmer and I suppose that Python is the most common geospatial
>>> scripting language at the moment. *However, if I understand right for
>>> creating new tools Python is not enough but also some java programming is
>>> needed*. By the way, the Road Arc tools does not work with latest
>>> snapshots and it makes so bad a jam that only killing the process helps.
>>> The error from the console window:
>>>
>>
>> @Jukka,  I assume you are referring to the following line from Startup.py:
>>
>> #tools can be defined in java only - as in this orphaned JUMP Note tool
>>
>> The comment is badly worded.  It should say #tools may also be defined in
>> java and activated here - as in this orphaned JUMP Note tool  There are
>> many examples of defining a new drawing tool in jython only.
>>
>> While I don't currently have my OpenJump development platform up to date,
>> I did diff the SkyJUMP copies of  two attached files and bring them up to
>> date with the new Shift key feature of the Road Curve tool (it is maddening
>> to draw long straight stretch of road without it!).  If one of the
>> developers has a few minutes, they can see if it fixes the issue.  If it
>> doesn't we can comment out lines 100 through 109 in startup.py to
>> deactivate the Road tool.
>>
>> regards,
>>
>> Larry Becker
>>
>> On Tue, Jan 20, 2015 at 6:07 AM, Rahkonen Jukka (MML) <
>> jukka.rahko...@maanmittauslaitos.fi> wrote:
>>
>>>  Hi,
>>>
>>>
>>>
>>> I was searching tools for making some CAD alike drawing and studied what
>>> we have. I found:
>>>
>>> 1.   Some of the Python tools in the standard delivery has
>>> CAD-alike features (rotated rectangle, Arc tool).
>>>
>>> 2.   Peppe has made a CAD tools plugin that adds some CAD tools
>>> into the default digitizing box.
>>>
>>> 3.   Kosmo GIS has a special CAD toolbox with about 15 tools.
>>>
>>>
>>>
>>> Quick comments:
>>>
>>>
>>>
>>> 1.   Python tools feels somehow like a promising way for writing
>>> new drawing tools. The Python part of the tools look almost understandable
>>> for non-programmer and I suppose that Python is the most common geospatial
>>> scripting language at the moment. However, if I understand right for
>>> creating new tools Python is not enough but also some java programming is
>>> needed. By the way, the Road Arc tools does not work with latest snapshots
>>> and it makes so bad a jam that only killing the process helps. The error
>>> from the console window:
>>>
>>>
>>>
>>> Exception in thread "AWT-EventQueue-0" Traceback (innermost last):
>>>
>>>   File
>>> "C:\oj_test\OJ_18\OpenJUMP-20150116-r4270-PLUS\lib\ext\jython\RoadTool.py",
>>> line 201, in handleDeActivation
>>>
>>> AttributeError: 'NoneType' object has no attribute 'actionPerformed'
>>>
>>> Exception in thread "AWT-EventQueue-0" Traceback (innermost last):
>>>
>>>
>>>
>>> 2.   I would rather place the additional CAD tools to their own
>>> tool box because they do not behave exactly as the standard tools. Many of
>>> the OJ keyboard shortcuts stop working when a CAD tools is selected. On the
>>> other hand, the SHIFT key does not alter the behaviour of CAD tools as
>>> planned in most cases. The draw vertical/horizontal tool, tools for drawing
>>> closed linestrings and the annotation layer tool would be nice additions to
>>> OJ PLUS. Annotation tool might need some revisiting.
>>>
>>> 3.   Many of the Kosmo tools are fine. I wonder how difficult it
>>> would be to adapt some of those for OJ. For example the “Continue lines
>>> until they cross” tools is simple and clever and I do not remember such
>>> tool in other open source GIS. “Draw perpendicular” works well also with
>>> circles and Bezier curves but it would be nice to have a sister tool “Draw
>>> tangent”.
>>>
>>>
>>>
>>> None of these CAD tools had a tool for my need. Or perhaps the “Draw
>>> with commands” tool in Kosmo has but I could not discover the right syntax
>>> even I found the manual
>>> http://www.kosmoland.es/public/kosmo/v_2.0/docs/Extension_Herramienta_CAD.pdf.
>>> What I would like to do feels simple to me:
>>>
>>>
>>>
>>> -  Draw a point or first vertex to coordinates x/y
>>>
>>> -  Draw next point or vertex by angle and distance or to next
>>> given coordinates
>>>
>>>
>>>
>>> I k