Commit Graph

22358 Commits

Author SHA1 Message Date
luz paz
6f62fd09df Fix typos in various files [skip-ci]
Found via `codespell 2.0.dev0`  
```
codespell -q 2 -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,currenty,dof,doubleclick,dum,eiter,elemente,feld,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-09-04 10:10:31 +02:00
looooo
60303f3153 freecad-python-interface: use absolute-path to install-bin-dir for windows 2020-09-04 10:04:20 +02:00
wmayer
6f7118850b Base: [skip ci] Various fixes in InterpreterSingleton::runStringWithKey:
+ fix memory leak (localDictionary) by replacing C API with PyCXX
+ don't write the whole code as error message if an error occurs. Python raises an exception with all relevant information for debugging
2020-09-04 09:58:21 +02:00
wmayer
4be88824ae Gui: fix Qt4 build failure 2020-09-03 19:24:09 +02:00
wmayer
904ff6f7e1 Part: [skip ci] set proper icons for Tube feature 2020-09-03 19:18:30 +02:00
wmayer
f1a9a41276 Part: [skip ci] add MapMode support to Tube feature, raise an error if inner > outer radius, set icon to command and tree view (use cylinder icons for the time being) 2020-09-03 17:47:25 +02:00
vocx-fc
513c0e9eb4 Draft: new PathTwistedArray object
It takes a `Shape` and replicates it around a path, while at the
same time adding a rotation to each copy. This can be used to create
a twisted "ribcage" from a frame-like object, which can be used
in a more complicated `Shape`, for example, a tunnel or bridge
object.
2020-09-03 12:34:16 +02:00
mwganson
6431d558cd [AddonManager] fix bug in CheckSingleWorker 2020-09-03 12:23:14 +02:00
SurajDadral
38f74c815f Initialize mark and add compatibility for rebar.RebarShape
- Initialize rebar mark with rebar label
- Add compatibility for attribute rebar.RebarShape to work with changes
  done in this PR:
  https://github.com/amrit3701/FreeCAD-Reinforcement/pull/65/commits
2020-09-03 12:20:51 +02:00
mwganson
69f43d7bf3 [CheckGeometry] fix segfault, reformat output with lower case, use try/except to check for runtime python errors and fall back on OCCT method if script failed. 2020-09-03 12:09:38 +02:00
mwganson
720668a7a5 [check geometry] decrement some pyobject references 2020-09-03 12:09:38 +02:00
mwganson
cf9118d249 [CheckGeometry] fix python2 build 2020-09-03 12:09:38 +02:00
mwganson
179d687f0e [CheckGeometry] fix py2 build failure 2020-09-03 12:09:38 +02:00
mwganson
3c19765c37 [CheckGeometry] update a source code comment 2020-09-03 12:09:38 +02:00
mwganson
ed3ff7db5e [CheckGeometry] add new shapecontent builder instead of OCCT's to correct some errors in OCCT's values and to add for some more advanced information, e.g. volume or area, add new method to Base::Interpreter runStringWithKey() -- allows to run a python script and get a string return value 2020-09-03 12:09:38 +02:00
Jeffrey Zampieron
8d938785ab Clean up docs 2020-09-03 12:06:59 +02:00
Jeffrey Zampieron
e73a89ccc5 Separate the xcrun check into an env specific section 2020-09-03 12:06:59 +02:00
Jeffrey Zampieron
689c3c0405 Attempt to auto set conda env 2020-09-03 12:06:59 +02:00
Jeffrey Zampieron
b3588f80c7 Setup scripts for developer env using conda 2020-09-03 12:06:59 +02:00
Jeffrey Zampieron
1c6f0cb999 Setup for local conda build 2020-09-03 12:06:59 +02:00
Jeffrey Zampieron
97a73971e0 Initial build startup works with one-shot conda script 2020-09-03 12:06:59 +02:00
Jeffrey Zampieron
88b0277bea Start setting up 1-liner conda build 2020-09-03 12:06:59 +02:00
Jeffrey Zampieron
27f1c89100 Make sure we can find pyside on osx 2020-09-03 12:06:59 +02:00
vocx-fc
17ff22c721 Draft: improve style and indentation of getSVG function
Also rename `getSVG` to `get_svg`.

Instead of testing `obj.isDerivedFrom('Part::Feature')`
we test for a Shape, `hasattr(obj, 'Shape')`.
This is to support the SVG generation of `App::Links`.
2020-09-03 11:40:50 +02:00
vocx-fc
9b0f817992 Draft: move format_point out of getSVG function 2020-09-03 11:40:50 +02:00
vocx-fc
1b53261012 Draft: move getText out of getSVG function 2020-09-03 11:40:50 +02:00
vocx-fc
fe3be86e65 Draft: move getOvershoot out of getSVG function 2020-09-03 11:40:50 +02:00
vocx-fc
620e7c7a03 Draft: move getArrow out of getSVG function 2020-09-03 11:40:50 +02:00
vocx-fc
de393746c7 Draft: move getEllipse out of getSVG function 2020-09-03 11:40:50 +02:00
vocx-fc
4f1a83af63 Draft: move getCircle out of getSVG function 2020-09-03 11:40:50 +02:00
vocx-fc
899ffc90b4 Draft: move getPath out of getSVG function 2020-09-03 11:40:50 +02:00
vocx-fc
3d28909451 Draft: rename getPattern to get_pattern 2020-09-03 11:40:50 +02:00
vocx-fc
5dbf38dab0 Draft: rename getDiscretized to get_discretized 2020-09-03 11:40:50 +02:00
vocx-fc
d3ea45aa32 Draft: rename getProj to get_proj 2020-09-03 11:40:50 +02:00
vocx-fc
d24055b523 Draft: improve initial code of getSVG
Improve also the docstrings, and minor adjustments in PEP8 style
and spacing.
2020-09-03 11:40:50 +02:00
vocx-fc
37df79965c Draft: use draftutils.utils module in getSVG 2020-09-03 11:40:50 +02:00
mwganson
b7f829e15f [Macro Menu] add Recent macros to Macro menu + list size preference. Executes selected macro or if Shift+click opens macro in editor. 2020-09-03 11:29:37 +02:00
wmayer
8bffec0039 Gui: add function to export a VRMLGroup into X3D format 2020-09-03 11:07:09 +02:00
wandererfan
ab2a94d4f9 [TD]Allow single line S/S view 2020-09-02 11:42:10 -04:00
Roy-043
fb9c6b7872 Update CommandView.cpp 2020-09-01 20:22:26 +02:00
sgrogan
6d0c257ede fix build on Win 2020-09-01 17:57:36 +02:00
wmayer
64d7c1b052 Gui: use utility tovrmlx3d to convert a VRML 2.0 file into X3D format 2020-09-01 16:11:09 +02:00
wmayer
8329c8434e Gui: [skip ci] do not handle left mouse button events when in dragging or zooming mode 2020-08-31 22:23:35 +02:00
Zheng, Lei
dcae039c52 App/Gui: warn when loading/saving file with identical physical path 2020-08-31 14:05:14 +02:00
Zheng, Lei
d321ed9f0e App: fix PropertyXLink handling on symlink file path 2020-08-31 14:05:14 +02:00
wandererfan
247a74d73d [TD]fix V2E DistanceX,Y 2020-08-30 18:59:11 -04:00
wmayer
5b1343f5a9 typos: [skip ci] 2020-08-30 14:51:55 +02:00
Zheng, Lei
73dcb6128c App: report error on copying OriginGroup without dependency 2020-08-30 11:58:54 +02:00
wmayer
2c8f78b299 Part: [skip ci] return std::unique_ptr from Part::makeFromSurface() to avoid memory leaks 2020-08-29 23:56:12 +02:00
tomate44
21562568d6 Edge.curveOnSurface : add placement to the output tuple 2020-08-29 22:22:43 +02:00