Commit Graph

16011 Commits

Author SHA1 Message Date
David Daish
2b274d147a Work on ArchComponent docstrings 2020-04-22 12:17:08 +02:00
David Daish
56c01f17fa Best efforts on arch wall for now. 2020-04-22 12:17:08 +02:00
David Daish
753ddba191 Work on adding docstrings to ArchWall 2020-04-22 12:17:08 +02:00
luz.paz
5b1ea917e5 [skip-ci] AddonManager: Add ModernUI to AddonManager
Forum thread: https://forum.freecadweb.org/viewtopic.php?p=390064#p390071
2020-04-22 12:15:25 +02:00
carlopav
ff4ac3a3b4 Draft: reintroduced grid button in snap toolbar 2020-04-22 12:14:23 +02:00
carlopav
707550158d [Draft] Correct Draft Edit Tooltip in preferences
correction thx to Kunda1
2020-04-22 12:08:29 +02:00
vocx-fc
572d7f5757 Draft: move Label GuiCommand to gui_labels module
Also include carlopav's commit 225404c648 for the Draft_Label tool,
which runs the autogroup function on the created label.
2020-04-22 12:07:25 +02:00
vocx-fc
ea894c3f60 Draft: move Facebinder GuiCommand to gui_facebinders module 2020-04-22 12:07:25 +02:00
vocx-fc
e450a8bee3 Draft: move Point GuiCommand to gui_points module 2020-04-22 12:07:25 +02:00
vocx-fc
d4dbdf1695 Draft: move ShapeString GuiCommand to gui_shapestrings module 2020-04-22 12:07:25 +02:00
vocx-fc
fc8903ccba Draft: move Dimension GuiCommand to gui_dimensions module 2020-04-22 12:07:25 +02:00
vocx-fc
b928823768 Draft: move Text GuiCommand to gui_texts module 2020-04-22 12:07:25 +02:00
vocx-fc
99f885ee9b Draft: move Ellipse GuiCommand to gui_ellipses module 2020-04-22 12:07:25 +02:00
vocx-fc
feeb9b4245 Draft: move Polygon GuiCommand to gui_polygons module 2020-04-22 12:07:25 +02:00
vocx-fc
6398e749d5 Draft: move Circle GuiCommand to gui_circles module 2020-04-22 12:07:25 +02:00
vocx-fc
aa894ddc07 Draft: move Arc GuiCommand to gui_arcs module
Also move the `ArcGroup` that containst the two arc tools.
2020-04-22 12:07:25 +02:00
vocx-fc
42932b19a3 Draft: move Rectangle GuiCommand to gui_rectangles module 2020-04-22 12:07:25 +02:00
vocx-fc
5fbf6f8055 Draft: move CubicBezCurve GuiCommand to gui_beziers module
Also move the `BezierGroup` that contains the two Bezier tools.
2020-04-22 12:07:25 +02:00
vocx-fc
e2e9a17dd0 Draft: move BezCurve GuiCommand to gui_beziers module 2020-04-22 12:07:25 +02:00
vocx-fc
cd72ba253b Draft: move BSpline GuiCommand to gui_splines module 2020-04-22 12:07:25 +02:00
vocx-fc
3df6dab640 Draft: move Wire GuiCommand to gui_lines module 2020-04-22 12:07:25 +02:00
vocx-fc
96795ddadc Draft: move Line GuiCommand to gui_lines module 2020-04-22 12:07:25 +02:00
Bernd Hahnebach
1ec44a2d33 FEM: ccx writer, splitted file writting, only write object headers if there are objects 2020-04-22 08:29:33 +02:00
Bernd Hahnebach
9f9099bab5 FEM: ccx writer, splitted inp file, code improvements, but no changes in file writing 2020-04-22 08:29:28 +02:00
Bernd Hahnebach
94df79fffe FEM: ccx writer, splitted inp file, code moveing, but no changes in file writing 2020-04-22 08:29:22 +02:00
Bernd Hahnebach
92ef0eaece FEM: ccx writer, better analysis type checks for analysis member 2020-04-22 08:29:17 +02:00
ebrahimraeyat
e39a557ca4 FEM: ccx writer, better object existance checks 2020-04-22 08:29:09 +02:00
wmayer
eba07235aa Mesh: [skip ci] implement initial guess of cylinder axis 2020-04-21 19:31:48 +02:00
Yorik van Havre
ea5211e5d3 Arch: Also skip default storey when importing IFC with 'replace by group' option 2020-04-21 14:46:07 +02:00
Yorik van Havre
32d73bca15 Arch: Added IFC import option to replace project,site and building with a group 2020-04-21 13:43:28 +02:00
carlopav
5a4b78c0c3 [Draft] Fixed scale multiplier for text object 2020-04-21 12:58:20 +02:00
vocx-fc
f5bfb56e82 Draft: move Modifier class to gui_base_original module 2020-04-21 12:53:30 +02:00
vocx-fc
8b3bac1d73 Draft: move Creator class to gui_base_original module 2020-04-21 12:53:30 +02:00
vocx-fc
cb545c7fa8 Draft: import Part module where necessary for the tools
Also import `DraftGeomUtils` where necessary.

These modules were previously imported globaly when the base
`DraftTool` class was first called by the individual tools
through the `Creator` and `Modifier` classes.

However, since `DraftTool` was moved to a separate module,
these `Part` and `DraftGeomUtils` modules are no longer
in the `DraftTools` namespace, and therefore they
cannot be imported globally anymore.

Now the `Part` and `DraftGeomUtils` modules are imported
in the specific functions where they are actually needed.
2020-04-21 12:53:30 +02:00
vocx-fc
180544edbb Draft: move the base DraftTool class to its own module
This is the base class of most Draft Gui Commands,
particularly those which were developed a long time ago.
It is inherited by `Creator` and `Modifier`
to set some specific options for some tools.

Newer Gui Commands do not use these classes and thus
are independent of `DraftTool`.

Nevertheless, in the future we expect to organize further
the commands so that they all derive from a few classes,
so that they all share some common properties and behaviors.
2020-04-21 12:53:30 +02:00
vocx-fc
23e324280f Draft: move DraftTools utilities to another module
These small functions and utilities are placed in another
module, so they can be imported and called
by the individual Gui Command classes as necessary.

When these Gui Command classes are moved to their respective
modules, they will be able to import this auxiliary module as well.
2020-04-21 12:53:30 +02:00
vocx-fc
f518cfee8f Draft: GuiCommandSimplest to serve as base of simple Gui Commands
This class defines the `command_name` of the command,
so that it is output to the report view, and is also recorded
in the log file.

It also stores the current document so it can be used inside the
command.

The class implements with `IsActive` method so that the command
is only active when an active document exists.

Also `GuiCommandNeedsSelection`, which subclasses the former
class. It reimplements `IsActive` in order to be available
only when there is a selection.
2020-04-21 12:53:30 +02:00
Yorik van Havre
4d90327a97 Draft: Fixed further regressions 2020-04-21 12:46:08 +02:00
Yorik van Havre
aafe4b9f43 Draft: Fixed broken backwards compatibility with annotations 2020-04-21 12:20:10 +02:00
Yorik van Havre
05e1defb3b Fixed bad conflict merge in PArtDesign 2020-04-20 13:34:38 +02:00
luz.paz
7eb270017e [skip ci] fix documentation typos
Found via codespell v1.17.0.dev0  
```
codespell -q 3 -L aci,ake,aline,alle,alledges,alocation,als,ang,anid,ba,beginn,behaviour,bloaded,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,ist,kilometre,lod,mantatory,methode,metres,millimetre,modell,nd,noe,normale,normaly,nto,numer,oder,orgin,orginx,orginy,ot,pard,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
```
2020-04-20 12:59:09 +02:00
Jean-Marie Verdun
5860a71eb9 Fix indent and double "or" 2020-04-20 12:57:15 +02:00
Jean-Marie Verdun
249d2040eb Add initial link support 2020-04-20 12:57:15 +02:00
donovaly
92f745b0ba [Part] color preferences: add missing tooltips
see: https://forum.freecadweb.org/viewtopic.php?f=8&t=44595
2020-04-20 12:44:02 +02:00
carlopav
854687fd6f [Draft] Further cleanup of the branch
thanks to vocx revisions
2020-04-20 12:38:06 +02:00
carlopav
e68bf521f6 [Draft] Snapper cleanup
Cleanup after @vocx-fc review
2020-04-20 12:38:06 +02:00
carlopav
113c699ada [Draft] Snap improvement and statusbar cleanup after rebase
[Draft] Attempt to make base classes compatible with super on py2


[Draft] Refactored imports of snapper and snaps gui tools


.


.
2020-04-20 12:38:06 +02:00
carlopav
5b027dfa23 [Draft] Statusbar widgets, preferences to disable draft statusba
.


.


.


.
2020-04-20 12:38:06 +02:00
carlopav
cd1f2df6e9 [Draft] rough implementation of new preference dialog for interface 2020-04-20 12:38:06 +02:00
carlopav
77c385631b [Draft] Added Draft Snap Statusbar
.
2020-04-20 12:38:06 +02:00