Commit Graph

8612 Commits

Author SHA1 Message Date
Yorik van Havre
dabccc40b6 Made Arch objects properties translatable - issue #2524 2016-10-07 21:37:15 -03:00
wwmayer
11bbb9e8aa Merge pull request #299 from triplus/master
Fix NameError when test is run in console mode
2016-10-07 21:43:43 +02:00
kgoao
14b45107ce FEM: ConstraintPressure: Arrow direction bug fix 2016-10-07 15:05:28 -03:00
DeepSOIC
5936a2db82 Part: Py API: fix memory leak in Part.Vertex.Point
fix #2728
2016-10-07 15:02:14 -03:00
WandererFan
18302203cb Fix print size issue from pan/zoom mods 2016-10-07 14:55:58 -03:00
Yorik van Havre
b48ac103f2 Merge pull request #300 from bblacey/develop
Improved macOS CI builds (declarative dependencies, robust ports-cach…
2016-10-07 14:54:07 -03:00
Bruce B. Lacey
2707ea9af8 Improved macOS CI builds (declarative dependencies, robust ports-cache, custom bottles, ports upgrade)
- Ports dependencies are now declared in FreeCAD formula hosted at FreeCAD/homebrew-freecad/freecad
  - Ports-cache will match on the homebrew major.minor sub-version to increase cache hits during CI builds
  - FreeCAD-specific bottles deployed to FreeCAD/homebrew-freecad (micro-caches)
  - Travis builds request Xcode6.4 on macOS 10.10 dist (10.9 dust is deprecated and will be removed from Travis on 10/31)
  - Salome Med-File and 3DxWare drivers upgraded

Additional details in forum post http://forum.freecadweb.org/viewtopic.php?f=10&t=17832
2016-10-06 21:25:55 -07:00
Yorik van Havre
6861574346 Arch: Added several properties to Equipment, Space, Floor & Site needed for gbXML - issue #2543 2016-10-06 22:35:45 -03:00
triplus
941069e237 Was a bit to quick the first time with the commit. 2016-10-06 20:58:38 +02:00
triplus
bca2792f11 Fix NameError when test is run in console mode
http://forum.freecadweb.org/viewtopic.php?f=10&t=17818
2016-10-06 20:43:39 +02:00
Yorik van Havre
7ef31e499c Draft: Disabled builtin ctrl+z shortcut in wire drawing (indicated UI shortcut works) - fixed #2696 2016-10-06 11:23:54 -03:00
WandererFan
f343f8e78f Fix clang complaint about const char*
Remove u8 literal for MSVC2013
2016-10-06 11:00:35 -03:00
WandererFan
6b4352f79f Rename properties to fit PropertyEditor window 2016-10-06 11:00:35 -03:00
WandererFan
c8f4de5fbc Fix #2707 hidden seam/smooth lines 2016-10-06 11:00:35 -03:00
WandererFan
ae5798434a Add options for face detection and cut face edge display 2016-10-06 11:00:35 -03:00
WandererFan
62328bb54c Prepare App side for "show units" preference 2016-10-06 11:00:35 -03:00
WandererFan
8d139816e3 fix utf8 regression caused by a12ecd49 2016-10-06 11:00:35 -03:00
WandererFan
001bbf52d6 Performance Ph2 2016-10-06 11:00:35 -03:00
Bernd Hahnebach
3cf036de4c FEM: pref, if ccx standard path and ccx path are not set, set ccx standard to true 2016-10-05 13:08:47 +02:00
Bernd Hahnebach
469f22da43 FEM: fix, some python objects could not be added by python 2016-10-05 13:08:47 +02:00
fandaL
0ea42e88ce FEM: fix in inp reader, include relative path 2016-10-05 13:08:47 +02:00
Yorik van Havre
024fe267f4 Merge branch 'PartFaceMakers3_fixup2' of https://github.com/DeepSOIC/FreeCAD-ellipse into f 2016-10-04 17:59:34 -03:00
Yorik van Havre
ebc1d92893 Arch: New-style Arch Site - fixes #2634 2016-10-04 16:04:09 -03:00
Yorik van Havre
35811f7e3c Added new property type App::PropertyVolume 2016-10-04 16:02:30 -03:00
DeepSOIC
d21f339a0f Part: Extrude, Revolve: fix #2720 - relax action of Solid=true
When facemakers were introduced, Solid property of Revolve and Extrude
was made strict: it calls facemaker if Solid==true, and facemaker would
fail if shape being extruded/revolved is a face.

This is fixed by testing there are no faces in source shape prior to
calling facemaker.
2016-10-04 21:51:58 +03:00
wmayer
5a88307e3e support creating Python workbench with fcbt 2016-10-04 19:40:47 +02:00
wmayer
034cc0013e add template for Python workbench 2016-10-04 19:29:53 +02:00
DeepSOIC
7b70711fb3 Part: FaceMaker: check if instance is actually created.
Part::FaceMaker::ConstructFromType() could return null pointer if
abstract class type is supplied.

Here, it is fixed by checking for null pointer in facemaker itself,
rather than in every place  ConstructFromType is being used.
2016-10-04 10:03:19 +02:00
Bernd Hahnebach
56b153070d FEM: use group data for multi body material analysis, if available 2016-10-03 21:46:44 -03:00
Bernd Hahnebach
8a0b745b2a FEM: FemMeshTools, small changes in femelements_count_ok 2016-10-03 21:46:44 -03:00
Bernd Hahnebach
a1fe777626 FEM: CaluliX inpfile writer, print file writing time 2016-10-03 21:46:44 -03:00
Yorik van Havre
a176b99ca3 Draft: support dimension ticks on Drawing pages 2016-10-03 17:06:16 -03:00
wmayer
27cf73acab suppress warning caused by shiboken header file with gcc 2016-10-02 20:13:02 +02:00
wmayer
147788d8d8 make color dialog in material panel modal but apply color directly to shape 2016-10-02 19:58:08 +02:00
wmayer
ddd4c4560c support to auto change color when color dialog is modal 2016-10-02 19:57:01 +02:00
wmayer
c833136cde handle possible crashes with FaceMaker and fix a few coding flaws 2016-10-02 14:47:59 +02:00
DeepSOIC
65a935f9ae Show: more general Body detection
Doesn't affect anything in master functionality, but is required for my
custom branch where there is another kind of body.
2016-10-02 12:33:36 +02:00
DeepSOIC
316210fe0f PartGui: Attachment: object unpickable and transparent 2016-10-02 12:33:36 +02:00
DeepSOIC
7e32de2f55 Show: add methods to make stuff unpickable
TempoVis.setUnpickable(App.ActiveDocument.Box) makes box transparent to
mouse clicks, i.e. impossible to select.
2016-10-02 12:33:36 +02:00
DeepSOIC
c72a61641c Part: Py API: deprecate Part.Face.makeOffset 2016-10-01 23:13:44 +03:00
DeepSOIC
c7f975279c Part: Offset2D: rewrite to use FaceMaker
new features supported:
* fill offset in collective mode when result wires are closed
* offsetting faces in collective mode

Remaining TODOs:
- collective offset of open wires in "skin" mode
2016-10-01 23:13:44 +03:00
DeepSOIC
1757f70cdf Part: Py API: add methods to use FaceMakers
* new Part.Shape.Face() constructor footprints with facemaker class
supplied as string mane of C++ class.
* add Part.makeFace method that uses facemaker.
2016-10-01 23:13:44 +03:00
DeepSOIC
320763d78a PartDesign: port to use FaceMaker
Minimalistic port. Only re-use code that was duplicate before.
2016-10-01 23:13:44 +03:00
DeepSOIC
da52d8ea70 Part: TopoShape: deprecate solid flag for revolve method 2016-10-01 23:13:44 +03:00
DeepSOIC
199d3edf13 Part: Revolve: port to use FaceMaker
For old documents, default to old behavior. For new objects, default to
use FaceMakerBullseye
2016-10-01 23:13:44 +03:00
DeepSOIC
399cb4bda3 Part: Extrude: port to use FaceMaker
For old documents, default to old behavior. For new objects, default to
use FaceMakerBullseye
2016-10-01 23:13:44 +03:00
DeepSOIC
86ada8e8ae PartGui: Face: support not only sketches 2016-10-01 23:13:44 +03:00
DeepSOIC
e898789cba Part: Face: use facemakers
For old documents, default to FaceMakerCheese. For newly created
objects, use FaceMakerBullseye
2016-10-01 23:13:44 +03:00
DeepSOIC
12d33e841f Part: register facemaker classes into typesystem 2016-10-01 23:13:44 +03:00
DeepSOIC
02286a21d1 Part: implement facemakers: FaceMakerCheese, FaceMakerBullseye
FaceMakerCheese: based on code extracted from Part FeatureExtrude,
exactly the same as facemaking code in PartDesign.

FaceMakerBullseye: new facemaker, that supports nesting like hole inside
a face inside a hole of another face...
2016-10-01 23:13:44 +03:00