Commit Graph

2081 Commits

Author SHA1 Message Date
vocx-fc
f1fe97e96a Draft: import the missing Gui module in the mirror function
Otherwise the function will not work in a terminal only session
without the graphical user interface (GUI).

Also small changes for style, documentation,
and removing unused modules.
2020-05-06 12:48:02 +02:00
vocx-fc
81d559fcc2 Draft: add description of draftfunctions package
These modules provide supporting functions for dealing
with the scripted objects and Gui Commands defined
within the workbench.

If the functions do very basic tasks or are too generic,
they are more appropriate inside the `draftutils` package.

These function are imported in the main `Draft.py` module
so they form part of the public programming interface (API)
of the workbench.

Remove trailing spaces in CMakeLists.txt.
2020-05-06 12:46:24 +02:00
vocx-fc
52e1f03da7 Draft: add description of draftmake package
These modules provide the functions that are used to create
the scripted objects defined within the workbench.

The functions import and use the proxy classes
and viewprovider classes in `draftobjects`
and `draftviewproviders`.

These functions are imported in the main `Draft.py` module
so they form part of the public programming interface (API)
of the workbench.
2020-05-06 12:46:24 +02:00
vocx-fc
12db1a6cd9 Draft: update description of draftviewproviders package 2020-05-06 12:46:24 +02:00
vocx-fc
24c89f3370 Draft: update description of draftobjects package 2020-05-06 12:46:24 +02:00
vocx-fc
b69d76aa11 Draft: update description of drafttaskpanels package 2020-05-06 12:46:24 +02:00
vocx-fc
3a14908c4a Draft: update description of draftguitools package 2020-05-06 12:46:24 +02:00
vocx-fc
e39c45d8ed Draft: update description of drafttests package 2020-05-06 12:46:24 +02:00
vocx-fc
fee81e8290 Draft: correct description of draftutils package
These utilities are general in the entire workbench,
some of them can be used without a GUI, and some of them
absolutely require the GUI to function.
2020-05-06 12:46:24 +02:00
luz.paz
3b8b0451b1 AddonManager: [skip-ci] Change reference from "Addons Manager" to "Addon
...Manager"  
https://forum.freecadweb.org/viewtopic.php?f=3&t=45951&p=395355#p394147
2020-05-05 19:40:14 +02:00
vocx-fc
da413bd2c2 Draft: small improvements to the todo module
Small ammeds to the docstrings and the use of `App` and `Gui`
namespaces, and the explicit use of the `ToDo` class
in `PascalCase`.
2020-05-04 10:55:18 +02:00
vocx-fc
14423df83c Draft: show the error message of the ToDo class in the terminal
The error is both sent to the log file and to the console
instead of only the log.

This is helpful to troubleshoot problems with the delayed
execution of commands, such as when testing a relatively
broken version like d7a9f2ebf9.
2020-05-04 10:55:18 +02:00
carlopav
ad92c99664 Draft: fixed edit for dimension objects 2020-05-04 10:53:54 +02:00
carlopav
cbeca1b4a6 Draft: fix ScaleMultiplier on annotation objects
Object auto create the property when opening an old Draft annotation
.
2020-05-04 10:53:54 +02:00
carlopav
130d8413bf Draft: split extrude from Draft.py 2020-05-04 10:51:08 +02:00
carlopav
7683fdf220 Draft: split downgrade from Draft.py 2020-05-04 10:51:08 +02:00
carlopav
f959812327 Draft: split cut from Draft.py 2020-05-04 10:51:08 +02:00
carlopav
52d4749bac Draft: split upgrade from Draft.py
.
2020-05-04 10:51:08 +02:00
carlopav
b2180873a1 Draft: split draftify from Draft.py 2020-05-04 10:51:08 +02:00
carlopav
223c81a4f9 Draft: split fuse from Draft.py
.
2020-05-04 10:51:08 +02:00
carlopav
bedb026c17 Draft: split heal from Draft.py 2020-05-04 10:51:08 +02:00
carlopav
fd6d3da0be Draft: split mirror from Draft.py
.
2020-05-04 10:51:08 +02:00
carlopav
677865b680 Draft: split offset from Draft.py
.
2020-05-04 10:51:08 +02:00
carlopav
2edb34b2ff Draft split Split from Draft.py 2020-05-04 10:51:08 +02:00
carlopav
4b61a1bf73 Draft: split scale related functions from Draft.py
.
2020-05-04 10:51:08 +02:00
carlopav
77ea3a1a86 Draft: split join functions from Draft.py 2020-05-04 10:51:08 +02:00
carlopav
ad0a400da2 Draft: split isClosedEdge form Draft.py
.
2020-05-04 10:51:08 +02:00
carlopav
ac13cced02 Draft: split rotate from Draft.py 2020-05-04 10:51:08 +02:00
carlopav
25ae2dc921 Draft: split Move from Draft.py 2020-05-04 10:51:08 +02:00
carlopav
8157b86629 Draft: split FilterObjectsForModifiers from Draft.py 2020-05-04 10:51:08 +02:00
carlopav
2b79869274 Draft: delete makeWire from Draft.py 2020-05-04 10:51:08 +02:00
carlopav
54fad8e46a Draft: split makeCopy from Draft.py
.
2020-05-04 10:51:08 +02:00
wandererfan
c26c50e040 [Draft]PathArray TangentVector & gimbal lock
- allows user to specify orientation of copies
- prevents gimbal lock by using Base.Rotation instead of
  YRP transforms
2020-05-01 11:34:33 -04:00
carlopav
3fd9d48691 Draft: fix to statusbar import on wb Activated and Deactivated
Import statusbar related functions only if snapper is loaded
added new line at the end
2020-04-30 13:48:33 +02:00
carlopav
ea19060f64 Draft: fix bspline and bezcurve viewproviders
Finished to fix bspline and bezcurve wiewproviders.
2020-04-30 13:48:33 +02:00
luz.paz
d8b41f70d6 [skip-ci] Fix typos in Draft, Mesh, and src/Tools
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-30 11:40:38 +02:00
vocx-fc
fd151857b0 Draft: add view provider for Bezier curve object 2020-04-30 09:41:41 +02:00
vocx-fc
dfece47520 Draft: add view provider for BSpline object 2020-04-30 09:41:41 +02:00
Bernd Hahnebach
d7a9f2ebf9 Draft: workaround to be able to import Draft 2020-04-29 22:46:27 +02:00
Yorik van Havre
28b51cf28a Merged crowdin translations 2020-04-29 16:08:23 +02:00
Yorik van Havre
693e374f99 Updated source ts files 2020-04-29 15:41:26 +02:00
vocx-fc
491ed28e1c Draft: change the icon depending on the Link array type
Add new icons for `App::Link` versions of polar array and circular
array.
2020-04-29 11:44:22 +02:00
vocx-fc
1a2c9adbf1 Draft: change the icon depending on the array type 2020-04-29 11:44:22 +02:00
Yorik van Havre
a82f16598f Draft: Small bugfix in DraftGeomUtils.getNormal 2020-04-29 11:43:00 +02:00
Yorik van Havre
e42a26fba1 Arch: [WIP] Curtain Wall tool 2020-04-29 11:43:00 +02:00
carlopav
582a4c0d83 Draft: split Shape2DView from Draft.py 2020-04-29 11:41:02 +02:00
carlopav
0912046068 Draft: split Block from Draft.py 2020-04-29 11:41:02 +02:00
carlopav
a4f802847c Draft: split Shapestring from Draft.py 2020-04-29 11:41:02 +02:00
carlopav
bea4431b18 Draft: split makeSketch from Draft.py 2020-04-29 11:41:02 +02:00
carlopav
00ec299e06 Draft: split Facebinder from Draft.py 2020-04-29 11:41:02 +02:00