Roy-043
640bd5cf26
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
f2b1051d25
Draft: make mod key prefs non-global
2023-11-20 21:17:18 +01:00
Roy-043
f0db4e8ef5
Draft: Updates related to the PlaneGui class
...
Related issue:
#5603 .
2023-10-18 09:50:50 +02:00
Roy-043
c5bf5d117b
Draft: remove obsolete gui_array_simple.py ( #9616 )
2023-05-20 10:37:31 +02:00
luzpaz
129d5882a7
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
889ad11e02
[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
eb0c45ce63
Draft: fix context menu
...
Remove the 3 gui_lineops items.
2021-10-12 14:30:04 +02:00
Yorik van Havre
1c8b803f9e
Draft: Introduced Hatch command + object
2021-09-06 15:27:52 +02:00
Roy-043
a03eb6b962
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
88f5fc20b1
Draft: Condensed the Draft toolbar style buttons into one with more options
2020-11-10 14:14:18 +01:00
vocx-fc
cdc6c5f541
Draft: move GuiCommand for Draft Layer to its own module
2020-07-20 14:21:15 +02:00
vocx-fc
c17546557d
Draft: add new Gui Command for Fillet
2020-05-13 11:37:56 +02:00
vocx-fc
e6652aaac1
Draft: move Mirror GuiCommand to gui_mirror module
2020-04-24 13:49:13 +02:00
vocx-fc
b259d94125
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
0fb2d9cf78
Draft: small changes to the loading of the array modules
2020-04-24 13:49:13 +02:00
vocx-fc
cc26565b3a
Draft: move PointArray GuiCommand to gui_pointarray module
2020-04-24 13:49:13 +02:00
vocx-fc
720dc919c3
Draft: move PathLinkArray GuiCommand to gui_patharray module
2020-04-24 13:49:13 +02:00
vocx-fc
f58212c07d
Draft: move PathArray GuiCommand to gui_patharray module
2020-04-24 13:49:13 +02:00
vocx-fc
4b8dda1555
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
82efd33581
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
d4c699c844
Draft: move Draft2Sketch GuiCommand to gui_draft2sketch module
2020-04-24 13:49:13 +02:00
vocx-fc
6f060d513d
Draft: move Shape2DView GuiCommand to gui_shape2dview module
2020-04-24 13:49:13 +02:00
vocx-fc
8643025d49
Draft: move WireToBSpline GuiCommand to gui_wire2spline module
2020-04-24 13:49:13 +02:00
vocx-fc
4ed80cdf83
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
868435bfd9
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
81d77e2ca1
Draft: move Trimex GuiCommand to gui_trimex module
2020-04-24 13:49:13 +02:00
vocx-fc
418bafe6ee
Draft: move Downgrade GuiCommand to gui_downgrade module
2020-04-24 13:49:13 +02:00
vocx-fc
c3221222b3
Draft: move Upgrade GuiCommand to gui_upgrade module
2020-04-24 13:49:13 +02:00
vocx-fc
a9688f7d00
Draft: move Split GuiCommand to gui_split module
2020-04-24 13:49:13 +02:00
vocx-fc
cb5aa765fb
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
8ea1358dcb
Draft: move Stretch GuiCommand to gui_stretch module
2020-04-24 13:49:13 +02:00
vocx-fc
eb21502d0f
Draft: move Offset GuiCommand to gui_offset module
...
Include Yorik's commit 97c8eff825 .
2020-04-24 13:49:13 +02:00
vocx-fc
5cf9dadd68
Draft: move Rotate GuiCommand to gui_rotate module
2020-04-24 13:49:13 +02:00
vocx-fc
bad30329d7
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
5f11802bc0
Draft: move Move GuiCommand to gui_move module
2020-04-24 13:49:13 +02:00
vocx-fc
3370e870fe
Draft: move SubelementHighlight to its own module
2020-04-24 13:49:13 +02:00
Yorik van Havre
5b3fea59e0
Draft: Annotation editor
2020-04-22 13:38:17 +02:00
vocx-fc
ace8c98aa8
Draft: move Label GuiCommand to gui_labels module
...
Also include carlopav's commit ff3bdf86bc for the Draft_Label tool,
which runs the autogroup function on the created label.
2020-04-22 12:07:25 +02:00
vocx-fc
d3646b0577
Draft: move Facebinder GuiCommand to gui_facebinders module
2020-04-22 12:07:25 +02:00
vocx-fc
4c297587c4
Draft: move Point GuiCommand to gui_points module
2020-04-22 12:07:25 +02:00
vocx-fc
afd941b66d
Draft: move ShapeString GuiCommand to gui_shapestrings module
2020-04-22 12:07:25 +02:00
vocx-fc
44be767583
Draft: move Dimension GuiCommand to gui_dimensions module
2020-04-22 12:07:25 +02:00
vocx-fc
bec9d01058
Draft: move Text GuiCommand to gui_texts module
2020-04-22 12:07:25 +02:00
vocx-fc
66055ebf14
Draft: move Ellipse GuiCommand to gui_ellipses module
2020-04-22 12:07:25 +02:00
vocx-fc
0e089e998d
Draft: move Polygon GuiCommand to gui_polygons module
2020-04-22 12:07:25 +02:00
vocx-fc
59c41fab33
Draft: move Circle GuiCommand to gui_circles module
2020-04-22 12:07:25 +02:00
vocx-fc
ea31a7d452
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
0d891a85e3
Draft: move Rectangle GuiCommand to gui_rectangles module
2020-04-22 12:07:25 +02:00
vocx-fc
689324fe22
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
17281a250f
Draft: move BezCurve GuiCommand to gui_beziers module
2020-04-22 12:07:25 +02:00