Commit Graph

17406 Commits

Author SHA1 Message Date
vocx-fc
7627d0b81a Draft: move getSVG to draftfunctions submodule
Small fixes where the `get_svg` function is used, for example,
in the (obsolete) `DrawingView` class and `Arch_SectionPlane`.

Also update the unit tests accordingly.
2020-09-09 12:53:54 +02:00
tomate44
c493d42bfe SurfaceOfExtrusion: use uIso and vIso methods of parent class 2020-09-09 11:06:21 +02:00
wmayer
b0d5afc375 Inspection: [skip ci] do not use multi-threading when Part objects are used for visual inspection 2020-09-08 16:55:35 +02:00
Roy-043
db947e3513 Draft: Fix wire placement issue if Copy=False. 2020-09-08 16:16:16 +02:00
John Yani
7f3814faec [Arch] ViewProviderPanelSheet: Too many arguments
setProperties was called incorrectly
2020-09-08 16:14:22 +02:00
Roy-043
4c0bd797fe Update gui_snapper.py 2020-09-08 16:13:02 +02:00
SurajDadral
03d273c656 Calculate length of rebar derived from Part::Helix 2020-09-08 15:50:23 +02:00
wmayer
3051b75267 Gui/Mesh: [skip ci] make sure object fits into canvas 2020-09-08 15:12:09 +02:00
Sudhanshu Dubey
3bdb812a7d FEM: tests, adding check for file
... to solve the issue reported at https://forum.freecadweb.org/viewtopic.php?p=424935#p424935
2020-09-08 07:49:02 +02:00
Sudhanshu Dubey
4dcfd8caad FEM: correcting string comparison 2020-09-08 07:48:56 +02:00
wmayer
f82b570832 Gui/Mesh: [skip ci] add Iso view position button to Web 3d page 2020-09-07 17:43:04 +02:00
wmayer
629b1403b2 Web: [skip ci] allow to directly load local (X)HTML files with file browser 2020-09-07 14:33:04 +02:00
wmayer
6019f6c69f Gui/Mesh: [skip ci] put view positions at top of Web 3d page 2020-09-07 14:18:01 +02:00
wmayer
fc8eecb8eb Part: [skip ci] make Tube command behave like all other solid creation commands 2020-09-04 12:21:40 +02:00
wmayer
aa6f060365 Mesh: [skip ci] include missing header 2020-09-04 10:40:01 +02:00
luz paz
5cd408687b 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
wmayer
d91508fece Part: [skip ci] set proper icons for Tube feature 2020-09-03 19:18:30 +02:00
wmayer
06d6cc579f 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
e477283ffc 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
8ee644bcbc [AddonManager] fix bug in CheckSingleWorker 2020-09-03 12:23:14 +02:00
SurajDadral
1f15f04b17 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
df0204466e [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
a4e38baeb3 [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
vocx-fc
4b8ebccc7d 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
4bf665a6fd Draft: move format_point out of getSVG function 2020-09-03 11:40:50 +02:00
vocx-fc
775c4d0a97 Draft: move getText out of getSVG function 2020-09-03 11:40:50 +02:00
vocx-fc
67c0af7b53 Draft: move getOvershoot out of getSVG function 2020-09-03 11:40:50 +02:00
vocx-fc
f240972ffa Draft: move getArrow out of getSVG function 2020-09-03 11:40:50 +02:00
vocx-fc
6eccf47848 Draft: move getEllipse out of getSVG function 2020-09-03 11:40:50 +02:00
vocx-fc
4c498e132e Draft: move getCircle out of getSVG function 2020-09-03 11:40:50 +02:00
vocx-fc
04afa25f91 Draft: move getPath out of getSVG function 2020-09-03 11:40:50 +02:00
vocx-fc
3e12316977 Draft: rename getPattern to get_pattern 2020-09-03 11:40:50 +02:00
vocx-fc
cfce1a8ad2 Draft: rename getDiscretized to get_discretized 2020-09-03 11:40:50 +02:00
vocx-fc
e61efd9e6d Draft: rename getProj to get_proj 2020-09-03 11:40:50 +02:00
vocx-fc
8b5e922e05 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
ee58279b3e Draft: use draftutils.utils module in getSVG 2020-09-03 11:40:50 +02:00
wandererfan
3d6390bc93 [TD]Allow single line S/S view 2020-09-02 11:42:10 -04:00
sgrogan
41da46a682 fix build on Win 2020-09-01 17:57:36 +02:00
wandererfan
ad1b48b73d [TD]fix V2E DistanceX,Y 2020-08-30 18:59:11 -04:00
wmayer
a5899f3892 Part: [skip ci] return std::unique_ptr from Part::makeFromSurface() to avoid memory leaks 2020-08-29 23:56:12 +02:00
tomate44
efb403b8f9 Edge.curveOnSurface : add placement to the output tuple 2020-08-29 22:22:43 +02:00
tomate44
7d3ff633b7 Part.EdgePy : get access to stored Pcurves 2020-08-29 22:22:43 +02:00
luz paz
30c07083a1 Draft: Fix typo in variable name 2020-08-29 19:14:13 +02:00
luz paz
4344f6bc08 Fix typos in source comments
Found via `codespell`
2020-08-29 19:14:13 +02:00
wmayer
9f9d8e1523 Mesh: [skip ci] allow to set custom size for asymptote output 2020-08-29 19:05:28 +02:00
wandererfan
08ba104d87 [TD]remove restrictions on Edge-Edge Dims 2020-08-29 11:13:35 -04:00
wandererfan
5d58c2c711 [TD]remove extra space in Angular Dims 2020-08-29 11:13:35 -04:00
wmayer
66617c5e93 Mesh: [skip ci] support compressed X3D output 2020-08-29 14:56:41 +02:00
wmayer
f50c4a9e26 Mesh: [skip ci] improve color support for X3D and X3DOM output 2020-08-29 14:23:38 +02:00
wmayer
c06a4d462b Mesh: [skip ci] support of WebGL/X3D export 2020-08-28 18:06:55 +02:00