Commit Graph

23636 Commits

Author SHA1 Message Date
Yorik van Havre
e537a1f7f8 Merge pull request #4727 from bitacovir/TransformManip_Icon
[UI] Add SVG icon for Std TransformManip command
2021-04-19 11:21:53 +02:00
Yorik van Havre
6834dc96b0 Merge pull request #4735 from easyw/master
allowing to export stpZ files on different disk drivers
2021-04-19 11:20:34 +02:00
Yorik van Havre
c364155c42 Merge pull request #4728 from sde1000/webgl-export-javascript-update
Arch: Improve WebGL export javascript template
2021-04-19 11:14:01 +02:00
Yorik van Havre
97f45b471f Merge pull request #4729 from marioalexis84/draft-gui_trimex
Draft: Fix regression in trimex command
2021-04-19 11:13:12 +02:00
tomate44
8b0c58d1b4 Part: Shape.ReflectLines: add 2D/3D, visibility and EdgeType options 2021-04-18 08:26:26 +02: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
turn211
47a41ae1c8 Gui: ProDark Stylesheet QT Icon Fix
forum thread: https://forum.freecadweb.org/viewtopic.php?f=34&t=57427
2021-04-15 10:52:57 +02:00
donovaly
9d95887dcb [PD] [skip ci] fix sprocket icon
in the Wiki it is displayed wrong because e.g. Firefox cannot handle the strange code inside the SVG
2021-04-14 15:20:49 +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
donovaly
525f5dd709 [GUI] new icon to mark for recomputation
The icon is from @bitacovir
2021-04-14 14:57:40 +02:00
luz paz
6a7184139d Gui: remove Py2 code from several src/Gui .cpp files 2021-04-14 14:56:02 +02:00
Chris Hennes
fc1dc18cf6 [GUI] Stylesheet fix for icons in Qt file dialog
Work by @turn211.
2021-04-14 13:33:40 +02:00
wmayer
d504c12517 PD: [skip ci] fixes -Wreturn-std-move 2021-04-13 18:55:18 +02:00
easyw
ef2df71dbb allowing to export stZ files on different drivers
os.rename() doesn't move its actual data on the disk
shutil.move() method allows to transfer files between two different drives
2021-04-13 15:56:31 +02:00
Uwe
1e5c0fcef7 [FEM] add support for 3D recombinations (#4706)
* [FEM] add support for 3D recombinations

currently we only support surface recombinations but for some applications 3D recombinations are useful as well

* add support for the recombination algorithms

using a sensible algorithm is important to get useful results, see https://wiki.freecadweb.org/FEM_MeshGmshFromShape#Properties
where I described examples
2021-04-13 07:32:44 +02:00
wmayer
d4e01609fe Base: [skip ci] add convenience function to get PyObjectBase from GeometryT 2021-04-12 15:12:21 +02:00
wmayer
a2574987b4 Base: [skip ci] remove Py2 code from PyObjectBase 2021-04-12 14:17:16 +02:00
wmayer
733cbce2c6 Gui: fix memory leak 2021-04-12 00:06:18 +02:00
wmayer
7f01c558df Py: fix memory leak 2021-04-12 00:06:00 +02:00
wmayer
6f1455700e Py: fix memory leak 2021-04-12 00:05:42 +02:00
marioalexis
b42994fbc4 Draft: Fix regression in trimex command 2021-04-11 16:24:02 -03:00
wmayer
111a21e45c Base: do not report C++ exception when converting it to Python exception
See https://forum.freecadweb.org/viewtopic.php?f=23&t=56464
2021-04-11 14:54:11 +02:00
Stephen Early
37e5942c9b Improve WebGL export javascript template
Several improvements to the javascript in the template:

 * Render on demand rather than continuously
 * Support high-DPI displays
 * Fix the frustum depth for both cameras
 * Deal correctly with the browser window being resized
 * Only show controls for objects with geometry

Also some changes made for code clarity:

 * Use 'const' and 'let' instead of 'var', as appropriate
 * Use for...of and .map() instead of iterating over arrays
   using a loop counter
2021-04-10 18:03:09 +01:00
wmayer
e01f0d25d5 Import: [skip ci] for glTF export set scale factor of 0.001 because lengths are measured in meters 2021-04-10 18:37:56 +02:00
bitacovir
6b8379824f [UI] Add SVG icon for Std TransformManip command 2021-04-09 14:18:22 -04:00
wmayer
4e4068e44f Py: fix memory leak 2021-04-09 16:59:33 +02:00
donovaly
cc0af9b4dd [FEM] proper support for Gmsh HighOrder optimization
There are 4 optimizers available while we only supported 1. This PR adds support for all.
2021-04-08 13:29:50 +02:00
donovaly
3a36602ae8 fix bug that property "SprocketReference" is not an enum 2021-04-07 17:07:01 +02:00
donovaly
cadbacb683 [PD] sort entries in sprocket feature
as the title says.

(The other UI file changes were made by Qt's designer.)
2021-04-07 17:07:01 +02:00
Yorik van Havre
1e36b6095c Merge pull request #4712 from tomate44/wirestring
Draft.ShapeString : add option to choose wires or faces output
2021-04-07 13:06:22 +02:00
Abdullah Tahiri
a855033f21 Sketcher: Adapt fillet to moving addConstraint 2021-04-07 08:05:04 +02:00
Syres916
476ff00360 [0.20][PartDesign] Sprocket - Correct camelCase 2021-04-06 16:40:44 +02:00
Syres916
ff88c2dbad [0.20][PartDesign] Sprocket UI - Allow multiple...
... standard reference sprockets rather than just ANSI as well as capturing the thickness as stated in the particular standard. The user is not bound by this but it saves them looking it up manually.
See recent posts in discussion : https://forum.freecadweb.org/viewtopic.php?f=22&t=44525
2021-04-06 16:40:44 +02:00
Syres916
49ecb37137 [0.20][PartDesign] Sprocket - Allow multiple...
... standard reference sprockets rather than just ANSI as well as capturing the thickness as stated in the particular standard. The user is not bound by this but it saves them looking it up manually.
See recent posts in discussion : https://forum.freecadweb.org/viewtopic.php?f=22&t=44525
2021-04-06 16:40:44 +02:00
donovaly
dff561a1b0 [PD] UI file fixes
the rotation angle settings of primitives had a different layout than the other parameters, this things like shown in the image below happened.

- The PR uniforms all layouts to grid and for the PD layout
- it sets for the cylinder page a minimum width
- the PD UI file is now also sorted using David's file sorter
- fix the mess with stdset="0"> I accidentally introduced with the merges from yesterday (I simply forgot to install to Qt designer the FreeCAD widgets and then designer pollutes the file with these tags for all FC-specific widgets since it doesn't know them
2021-04-06 13:17:43 +02:00
donovaly
d26e7500ab [Part] [skip ci] add a word in description
since we have now 3 angles for cylinders, make clear the angle property is for the rotation
2021-04-06 11:39:51 +02:00
wmayer
69aa35578e Base: Vector3::GetAngle() uses a smaller epsilon 2021-04-06 11:37:35 +02:00
luz paz
373e3a68aa [TD] icon uniformity for ActiveView and FaceCenterLine commands
Renamed SVGs, saved as plain svg, updated appropriate areas in the source code
2021-04-05 14:41:30 +02:00
donovaly
7185ee93f2 [PartDesign] add direction to cylinder primitive
We already have the possibility to create skewed prisms. I recently stumbled upon that I would need this feature for cylinders too.

This PR takes the existing prism extrude direction feature and use it for cylinders too
2021-04-05 14:35:50 +02:00
donovaly
c0e6debcfa [Part] add direction to cylinder primitive
We already have the possibility to create skewed prisms. I recently stumbled upon that I would need this feature for cylinders too.

This PR takes the existing prism extrude direction feature and use it for cylinders too
2021-04-05 13:59:03 +02:00
wmayer
64dbe342e1 PartDesign: for Prism feature use PrismExtension 2021-04-05 13:25:36 +02:00
wmayer
57d2a2fae0 Part: for Prism feature use PrismExtension 2021-04-05 13:25:19 +02:00