Commit Graph

22571 Commits

Author SHA1 Message Date
Bernd Hahnebach
5be99d7469 Arch: import IFC, Materials, small code improvements, no changes 2021-10-28 15:43:35 +02:00
Bernd Hahnebach
5f8422e7ea Arch: import IFC, use doc identifier instead of FreeCAD.ActiveDocument 2021-10-28 09:49:51 +02:00
Bernd Hahnebach
636be32ec0 Arch: IFC export and import, some code formating (only very clearly ones) 2021-10-27 23:10:01 +02:00
Roy-043
d019e28c08 Draft: Fix merge layers
The "Merge layer duplicates" Tree view context menu option for LayerContainers did not work.

Additionally:
- Using `openTransaction` and `commitTransaction` is required for the `merge_by_name` function but also for the `add_layer` function. Otherwise undo-redo does not work properly.
- Have replaced `translate("Draft", ...)` with `_tr(...)`.
2021-10-27 08:32:10 +02:00
Bernd Hahnebach
6d6559e99c Arch: import IFC, replace project, comment debug print 2021-10-27 08:17:48 +02:00
luz paz
e780af1184 Arch: add missing paranthesis to strings
Found while approving translations in crowdin
2021-10-26 22:24:38 +02:00
Bernd Hahnebach
c581a5b3dc Arch: import IFC, fix import if replace project and only one building or one storey 2021-10-26 22:18:37 +02:00
Tomas Pavlicek
17f328c7a9 [Gui] Issue #3923 - Arbitrary Tree item ordering + tests 2021-10-26 19:09:34 +02:00
wmayer
f275893f5f Spreadsheet: [skip ci] update translation 2021-10-26 17:40:48 +02:00
wmayer
82d147b0a3 Spreadsheet: [skip ci] add sub-menu text for translation 2021-10-26 17:40:21 +02:00
Bernd Hahnebach
6ac93003ee Arch: import IFC, Layers, do not overwrite the imported object color and line color with the default layer values 2021-10-26 16:42:07 +02:00
luz paz
d917e65c99 PD: Expose missing commands to translation in Measure dropdown menu
Fixes https://github.com/FreeCAD/FreeCAD-translations/issues/6
2021-10-26 10:35:21 -04:00
Bernd Hahnebach
8c3c9d4a1c Arch: import IFC, fix new preference for not importing Layer 2021-10-26 14:02:58 +02:00
Bernd Hahnebach
5bb0ffe0e4 Arch: import IFC, add preference to not import Layer 2021-10-26 13:52:50 +02:00
Bernd Hahnebach
433929490e Arch: import IFC, some comments 2021-10-26 12:36:37 +02:00
Bernd Hahnebach
bddce5f082 Arch: import IFC, materials, improve code but no changes on what is done 2021-10-26 12:25:51 +02:00
Bernd Hahnebach
cf64ff763e Arch: import IFC, fix merge material preference import 2021-10-26 11:24:12 +02:00
Yorik van Havre
0b7018ce64 Merge pull request #5119 from Roy-043/Draft-Fix-Draft_SelectPlane-ignores-nesting
Draft: Fix Draft_SelectPlane ignores nesting
2021-10-25 14:16:44 +02:00
Yorik van Havre
3262b13751 Merge pull request #5124 from Roy-043/Draft-Fix-snap-cycling-if-length-has-focus
Draft: Fix snap cycling if length input has focus
2021-10-25 14:15:13 +02:00
wmayer
87169c8119 Mesh: embed Evaluation dialog into a scroll area 2021-10-24 21:36:44 +02:00
wmayer
505e8564b2 Mesh: Mesh.createBox() now accepts a bounding box as argument 2021-10-23 18:58:43 +02:00
luz paz
56aeb07202 Sketcher: fix typos in Constraint Widget
- Follow-up to 5b745514e0f

- Sketcher: fix relevant typos

- Re-Add mistakenly deleted files

- fix build
2021-10-23 18:37:33 +02:00
wmayer
12fe72e66e Part: for vertex, edge, wire use BRepExtrema_DistShapeShape to check whether point is inside 2021-10-23 16:39:28 +02:00
Chris Hennes
33a7e6ba4a Merge pull request #5122 from Roy-043/Draft-Fix-Draft_Edit-sketch-issue
Draft: Fix Draft_Edit sketch issue
2021-10-22 14:59:10 -05:00
Chris Hennes
5f4516dfdf Merge pull request #5118 from easyw/master
stpZ Import: deleting temp file (result of a previous export)
2021-10-22 13:25:03 -05:00
wmayer
c1910e644f PD: [skip ci] when creating a datum object allow user to create a body if needed 2021-10-22 20:23:16 +02:00
Roy-043
54d43ce262 Update DraftGui.py
The Y and Z inputs also require the event filter.
2021-10-22 20:04:06 +02:00
wmayer
50be9655e8 PD: open transaction when calling item of context-menu of sketch based features 2021-10-22 20:01:43 +02:00
Roy-043
80d0a5e97d Draft: Fix snap cycling if length input has focus 2021-10-22 19:47:23 +02:00
wmayer
16e797362a PD: [skip ci] code cleanup 2021-10-22 19:06:57 +02:00
wmayer
ed0d3c16f2 Part: do not open a second transaction when there is already a pending transaction 2021-10-22 18:49:49 +02:00
wmayer
5abe0ba77f Mesh: add basic support of 3MF file format 2021-10-22 17:11:16 +02:00
Chris Hennes
7a6907ca13 Merge pull request #5123 from coldtobi/surface_fix_geticon
Surface: Fixes Surface_ExtendFace icon resource name
2021-10-22 08:37:17 -05:00
wmayer
fabcdf5b28 Part: adjust orientation of refined face to input faces 2021-10-22 14:11:00 +02:00
Tobias Frost
c61c7e7d7b Fixes SurfaceExtend icon not being found.
Before this patch, ViewProviderExtend::getIcon() returned "Surface_Extend",
which does not exist; The icon file is "Surface_ExtendFace".
2021-10-22 09:44:55 +02:00
easyw
860b7cdd40 Merge branch 'master' into master 2021-10-22 09:37:22 +02:00
Roy-043
c8a9ec2e8b Draft: Fix Draft_Edit sketch issue
Draft_Edit did not work on wall sketch after reopening file
2021-10-21 21:40:55 +02:00
wmayer
167e11596a Surface: [skip ci] only try to build surface if at least two boundary curves are used 2021-10-21 18:23:03 +02:00
wmayer
d0a75e0a84 Sketcher: fix segmentation fault when using sketch validation dialog after document has been closed
Therefore replace the raw pointer of SketchObject with the template class WeakPtrT. This class will be notified as soon as its handled object will be deleted.
2021-10-21 16:22:11 +02:00
luz paz
397729e33e Fix various typos
Found via `codespell -q 3 -L aci,ake,aline,alle,alledges,alocation,als,ang,anid,apoints,ba,beginn,behaviour,bloaded,bottome,byteorder,calculater,cancelled,cancelling,cas,cascade,centimetre,childs,colour,colours,commen,connexion,currenty,dof,doubleclick,dum,eiter,elemente,ende,feld,finde,findf,freez,hist,iff,indicies,initialisation,initialise,initialised,initialises,initialisiert,inout,ist,kilometre,lod,mantatory,methode,metres,millimetre,modell,nd,noe,normale,normaly,nto,numer,oder,ontop,orgin,orginx,orginy,ot,pard,parms,pres,programm,que,recurrance,rougly,seperator,serie,sinc,strack,substraction,te,thist,thru,tread,uint,unter,vertexes,wallthickness,whitespaces -S ./.git,*.po,*.ts,./ChangeLog.txt,./src/3rdParty,./src/Mod/Assembly/App/opendcm,./src/CXX,./src/zipios++,./src/Base/swig*,./src/Mod/Robot/App/kdl_cp,./src/Mod/Import/App/SCL,./src/WindowsInstaller,./src/Doc/FreeCAD.uml,./build/doc/SourceDocu`
2021-10-20 18:18:33 -04:00
wmayer
508d113e21 Mesh: improve MeshGeomFacet::IntersectWithFacet 2021-10-20 19:42:39 +02:00
Chris Hennes
0086896279 Merge pull request #5115 from Syres916/patch-33
[Sketcher] Angle Constraint Name displayed...
2021-10-20 08:39:46 -05:00
Chris Hennes
bd4dd70f03 Merge pull request #5120 from Roy-043/Draft-Fix-TeighaFileConverter-tooltip
Draft: Fix TeighaFileConverter tooltip
2021-10-20 08:26:36 -05:00
Chris Hennes
4031e85120 [Sketcher] Workaround for Elements theme issue
After merging the change to the Constraint status label in 1acb74072,
the TaskSketcherElements would sometimes be reduced in size to just a
line or two, if multiple task views were expanded and a stylesheet was
enabled. This commit introduces a minimum size to the TSE to prevent
that from occurring.
2021-10-20 08:06:05 -05:00
luz paz
68348d5d18 Mesh: Apply the translation function appropriately 2021-10-20 08:53:51 -04:00
luz paz
14fa4b95f1 Mesh: added attribution to @looooo in MeshFlatteningCommand.py 2021-10-20 08:46:23 -04:00
luz paz
fe353c1066 Mesh: added license header to MeshFlatteningCommand.py 2021-10-20 08:30:36 -04:00
luz paz
d10ca34bf9 Mesh: remove superfluous whitespace + Improve readability of code 2021-10-20 08:30:36 -04:00
luz paz
6ec8ec10b2 Crowdin: Fixes to Mesh WB translations
Closes https://github.com/FreeCAD/FreeCAD-translations/issues/54  

Exposes Mesh -> 'Cutting' sub-menu
2021-10-20 08:30:36 -04:00
Roy-043
54ea572596 Draft: Fix TeighaFileConverter tooltip
The TeighaFileConverter preference is now used for 3 DWG converters. The tooltip needs to reflect that.
2021-10-20 13:25:18 +02:00