Commit Graph

1544 Commits

Author SHA1 Message Date
Tomas Pavlicek
be19f397f3 TechDraw - Add edge midpoint cosmetic vertex fix - added comments 2021-06-24 20:47:10 +02:00
Tomas Pavlicek
0fd02a4c11 TechDraw - Add edge midpoint cosmetic vertex fix 2021-06-21 15:20:52 +02:00
donovaly
90d59ef3dc [TD] save new template as plain SVG
we had several times problems with template SVGs containing Inkscape-special code, thus save the template as plain SVG
2021-06-20 19:07:11 +02:00
Yorik van Havre
69b084f492 Merged crowdin translations 2021-06-17 16:04:02 +02:00
Yorik van Havre
7c5f8d8737 Updated ts files 2021-06-17 15:49:33 +02:00
andesfreedesign
5c4e40b7e6 Add A4 format template according to IRAM standard
IRAM (Argentine Institute for Materials Rationalization)
2021-06-13 18:51:12 -03:00
wmayer
07c65c65d6 TD: fix -Wunused-private-field 2021-06-12 11:00:53 +02:00
Yorik van Havre
4a9963a03f Merged crowdin translations 2021-06-10 12:24:24 +02:00
Yorik van Havre
5739d6eb7c Updated ts files 2021-06-10 11:48:18 +02:00
0penBrain
d8194ec237 [TechDraw] Add 'getPage' Python API ; returns page from view 2021-06-09 17:38:25 +02:00
Yorik van Havre
d0d637b2c6 merged crowdin translations 2021-06-03 15:43:34 +02:00
Yorik van Havre
b1d9a5607f Merged crowdin translations 2021-05-27 14:51:33 +02:00
Yorik van Havre
c6771853ae Updated translation files 2021-05-27 14:44:40 +02:00
mapeze
60a75e5d24 Fix TechDraw View Spreadsheet with merged cells, 2 2021-05-21 17:26:13 +02:00
donovaly
b981f9056c [TD] fix centerline crashes and bugs
the PR fixes the following things:
- change the way centerlines between 2 lines are calculated. The current implementation leads to many bugs and even crashes (e.g. when the 2 selected lines are parallel ones of a square). There are different forum threads from the last 1.5 years.
The new endpoint line sorting is the one described here: https://forum.freecadweb.org/viewtopic.php?f=35&start=20&t=44255&sid=989a668890f954c13ef81e4a04ee6912#p501179

- as consequence the erroneous and misleading line end flipping can go and is removed (only used internally)

- when creating a new centerline, you see it immediately

- when creating a new or editing an existing centerline and press Cancel, the creation/editing is aborted

- fix crash when the 2 selected lines are bot horizontal and one tries to create a vertical centerline

- fix crash when changing the orientation  of an existing centerline and the result would be invalid

- cleanup the code a bit
2021-05-15 05:21:29 +02:00
Yorik van Havre
7b0a6358b1 Merged crwodin translations 2021-05-12 16:36:31 +02:00
Yorik van Havre
1175f2a38d Merge pull request #4779 from bitacovir/TD_Tree_Icons
[TD] Name uniformity for TechDraw_Tree Icons
2021-05-12 15:38:14 +02:00
Yorik van Havre
81a44fcccb Updated ts files 2021-05-11 13:05:20 +02:00
Yorik van Havre
4b4087e18f Merge pull request #4773 from steelman/techdraw-svg-layer
[TD] Make the root SVG group a layer for Inkscape
2021-05-11 12:15:14 +02:00
bitacovir
9502501f61 Update TechDraw_TreePageTemplate.svg 2021-05-08 08:26:04 -04:00
bitacovir
20f0084b81 Update TechDraw_TreeView.svg
metadata name updated
2021-05-07 16:34:35 -04:00
bitacovir
9e902124a0 Update TechDraw_TreeSymbol.svg
metadata name updated
2021-05-07 16:33:29 -04:00
bitacovir
7d7b9ba5d0 Update TechDraw_TreeSpreadsheet.svg
metadata name updated
2021-05-07 16:31:49 -04:00
bitacovir
5bb3f9d3f1 Update TechDraw_TreeSection.svg
metadata name updated
2021-05-07 16:30:07 -04:00
bitacovir
1eae45bd77 Update TechDraw_TreeProjGroup.svg
metadata names updated
2021-05-07 16:28:43 -04:00
bitacovir
4a2ac428b8 Update TechDraw_TreePageTemplate.svg
metadata names updated
2021-05-07 16:24:58 -04:00
bitacovir
9f98889fc6 Update TechDraw_TreePage.svg
metadata names updated
2021-05-07 16:00:36 -04:00
bitacovir
ac8b47e5ca Update TechDraw_TreeMulti.svg
metadata names updated
2021-05-07 15:58:53 -04:00
bitacovir
158e51398e Update TechDraw_TreeHatch.svg
metadata names updated
2021-05-07 15:57:31 -04:00
bitacovir
468af0e714 [TD] Name uniformity for Tree Icons 2021-05-07 12:07:35 -04:00
Yorik van Havre
131cdd1e4e Merge pull request #4557 from luzpaz/crowdin/whitespaces-substituted-into-code
Crowdin: represent whitespace in code instead of in string
2021-05-05 17:18:35 +02:00
Łukasz Stelmach
9904d42f57 [TD] Make the root SVG group a layer for Inkscape
Layers are Inkscape way of marking top level groups. Inkscape provides
convenient UI to show and hide these groups as well as to lock them to
prevent users from accidentally editing them. Although Inkscape can open
and edit files without layers (without any top level group having the
groupmode attribute set to "layer"), it is somewhat cumbersome to move
the group created by TechDraw to a separate layer, which is what I do,
when I want to add more layers with additional information.

Signed-off-by: Łukasz Stelmach <stlman@poczta.fm>
2021-05-03 21:39:07 +02:00
wmayer
f5f3acc2a3 TD: remove some more deprecated Py2 code 2021-04-26 11:01:59 +02:00
wmayer
ea96f18601 TD: do not delete mtextedit.h for in-source builds 2021-04-25 13:15:20 +02:00
wmayer
ae0a31542f TD: fix memory leaks in BaseGeom::baseFactory() and make code more readable 2021-04-23 17:05:13 +02:00
luz paz
1d60dbdc85 [TD] remove Py2 code from TD 2021-04-22 13:08:56 +02:00
Yorik van Havre
d775aa930b Merge pull request #4724 from Syres916/patch-15
[Techdraw] Fix minor bug changing Image Crop...
2021-04-22 10:59:23 +02:00
wmayer
ee98ed5baf CMake: disable moc for some targets and fix failure for existing builds 2021-04-19 15:13:17 +02:00
Mateusz Skowroński
92683e1f63 Fix CMake warning: qt5_make_output_file is not part of the official API, and might be removed in Qt 6. 2021-04-19 15:10:53 +02:00
luz paz
1388db3c0a Crowdin: represent whitespace in code instead of string 2021-04-19 06:23:07 -04:00
Alexander Golubev
33cca2e6c6 TD: fix center line style settings
forum thread: https://forum.freecadweb.org/viewtopic.php?f=35&t=57783
2021-04-17 11:39:13 +02:00
luz paz
6c52a46d07 [TD] remove icons/cursor-balloon.png and replace references w/ SVG file
Replacing w/ the already installed`TechDraw_Balloon.svg` file in the same directory.
2021-04-17 11:38:10 +02:00
luz paz
84dffcc460 [TD] Replace techdraw-lock.png and rename with TechDraw_Lock.svg 2021-04-17 11:38:10 +02:00
luz paz
5d890d8ba2 [TD] Cont. organizing TechDraw.qrc file
Use similar approach that is used in `src/Mod/Fem/Gui/Resources/Fem.qrc`
2021-04-17 11:38:10 +02:00
luz paz
73d330b0c8 [TD] Renamed ProjectionGroup, Hatch, GeomericHatch 2021-04-17 11:38:10 +02:00
luz paz
ef4ef201e7 [TD] Renamed ClipGroup, ClipGroupAdd, ClipGroupRemove 2021-04-17 11:38:10 +02:00
luz paz
d703d9a89c [TD] Renamed SpreadsheetView, RichTextAnnotation, SectionView...
`Quadrants`, `DetailView`, `ShowAll`
2021-04-17 11:38:10 +02:00
luz paz
147e4aafff [TD] icon name uniformity (cont.)
`WeldSymbol`, `PageDefault`, `PageTemplate`, `Symbol`, `ExportPageSVG`. `ExportPageDXF`, and `Tile`  
Moved `icons/arrow*` files further down the list + continuing to sort.
2021-04-17 11:38:10 +02:00
luz paz
3c1eefd7a3 [TD] Fix minor superfluous whitespace [skip ci] 2021-04-14 15:20:20 +02:00
luz paz
f50521a7ab [TD] Fix typo in Gui/CommandAnnotate.cpp [skip ci] 2021-04-14 15:19:51 +02:00