Difference between revisions of "BlueprintGeometricAndTechDrawing"

From Inkscape Wiki
Jump to navigation Jump to search
Line 17: Line 17:


[[Image:td_constructions.png|left]]
[[Image:td_constructions.png|left]]
== Details & Internals ==
=== User Interface ===
All constructions should be accomplishable by mouse input only. E.g., points can be specified by mouse clicks, their position can be adapted by dragging, as can angles of lines, radii of circles, etc. But since for technical drawings the ability to use exact values is indispensable, each of these values can also be set by using numeric input fields (e.g., in the secondary toolbar).
=== Code ===
The tool will be implemented as a collection of "Live Path Effects" (LPEs). See [http://wiki.inkscape.org/wiki/index.php/MakingLivePathEffects here] for a technical description. The algorithms will be provided by the [http://lib2geom.sourceforge.net/ 2geom] library which is intended to become Inkscape's core library in the near future. There are separate GSoC proposals for 2geom integration into Inkscape.
As part of the project, it is intended to integrate LPEs much more tightly into Inkscape's UI, e.g., by providing handles for parameter adaption or making their controls available in toolbars (not only in the LPE dialog).

Revision as of 15:07, 21 May 2008

Summary

This blueprint accompanies the GSoC'08 project "Geometric & Tech Drawing Abilities for Inkscape" by Maximilian Albert. It collects ideas from the community regarding desired features and their implementation (with no warranty that any of them will be included in the project :)). Feel free to add your thoughts here.

The aim of the project is to create a new tool consisting of a number of "subtools"/"modules" which facilitate geometric constructions and technical drawings.

Typical Workflow

To perform a geometric construction (e.g., create a circle through 3 points), the corresponding "module" is activated in the toolbar, either by clicking on its icon or via a shortcut. Then the items on which this construction relies (i.e., the three points) are clicked. This creates the desired geometric object (in this case a circle passing through the points).

Td typical workflow.png


Desired Constructions and Other Features

Some constructions that should be possible with the new tool:

Td constructions.png


Details & Internals

User Interface

All constructions should be accomplishable by mouse input only. E.g., points can be specified by mouse clicks, their position can be adapted by dragging, as can angles of lines, radii of circles, etc. But since for technical drawings the ability to use exact values is indispensable, each of these values can also be set by using numeric input fields (e.g., in the secondary toolbar).


Code

The tool will be implemented as a collection of "Live Path Effects" (LPEs). See here for a technical description. The algorithms will be provided by the 2geom library which is intended to become Inkscape's core library in the near future. There are separate GSoC proposals for 2geom integration into Inkscape.

As part of the project, it is intended to integrate LPEs much more tightly into Inkscape's UI, e.g., by providing handles for parameter adaption or making their controls available in toolbars (not only in the LPE dialog).