Commit Graph

2002 Commits

Author SHA1 Message Date
donovaly
5841a28abd [Sketch] save new icons as plain SVG 2021-06-20 19:06:43 +02:00
donovaly
c013e4e13e [Sketch] fix these issues:
- missing menu entry for centered rectangle
- typo
- uniform word casing
- duplicated accel key
- remove superfluous comment
2021-06-20 19:06:09 +02:00
Abdullah Tahiri
5ba1b79b5a Sketcher: Add centered rectangle to the menu 2021-06-20 08:24:02 +02:00
Abdullah Tahiri
2470d9f959 Sketcher: Update icon resources 2021-06-20 08:23:31 +02:00
Abdullah Tahiri
b9b7ae94a0 Sketcher: centered rectangle icons 2021-06-20 08:23:01 +02:00
Abdullah Tahiri
bf88c21f74 Sketcher: Centered Rectangle Creation 2021-06-20 08:14:18 +02:00
Abdullah Tahiri
cbcbb9de51 Sketcher: Reorder rounded rectangle code next to normal rectangle code 2021-06-20 07:07:22 +02:00
donovaly
c668b4b0d8 [Sketch] update icons - part 4 of 4
save icons with uniform DPI and as plain SVG
2021-06-20 06:43:25 +02:00
donovaly
2d5da47e09 [Sketch] update icons - part 3
save icons with uniform DPI and as plain SVG
2021-06-20 06:42:21 +02:00
donovaly
0691a095c9 [Sketch] update icons - part 2
save icons with uniform DPI and as plain SVG
2021-06-20 06:41:20 +02:00
donovaly
35d1794b8f [Sketch] update icons - part1
save icons with uniform DPi and as plain SVG
2021-06-20 06:40:35 +02:00
Abdullah Tahiri
f8e365534a Sketcher: Resources updated manually 2021-06-20 06:33:17 +02:00
Abdullah Tahiri
b0b28fd97c Sketcher: Remove axes alignment icon 2021-06-20 06:32:51 +02:00
Abdullah Tahiri
e7e1db28f2 Sketcher: UI toolbar/menu remove axes alignment 2021-06-20 06:16:33 +02:00
Abdullah Tahiri
87342ec668 Sketcher: Python wrappers for new remove axes alignment algorithm 2021-06-20 06:16:21 +02:00
Abdullah Tahiri
11410fa53e Sketcher: Remove Axes Alignment algorithm 2021-06-20 06:16:11 +02:00
donovaly
a109ff11f0 [Sketch] add new sketch object rounded rectangle
while constructing I miss often that one cannot insert directly rounded rectangles. As it is, one needs first to insert a rectangle, then go to fillet mode, then click 4 times, then set equal constraint, then often also replace the vertical/horizontal constraints since a rectangle must not necessarily be parallel to a sketch axis

As solution this PR adds rounded rectangles in one step. This saves a lot of time since this object is e.g. often used for milled rectangular pockets, for 3D-printed pads etc.

As discussed I grouped the rectangle and rounded rectangle.
2021-06-20 06:14:24 +02:00
Abdullah Tahiri
1fe07e6eab Sketcher: Default parameter to meaningful value 2021-06-19 13:56:18 +02:00
0penBrain
4d8e9e8ba1 [Sketcher] Remove no more used preference 2021-06-19 13:45:53 +02:00
0penBrain
398c3fbc2d [Sketcher] Radiam is default tool for radius/diameter constraining
Default is no more an option but last used tool is remained for next session
2021-06-19 13:45:53 +02:00
0penBrain
f3df63b4de [Sketcher] Radiam : fix bug in constraint processing 2021-06-19 13:45:53 +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
wmayer
358578f4a0 Sketcher: replace or keyword with || as it's not supported by all compilers 2021-06-13 11:02:27 +02:00
0penBrain
9b881b4822 [Sketcher] Radiam : add icons 2021-06-12 07:07:28 +02:00
0penBrain
cad82683d8 [Sketcher] Radiam : add specific management for Bspline poles 2021-06-12 07:07:28 +02:00
0penBrain
7b5a23968c [Sketcher] Radiam : make the command basically usable into Gui 2021-06-12 07:07:28 +02:00
0penBrain
e3e889705a [Sketcher] Introduce 'Radiam' command that auto set radius or diameter constraint based on geom type
Radius is applied in arcs and BSpline poles
 Diameter is applied on complete circles that aren't BSpline poles
2021-06-12 07:07:28 +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
555c2e5a0d [Sketcher] Fix 'Reference' checkbox not working for diameter 2021-06-06 07:12:38 +02:00
Yorik van Havre
3e98ff41f9 Updated ts files 2021-06-04 18:30:30 +02:00
0penBrain
65c6dbb83a [Sketcher] Fix 'Reference' checkbox not working for radius/diameter ; fixes #4627
As a consequence :
Remove message box when several arcs/circles are selected ...
... and enforce creation of equality constraints in this case
Former existing option of adding a dimensional constraint ...
... to each circle encouraged improper constraining
2021-06-04 06:12:51 +02:00
Yorik van Havre
9f81ca933d merged crowdin translations 2021-06-03 15:43:34 +02:00
Yorik van Havre
441635aff0 updated ts files 2021-06-03 15:37:33 +02:00
donovaly
135d809dfb [Sketch] fix too long tooltips
- they were too long for smaller screens
- the other UI file changes were automatically make by Qt Designer
2021-06-01 08:12:52 +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
0penBrain
bb434d3ff2 [Sketcher] Visibility automation : add option to force orthographic view when entering edit mode 2021-05-13 14:10:44 +02:00
Yorik van Havre
0be2757e13 Merged crwodin translations 2021-05-12 16:36:31 +02:00
Yorik van Havre
91ea7fbba8 Updated ts files 2021-05-11 13:05:20 +02: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
wmayer
0ff70c61ed Sketcher: [skip ci] fix memory leak in GeometryFacade 2021-04-27 00:20:57 +02:00
wmayer
5e2abd4f80 Sketcher: [skip ci] remove superfluous semicolons 2021-04-26 23:05:18 +02:00
wmayer
01d621406f Sketcher: [skip ci] fix memory leak in GeometryFacadePy 2021-04-26 12:30:02 +02:00
bitacovir
1d4722f32c [UI] Replace SVG icon files for Plain SVG format 2021-04-25 22:04:17 +02:00
0penBrain
5c10c586cd [Sketcher] Visibility automation : add ability to open sketch in Section View mode 2021-04-24 16:22:46 +02:00
Abdullah Tahiri
841c328eb3 Sketcher: Changes to split edge functionality
=============================================

This commit is directed to external functionality of the split() function.

1. getAppliedConstraints renamed to getConstraintIndices

This is just for clarity being a general function

2. SwapInvolvedGeometry functionality moved to Constraint class

Why?
i. Because it is a specific operation on a constraint, it must not be
a public function, as it does not define interface of the Sketch.
ii. It could be a lambda or a private utility function, but them it would not be reusable.
iii. It could be part of a helper class, but then, it is would be less reusable.

3. renaming of the flag passed to transferConstraints function
2021-04-24 14:38:44 +02:00
Tomas Pavlicek
a7d83b5e15 Sketcher - Add new Split Edge action 2021-04-24 14:30:35 +02:00
luz paz
9e6fe284ed Sketcher: remove Py2 code from Sketcher wb 2021-04-22 14:11:04 +02:00