Roy-043
26adc417a9
Draft: remove the Draft_ToggleContinueMode command
...
Rarely used as Continue mode can also be checked in the task panel of Draft commands.
2023-12-05 22:31:44 +01:00
Roy-043
84deb09f0b
Draft: make mod key prefs non-global
2023-11-20 21:17:18 +01:00
Roy-043
2335c6beff
Draft: Updates related to the PlaneGui class
...
Related issue:
#5603 .
2023-10-18 09:50:50 +02:00
Roy-043
6d69a65218
Draft: remove obsolete gui_array_simple.py ( #9616 )
2023-05-20 10:37:31 +02:00
luzpaz
38a01939e0
Migrate domain name from freecadweb to freecad ( #9352 )
...
* Migrate domain name from freecadweb to freecad
* Migrate src/Mod/Material files
* Migrate Stylesheet related files
* Migrate *.svg files
* Migrate miscellaneous files
* Migrate some build files
* Migrate recently added TD AR_IRAM template files
Closes #6415
2023-04-24 15:19:20 -05:00
mosfet80
e9c1a1600a
[Draft] Remove obsolete code related to Drawing WB
...
* [Draft] Remove obsolete code related to Drawing WB
remove unused elif
* [Draft] Remove obsolete code related to the Drawing WB
* Update preferences-draftvisual.ui
Also remove the template label.
* Update utils.py
Remove reference to "template"
* Remove Draft_Drawing.svg from Draft.qrc
---------
Co-authored-by: Roy-043 <info@b-k-g.nl >
Co-authored-by: Roy-043 <70520633+Roy-043@users.noreply.github.com >
2023-04-03 16:36:23 +02:00
Roy-043
6cc9173fed
Draft: fix context menu
...
Remove the 3 gui_lineops items.
2021-10-12 14:30:04 +02:00
Yorik van Havre
2bf67f0191
Draft: Introduced Hatch command + object
2021-09-06 15:27:52 +02:00
Roy-043
b66073f1a1
Draft: Fix wrong default value for defaultWP
...
The default value for defaultWP in DraftTools.py did not match the value in DraftGui.py and preferences-draft.ui.
See forum topic: https://forum.freecadweb.org/viewtopic.php?f=8&t=57909&p=513411#p513411
2021-07-31 09:57:59 +02:00
Yorik van Havre
583b59c29f
Draft: Condensed the Draft toolbar style buttons into one with more options
2020-11-10 14:14:18 +01:00
vocx-fc
ff4cb41860
Draft: move GuiCommand for Draft Layer to its own module
2020-07-20 14:21:15 +02:00
vocx-fc
09e47f43a9
Draft: add new Gui Command for Fillet
2020-05-13 11:37:56 +02:00
vocx-fc
e87245aeef
Draft: move Mirror GuiCommand to gui_mirror module
2020-04-24 13:49:13 +02:00
vocx-fc
bb4fbf62e9
Draft: move Draft_Clone GuiCommand to gui_clone module
...
Rename the Gui Command to `Clone`, and provide an alias
for the older name `Draft_Clone`, just in case.
2020-04-24 13:49:13 +02:00
vocx-fc
589693f66c
Draft: small changes to the loading of the array modules
2020-04-24 13:49:13 +02:00
vocx-fc
b434347dbd
Draft: move PointArray GuiCommand to gui_pointarray module
2020-04-24 13:49:13 +02:00
vocx-fc
539e36dd72
Draft: move PathLinkArray GuiCommand to gui_patharray module
2020-04-24 13:49:13 +02:00
vocx-fc
23a975250f
Draft: move PathArray GuiCommand to gui_patharray module
2020-04-24 13:49:13 +02:00
vocx-fc
ae3089d780
Draft: move LinkArray GuiCommand to gui_array_simple module
...
The code is kept for historical reasons, but the tool
is no longer accessible from the toolbars or menus,
as it was superseded by the three commands `Draft_OrthoArray`,
`Draft_PolarArray` and `Draft_CircularArray`.
2020-04-24 13:49:13 +02:00
vocx-fc
a34ce0acf3
Draft: move Array GuiCommand to gui_array_simple module
...
The code is kept for historical reasons, but the tool
is no longer accessible from the toolbars or menus,
as it was superseded by the three commands `Draft_OrthoArray`,
`Draft_PolarArray` and `Draft_CircularArray`.
2020-04-24 13:49:13 +02:00
vocx-fc
8fad38bc8a
Draft: move Draft2Sketch GuiCommand to gui_draft2sketch module
2020-04-24 13:49:13 +02:00
vocx-fc
e31b02f3e2
Draft: move Shape2DView GuiCommand to gui_shape2dview module
2020-04-24 13:49:13 +02:00
vocx-fc
276998d749
Draft: move WireToBSpline GuiCommand to gui_wire2spline module
2020-04-24 13:49:13 +02:00
vocx-fc
7b89b302cb
Draft: move Drawing GuiCommand to gui_drawing module
...
Also, finally the command is removed from the toolbar
as the Drawing Workbench is obsolete since v0.17.
The command is still loaded and defined by the workbench
but it is no longer presented to the user interface in the menu
or toolbar.
2020-04-24 13:49:13 +02:00
vocx-fc
47c9d83862
Draft: move Scale GuiCommand to gui_scale module
...
The scale operation can be used with subelements, vertices
and edges, but in this case this only works with polylines
(wires) because internally the functions `scaleVertex`
and `scaleEdges` only work with polylines that have a `Points`
property.
When doing a copy and scale, it also calls `copyScaledEdges`
which calls `joinWires`, so problems with joining wires
may also be present when performing this operation.
2020-04-24 13:49:13 +02:00
vocx-fc
0a14ecf6da
Draft: move Trimex GuiCommand to gui_trimex module
2020-04-24 13:49:13 +02:00
vocx-fc
cf5c6da659
Draft: move Downgrade GuiCommand to gui_downgrade module
2020-04-24 13:49:13 +02:00
vocx-fc
f9ff602cf2
Draft: move Upgrade GuiCommand to gui_upgrade module
2020-04-24 13:49:13 +02:00
vocx-fc
5f182e471c
Draft: move Split GuiCommand to gui_split module
2020-04-24 13:49:13 +02:00
vocx-fc
56f2885cb3
Draft: move Join GuiCommand to gui_join module
...
Occasionally it fails to join lines even if the lines
visually share a point.
This is a rounding error in the comparison of the shared point;
a small distance will result in the points being considered
different and thus the lines not joining.
The solution is to test properly the two points using
`DraftVecUtils.equals` which considers the value of
the `precision` set in the Draft preferences.
2020-04-24 13:49:13 +02:00
vocx-fc
58812ebbbf
Draft: move Stretch GuiCommand to gui_stretch module
2020-04-24 13:49:13 +02:00
vocx-fc
c7ca282e85
Draft: move Offset GuiCommand to gui_offset module
...
Include Yorik's commit e8b216dd42.
2020-04-24 13:49:13 +02:00
vocx-fc
98f9db5053
Draft: move Rotate GuiCommand to gui_rotate module
2020-04-24 13:49:13 +02:00
vocx-fc
73e1027445
Draft: move ApplyStyle GuiCommand to gui_styles module
...
Also fix an error in determining the objects of type group.
Also call `finish` to properly terminate the command,
otherwise it stays active and behaves incorrectly.
2020-04-24 13:49:13 +02:00
vocx-fc
a2a3cd18c2
Draft: move Move GuiCommand to gui_move module
2020-04-24 13:49:13 +02:00
vocx-fc
3348b91717
Draft: move SubelementHighlight to its own module
2020-04-24 13:49:13 +02:00
Yorik van Havre
9343223525
Draft: Annotation editor
2020-04-22 13:38:17 +02:00
vocx-fc
572d7f5757
Draft: move Label GuiCommand to gui_labels module
...
Also include carlopav's commit 225404c648 for the Draft_Label tool,
which runs the autogroup function on the created label.
2020-04-22 12:07:25 +02:00
vocx-fc
ea894c3f60
Draft: move Facebinder GuiCommand to gui_facebinders module
2020-04-22 12:07:25 +02:00
vocx-fc
e450a8bee3
Draft: move Point GuiCommand to gui_points module
2020-04-22 12:07:25 +02:00
vocx-fc
d4dbdf1695
Draft: move ShapeString GuiCommand to gui_shapestrings module
2020-04-22 12:07:25 +02:00
vocx-fc
fc8903ccba
Draft: move Dimension GuiCommand to gui_dimensions module
2020-04-22 12:07:25 +02:00
vocx-fc
b928823768
Draft: move Text GuiCommand to gui_texts module
2020-04-22 12:07:25 +02:00
vocx-fc
99f885ee9b
Draft: move Ellipse GuiCommand to gui_ellipses module
2020-04-22 12:07:25 +02:00
vocx-fc
feeb9b4245
Draft: move Polygon GuiCommand to gui_polygons module
2020-04-22 12:07:25 +02:00
vocx-fc
6398e749d5
Draft: move Circle GuiCommand to gui_circles module
2020-04-22 12:07:25 +02:00
vocx-fc
aa894ddc07
Draft: move Arc GuiCommand to gui_arcs module
...
Also move the `ArcGroup` that containst the two arc tools.
2020-04-22 12:07:25 +02:00
vocx-fc
42932b19a3
Draft: move Rectangle GuiCommand to gui_rectangles module
2020-04-22 12:07:25 +02:00
vocx-fc
5fbf6f8055
Draft: move CubicBezCurve GuiCommand to gui_beziers module
...
Also move the `BezierGroup` that contains the two Bezier tools.
2020-04-22 12:07:25 +02:00
vocx-fc
e2e9a17dd0
Draft: move BezCurve GuiCommand to gui_beziers module
2020-04-22 12:07:25 +02:00