~centralelyon2010/inkscape/imagelinks2

« back to all changes in this revision

Viewing changes to share/extensions/gcodetools_orientation_points.inx

  • Committer: JazzyNico
  • Date: 2011-08-29 20:25:30 UTC
  • Revision ID: nicoduf@yahoo.fr-20110829202530-6deuoz11q90usldv
Code refactoring and merging with trunk (revision 10599).

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?xml version="1.0" encoding="UTF-8"?>
 
2
 
 
3
<inkscape-extension xmlns="http://www.inkscape.org/namespace/inkscape/extension">
 
4
    <name>Orientation points</name>
 
5
    <id>ru.cnc-club.filter.gcodetools_orientation_no_options_no_preferences</id>
 
6
        <dependency type="executable" location="extensions">gcodetools.py</dependency>
 
7
        <dependency type="executable" location="extensions">inkex.py</dependency>
 
8
        <param name='active-tab' type="notebook">
 
9
 
 
10
                <page name='orientation' _gui-text='Orientation'>       
 
11
 
 
12
                        <param name="orientation-points-count" type="optiongroup" _gui-text="Orientation type:">
 
13
<_option value="2">2-points mode
 
14
(move and rotate,
 
15
maintained aspect ratio X/Y)</_option>
 
16
<_option value="3">3-points mode
 
17
(move, rotate and mirror, 
 
18
different X/Y scale)</_option>
 
19
<_option value="graffiti">graffiti points</_option>
 
20
<_option value="in-out reference point">in-out reference point</_option>
 
21
 
 
22
                        </param>
 
23
                        <param name="Zsurface" type="float" precision="5" min="-1000" max="1000" _gui-text="Z surface:">0</param>
 
24
                        <param name="Zdepth" type="float" precision="5" min="-1000" max="1000" _gui-text="Z depth:">-1</param>
 
25
                        <param name="unit" type="enum" _gui-text="Units (mm or in):">
 
26
                                <_item value="G21 (All units in mm)">mm</_item>
 
27
                                <_item value="G20 (All units in inches)">in</_item>
 
28
                        </param>
 
29
 
 
30
                        <_param name="help" type="description">
 
31
Orientation points are used to calculate transformation (offset,scale,mirror,rotation in XY plane) of the path.
 
32
3-points mode only: do not put all three into one line (use 2-points mode instead).
 
33
 
 
34
You can modify Z surface, Z depth values later using text tool (3rd coordinates).
 
35
 
 
36
If there are no orientation points inside current layer they are taken from the upper layer.
 
37
 
 
38
Do not ungroup orientation points! You can select them using double click to enter the group or by Ctrl+Click.
 
39
 
 
40
Now press apply to create control points (independent set for each layer).
 
41
                        </_param>
 
42
                </page>
 
43
 
 
44
                <page name='help' _gui-text='Help'>
 
45
                        <_param name="fullhelp" type="description">
 
46
Gcodetools plug-in: converts paths to Gcode (using circular interpolation), makes offset paths and engraves sharp corners using cone cutters. 
 
47
This plug-in calculates Gcode for paths using circular interpolation or linear motion when needed.
 
48
 
 
49
Tutorials, manuals and support can be found at
 
50
English support forum:
 
51
        http://www.cnc-club.ru/gcodetools
 
52
        
 
53
and Russian support forum:
 
54
        http://www.cnc-club.ru/gcodetoolsru
 
55
 
 
56
Credits: Nick Drobchenko, Vladimir Kalyaev, John Brooker, Henry Nicolas, Chris Lusby Taylor.
 
57
 
 
58
Gcodetools ver. 1.7
 
59
</_param>       
 
60
 
 
61
                </page>
 
62
 
 
63
        </param>        
 
64
    <effect>
 
65
                <effects-menu>
 
66
                        <submenu _name="Gcodetools"/>
 
67
                </effects-menu>
 
68
                <object-type>path</object-type>
 
69
    </effect>
 
70
    <script>
 
71
        <command reldir="extensions" interpreter="python">gcodetools.py</command>
 
72
    </script>
 
73
</inkscape-extension>