Commit Graph

69 Commits

Author SHA1 Message Date
vocx-fc
fd00904b9e Draft: add WorkingPlaneProxy button to the toolbar
We also rename it from `Draft_SetWorkingPlaneProxy`
to `Draft_WorkingPlaneProxy` as we want to indicate a new object
is created.
2020-04-09 11:41:45 +02:00
vocx-fc
81d7267e72 Draft: add new viewprovider icon for radius dimension
If it is a linear dimension show the older icon;
if it is a radius or diameter dimension show a new icon.

These three modes use the same Proxy class
and the same viewprovider class. Depending on the linked geometry
one icon or the other will be shown.
2020-03-12 09:12:11 -03:00
vocx-fc
dce7f63c02 Draft: add new viewprovider icons for specific objects
When there are many Draft objects in the tree view
the icon can be used to tell different objects apart quickly.
One icon is used for objects that are "straight lines",
whose Proxy is of type `Line`, `Wire` or `Polyline`; another icon
for "regular geometrical" shapes of type `Rectangle` or `Polygon`;
and another icon for "curved" objects of type `Circle`,
`Ellipse`, `BSpline`, `BezCurve`, or `Fillet`.

Other objects use the older default icon.
2020-03-12 09:12:11 -03:00
vocx-fc
549ca9205b Draft: new Draft_OrthoArray command
It replaces the older `Draft_Array` command, and provides
a task panel to select the properties, similar to the
`Draft_PolarArray` and `Draft_CircularArray` commands.

It can also create `App::Links` directly from this task
panel, so it also replaces the `Draft_LinkArray`
introduced by the LinkMerge.
2020-03-03 21:27:31 +01:00
vocx-fc
4c8bef7c91 Draft: new view provider icon for the angle dimension
The linear and radial dimensions use the same Proxy class,
but the angular dimension uses a different Proxy class.
To recognize quickly in the tree view the different
types of dimensions, we provide a new icon.

The icon is inspired on the `Draft_Dimension.svg` and
`TechDraw_AngleDimensions.svg` icons.
2020-02-15 13:07:38 +01:00
vocx-fc
ab6976c5db Draft: add new command for Draft CircularArray
Added object, viewprovider, icon; gui command definition, task panel,
add command to InitGui; add callbacks, and delay system.
2020-01-08 15:16:07 +01:00
vocx-fc
1336381eec Draft: new command for Draft PolarArray
Added object, viewprovider, icon; gui command definition, task panel,
add command to InitGui; add callbacks, and delay system.
2020-01-07 07:18:39 -03:00
Grey Christoforo
5690909e49 fix brick01 file name 2019-12-29 21:25:14 +01:00
Bernd Hahnebach
8e09ea8a32 Draft: add gitattributes file to let git manage file endings and normalize them 2019-12-19 07:51:09 +01:00
vocx-fc
6626b52b5f Draft: rename SubelementModify to SubelementHighlight 2019-11-11 18:04:10 -03:00
vocx-fc
b9a6c0dd2b Draft: renamed the command Draft_Edit_Improved to Draft_SubelementModify because the previous name was confusing; also provide a new icon 2019-10-10 19:13:28 -03:00
vocx-fc
f55059cedf Draft: new icon for Draft_Dimension in the tree view in SVG, instead of XPM 2019-10-07 14:17:17 +02:00
vocx-fc
ec0d50459c Draft: re-order alphabetically the resources in Draft.qrc to be easier to spot missing files 2019-10-07 14:17:08 +02:00
vocx-fc
48aa182287 Draft: DraftLayer, provide Draft_Layer.svg icon, and use it instead of Draft_VisGroup.svg, even if it's the same to be consistent in the naming 2019-09-06 12:08:11 -03:00
Yorik van Havre
91ca523f54 Draft: Moved SelectPlane stuff from DraftGui to its own ui file 2019-09-02 22:15:58 -03:00
vocx-fc
12746d6148 Draft: added Draft_Fillet.svg as an icon, as a variation of the Sketcher fillet icon. Add it to Draft.qrc. 2019-08-22 10:54:41 -03:00
Zheng, Lei
88b5b2a845 Draft/Arch related changes
* Add Draft_LinkArray and Draft_PathLinkArray that uses link for both
  data and visualization, which supports linking external objects

* Add link group support for draft snap

* Fix ArchWindows expression ambiguity
2019-08-17 15:32:47 +02:00
Yorik van Havre
94aa65ffaf Draft: Updated icon for cubic bezier tool 2019-05-14 15:20:40 -03:00
Yorik van Havre
05b7892109 Draft: Added 3-point arc command from BIM WB 2019-04-07 17:23:42 -03:00
wandererfan
11d0bc9e90 Fix ShapeString attachment to Face 2019-02-19 10:32:46 -03:00
Dion Moult
34fccb163d Add beautiful icons thanks to bitacovir
https://forum.freecadweb.org/viewtopic.php?p=283187
2019-01-31 10:54:36 -02:00
Yorik van Havre
39d446f60f Updated translations from crowdin 2018-12-23 13:54:30 -02:00
wandererfan
2e55e5b0ca FR1973 Draft ShapeString Ui
- load new ui from Resource file
- minor updates to translate for Py3
2018-12-01 11:08:37 -03:00
ageeye
7d8f4f1a33 Add a new array type: PointArray. 2018-06-18 20:38:10 -03:00
ageeye
bb6959904d Add sew function to the draft facebinder. Besides facebinder and patharray get their own icons in the tree view. 2018-06-11 09:58:22 -03:00
Yorik van Havre
143b89c8f3 Applied latest translations from crowdin 2018-02-21 14:25:31 -03:00
Yorik van Havre
7deef8fb82 Arch: Added wood grain properties to Panel Sheets 2017-06-27 13:15:39 -03:00
Yorik van Havre
28f315f4f6 Draft: First version of Draft Label object 2017-05-29 16:57:25 -03:00
Yorik van Havre
9f44809e9e Updated translations with latest files from crowdin 2017-03-06 11:53:09 -03:00
Yorik van Havre
009859ddf3 Draft: AutoGroup system 2017-01-25 14:55:14 -02:00
Yorik van Havre
72afcde8db Draft: Added stretch tool - fixes #1163 2017-01-13 11:25:25 -02:00
Yorik van Havre
e75d34daed Draft: Added Draft Slope command - allows to change the slope of a selected Line or Wire 2016-08-22 17:34:38 -03:00
Yorik van Havre
031bf0ec10 Arch: Added specials snap
* Remove Arch option to snap to wall base (reimplemented below)
* Added new Specials snap button
* Special snap snaps to wall baselines, structure basepoints, and contents of SnapPoints property, if existing
2016-08-22 13:49:54 -03:00
triplus
93c7a6bcac Add SVG workbench icons 2016-02-26 23:17:43 +01:00
Yorik van Havre
3106ca7df3 Added slovenian language 2016-02-03 13:36:51 -02:00
Yorik van Havre
758b0778d4 Updated translations with latest from crowdin 2016-02-01 23:32:58 -02:00
Yorik van Havre
c5bff2eecb Draft: Added a grid toggle button to the snap toolbar 2015-12-29 12:10:22 -02:00
Yorik van Havre
aca192083a Draft: Added mirror tool (more graphical version of Part Mirror) - fixes #2215 2015-12-05 14:19:35 -02:00
Yorik van Havre
ac5efd335d Arch / Draft: reorganized preferences files 2015-05-07 17:06:56 -03:00
Yorik van Havre
7f98d14930 Updated translations from crowdin 2015-02-27 18:46:03 -03:00
Yorik van Havre
a2e261bb25 Draft: Renamed Layer to VisGroup 2014-06-10 10:21:01 -03:00
Yorik van Havre
4bed68f6ec Draft: Added Layer tool - issue #1504 2014-04-17 18:18:51 -03:00
Yorik van Havre
d3b5bc5642 Draft: Reorganized DXF preferences - fixes #1468 2014-03-13 14:09:16 -03:00
Yorik van Havre
05dc5a8355 Draft: added workingplane snap mode - fixes #1461 2014-03-07 15:58:51 -03:00
Sebastian Hoogen
2358b7e3d1 Draft Bezier Curve: implemented Continuity Property
Draft: allow continuity on closed Bezier curves

Draft: BezCurve bugfixes
    - smoothBezCurve
    - edit mode
    - avoid splitting points into segments as long as degree is zero
    - increase the continuity when closing curve
    - closed berzier curves
    - Catch modifications of continuity of first and last knot on open curves
2014-02-23 11:54:59 -03:00
WandererFan
d39898edf4 Add BezCurve tangent/symmetric buttons to Draft.Edit 2014-02-23 11:54:58 -03:00
WandererFan
d6313b057a Add Draft Bezier Curve draw & edit mockup using bSpline tools. 2014-02-23 11:54:58 -03:00
WandererFan
70e0431341 Add Draft makePathArray and _PathArray
Add Draft PathArray GUI tool
2013-11-28 11:42:14 -02:00
Yorik van Havre
3b76037a65 Draft: Dimension recode - fixes #1000, #852, #678
Draft dimensions have been recoded and should now behave better in non-XY planes,
and gained several new properties to adjust their look.
2013-11-13 19:25:01 -02:00
Yorik van Havre
47740cd688 Draft: Added Facebinder tool 2013-10-10 19:25:33 -03:00