Commit Graph

1544 Commits

Author SHA1 Message Date
Tomas Pavlicek
f31988b010 TechDraw - Add edge midpoint cosmetic vertex fix - added comments 2021-06-24 20:47:10 +02:00
Tomas Pavlicek
505a12cb5a TechDraw - Add edge midpoint cosmetic vertex fix 2021-06-21 15:20:52 +02:00
donovaly
d58940756e [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
24362e9020 Merged crowdin translations 2021-06-17 16:04:02 +02:00
Yorik van Havre
d12702e588 Updated ts files 2021-06-17 15:49:33 +02:00
andesfreedesign
e0ea73bfe4 Add A4 format template according to IRAM standard
IRAM (Argentine Institute for Materials Rationalization)
2021-06-13 18:51:12 -03:00
wmayer
d34a8cad32 TD: fix -Wunused-private-field 2021-06-12 11:00:53 +02:00
Yorik van Havre
ee6a9b8c7d Merged crowdin translations 2021-06-10 12:24:24 +02:00
Yorik van Havre
78436e0f35 Updated ts files 2021-06-10 11:48:18 +02:00
0penBrain
bfc17a764d [TechDraw] Add 'getPage' Python API ; returns page from view 2021-06-09 17:38:25 +02:00
Yorik van Havre
9f81ca933d merged crowdin translations 2021-06-03 15:43:34 +02:00
Yorik van Havre
dd1220b345 Merged crowdin translations 2021-05-27 14:51:33 +02:00
Yorik van Havre
4b7a5d2e98 Updated translation files 2021-05-27 14:44:40 +02:00
mapeze
c2c4d64704 Fix TechDraw View Spreadsheet with merged cells, 2 2021-05-21 17:26:13 +02:00
donovaly
2bc5ac2e4b [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
0be2757e13 Merged crwodin translations 2021-05-12 16:36:31 +02:00
Yorik van Havre
646a33dbb7 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
91ea7fbba8 Updated ts files 2021-05-11 13:05:20 +02:00
Yorik van Havre
a59eccb3c1 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
d6c92946ac Update TechDraw_TreePageTemplate.svg 2021-05-08 08:26:04 -04:00
bitacovir
3aa21509b8 Update TechDraw_TreeView.svg
metadata name updated
2021-05-07 16:34:35 -04:00
bitacovir
cb54104189 Update TechDraw_TreeSymbol.svg
metadata name updated
2021-05-07 16:33:29 -04:00
bitacovir
b298cc04a0 Update TechDraw_TreeSpreadsheet.svg
metadata name updated
2021-05-07 16:31:49 -04:00
bitacovir
00612e93a0 Update TechDraw_TreeSection.svg
metadata name updated
2021-05-07 16:30:07 -04:00
bitacovir
af6d977043 Update TechDraw_TreeProjGroup.svg
metadata names updated
2021-05-07 16:28:43 -04:00
bitacovir
06b99bd26e Update TechDraw_TreePageTemplate.svg
metadata names updated
2021-05-07 16:24:58 -04:00
bitacovir
2b419b95ba Update TechDraw_TreePage.svg
metadata names updated
2021-05-07 16:00:36 -04:00
bitacovir
a5e7e0a697 Update TechDraw_TreeMulti.svg
metadata names updated
2021-05-07 15:58:53 -04:00
bitacovir
1dd00d6588 Update TechDraw_TreeHatch.svg
metadata names updated
2021-05-07 15:57:31 -04:00
bitacovir
b26069a508 [TD] Name uniformity for Tree Icons 2021-05-07 12:07:35 -04:00
Yorik van Havre
966906da96 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
ba5f7f5d80 [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
b831d9d7f2 TD: remove some more deprecated Py2 code 2021-04-26 11:01:59 +02:00
wmayer
8c4d77f2ca TD: do not delete mtextedit.h for in-source builds 2021-04-25 13:15:20 +02:00
wmayer
9209d35390 TD: fix memory leaks in BaseGeom::baseFactory() and make code more readable 2021-04-23 17:05:13 +02:00
luz paz
738a697d94 [TD] remove Py2 code from TD 2021-04-22 13:08:56 +02:00
Yorik van Havre
c52e55c75b Merge pull request #4724 from Syres916/patch-15
[Techdraw] Fix minor bug changing Image Crop...
2021-04-22 10:59:23 +02:00
wmayer
80415446cf CMake: disable moc for some targets and fix failure for existing builds 2021-04-19 15:13:17 +02:00
Mateusz Skowroński
9ade68e9bf 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
6f83a4a815 Crowdin: represent whitespace in code instead of string 2021-04-19 06:23:07 -04:00
Alexander Golubev
197a0692d3 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
60030e5f31 [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
18e707c6b7 [TD] Replace techdraw-lock.png and rename with TechDraw_Lock.svg 2021-04-17 11:38:10 +02:00
luz paz
d070091fc7 [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
f1eb1ff44e [TD] Renamed ProjectionGroup, Hatch, GeomericHatch 2021-04-17 11:38:10 +02:00
luz paz
035d146d88 [TD] Renamed ClipGroup, ClipGroupAdd, ClipGroupRemove 2021-04-17 11:38:10 +02:00
luz paz
d13e450343 [TD] Renamed SpreadsheetView, RichTextAnnotation, SectionView...
`Quadrants`, `DetailView`, `ShowAll`
2021-04-17 11:38:10 +02:00
luz paz
fe3d5d0728 [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
ab44403118 [TD] Fix minor superfluous whitespace [skip ci] 2021-04-14 15:20:20 +02:00
luz paz
6b4e7fb9d7 [TD] Fix typo in Gui/CommandAnnotate.cpp [skip ci] 2021-04-14 15:19:51 +02:00