Yorik van Havre
1b4ce1da5f
Merge branch 'PartFaceMakers3_fixup2' of https://github.com/DeepSOIC/FreeCAD-ellipse into f
2016-10-04 17:59:34 -03:00
Yorik van Havre
7a476a3fc9
Arch: New-style Arch Site - fixes #2634
2016-10-04 16:04:09 -03:00
Yorik van Havre
fe40bad92d
Added new property type App::PropertyVolume
2016-10-04 16:02:30 -03:00
DeepSOIC
2045cb9b4a
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
9a411f9857
support creating Python workbench with fcbt
2016-10-04 19:40:47 +02:00
wmayer
1e4881184f
add template for Python workbench
2016-10-04 19:29:53 +02:00
DeepSOIC
115c7e4f88
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
366f94db68
FEM: use group data for multi body material analysis, if available
2016-10-03 21:46:44 -03:00
Bernd Hahnebach
9349e15c39
FEM: FemMeshTools, small changes in femelements_count_ok
2016-10-03 21:46:44 -03:00
Bernd Hahnebach
571dcc65a0
FEM: CaluliX inpfile writer, print file writing time
2016-10-03 21:46:44 -03:00
Yorik van Havre
30c545ea98
Draft: support dimension ticks on Drawing pages
2016-10-03 17:06:16 -03:00
wmayer
03c5be4804
suppress warning caused by shiboken header file with gcc
2016-10-02 20:13:02 +02:00
wmayer
7899dbd986
make color dialog in material panel modal but apply color directly to shape
2016-10-02 19:58:08 +02:00
wmayer
326855cab6
support to auto change color when color dialog is modal
2016-10-02 19:57:01 +02:00
wmayer
da406cddb8
handle possible crashes with FaceMaker and fix a few coding flaws
2016-10-02 14:47:59 +02:00
DeepSOIC
679bb2f5a8
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
8f1929d9c2
PartGui: Attachment: object unpickable and transparent
2016-10-02 12:33:36 +02:00
DeepSOIC
f7aed56bd8
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
2d8f76eff9
Part: Py API: deprecate Part.Face.makeOffset
2016-10-01 23:13:44 +03:00
DeepSOIC
08307aa2e5
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
585fc856bc
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
c612745902
PartDesign: port to use FaceMaker
...
Minimalistic port. Only re-use code that was duplicate before.
2016-10-01 23:13:44 +03:00
DeepSOIC
6043a2bdd3
Part: TopoShape: deprecate solid flag for revolve method
2016-10-01 23:13:44 +03:00
DeepSOIC
d06c7df069
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
8671edf76c
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
dae6e654a1
PartGui: Face: support not only sketches
2016-10-01 23:13:44 +03:00
DeepSOIC
b04219af6b
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
31f2a93c38
Part: register facemaker classes into typesystem
2016-10-01 23:13:44 +03:00
DeepSOIC
4b26988cb7
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
DeepSOIC
68918a881f
Part: Introduce FaceMaker class
...
A general class to implement smart making faces from wires (e.g. making
a face from sketch prior to extruding)
2016-10-01 23:13:44 +03:00
wmayer
51bcfdd6ba
fix unicode problem when reading or writing mesh object
2016-10-01 20:41:00 +02:00
wmayer
7747430cfd
do not check for solid when computing volume of mesh
2016-10-01 20:40:26 +02:00
wmayer
4d2a9664e7
fix linking error in TechDrawGui
2016-10-01 13:48:22 +02:00
wmayer
4ceae102e4
suppress annoying boost warning with msvc
2016-10-01 13:35:30 +02:00
wmayer
c07da3fa7e
do not handle enum value SMDSAbs_NbElementTypes
2016-10-01 13:34:37 +02:00
Bernd Hahnebach
00b26c5921
FEM: python mesh API, add methods to retrieve group data
2016-10-01 13:20:38 +02:00
Bernd Hahnebach
55eae5ddfc
FEM: display some nice popup if there are problems with ccx binary
2016-10-01 13:20:38 +02:00
Bernd Hahnebach
84657bfe9c
FEM: fix for retriving the standard ccx path on Linux
2016-10-01 13:20:38 +02:00
wmayer
314720c8c1
ObjectIdentifier has virtual method but no virtual destructor
...
fix 32-bit issues in PythonStuff.cpp
2016-10-01 11:03:15 +02:00
Yorik van Havre
75fec57195
Draft: Fixed wrong shortcuts info - fixes #2519
2016-09-30 19:42:08 -03:00
Yorik van Havre
83d7655e73
Path: remove old dislay if path becomes empty - fixes #2484
2016-09-30 19:35:26 -03:00
Sergo
60786b45c0
PartDesign: points are selectable for Datum support
2016-09-30 11:09:01 -03:00
Sergo
56ee72913d
PartDesign: fix test Move_Feature
2016-09-30 11:09:01 -03:00
Sergo
40a8f1cd66
PartDesign: fix showing base object on newly opened file, cleanup
2016-09-30 11:09:01 -03:00
Sergo
5a383f4433
PartDesign: fix Datum editing, showing/hiding objects
2016-09-30 11:09:01 -03:00
Sergo
1a688a6375
PartDesign: fix Polar and Mirror accepting Datum
2016-09-30 11:09:00 -03:00
WandererFan
c216da56d5
Performance improvements Ph1
2016-09-29 17:37:20 -04:00
WandererFan
d5fd7836db
remove unnecessary includes
...
remove obs code
remove obs initializations
2016-09-28 20:24:47 -04:00
WandererFan
ff96815336
Easier View selection - bigger frame
2016-09-28 20:24:47 -04:00
WandererFan
e657fff42c
Only enable Commands when appropriate
...
Remove dupl code
2016-09-28 20:24:47 -04:00