Commit Graph

6306 Commits

Author SHA1 Message Date
Yorik van Havre
ebc1d92893 Arch: New-style Arch Site - fixes #2634 2016-10-04 16:04:09 -03: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
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
DeepSOIC
b6db15a5d3 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
ec624b91d7 fix unicode problem when reading or writing mesh object 2016-10-01 20:41:00 +02:00
wmayer
3de44dfcd7 do not check for solid when computing volume of mesh 2016-10-01 20:40:26 +02:00
wmayer
d808f669ce fix linking error in TechDrawGui 2016-10-01 13:48:22 +02:00
wmayer
e2d51588f6 suppress annoying boost warning with msvc 2016-10-01 13:35:30 +02:00
wmayer
386e3d7024 do not handle enum value SMDSAbs_NbElementTypes 2016-10-01 13:34:37 +02:00
Bernd Hahnebach
efb87dc1c0 FEM: python mesh API, add methods to retrieve group data 2016-10-01 13:20:38 +02:00
Bernd Hahnebach
15ad66a99e FEM: display some nice popup if there are problems with ccx binary 2016-10-01 13:20:38 +02:00
Bernd Hahnebach
6bb681cdf9 FEM: fix for retriving the standard ccx path on Linux 2016-10-01 13:20:38 +02:00
wmayer
7d265c4cdf 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
cf1f07c311 Draft: Fixed wrong shortcuts info - fixes #2519 2016-09-30 19:42:08 -03:00
Yorik van Havre
40b00e556a Path: remove old dislay if path becomes empty - fixes #2484 2016-09-30 19:35:26 -03:00
Sergo
99076944af PartDesign: points are selectable for Datum support 2016-09-30 11:09:01 -03:00
Sergo
38443008b2 PartDesign: fix test Move_Feature 2016-09-30 11:09:01 -03:00
Sergo
ef14bbd88a PartDesign: fix showing base object on newly opened file, cleanup 2016-09-30 11:09:01 -03:00
Sergo
46a218ed24 PartDesign: fix Datum editing, showing/hiding objects 2016-09-30 11:09:01 -03:00
Sergo
8b7b720beb PartDesign: fix Polar and Mirror accepting Datum 2016-09-30 11:09:00 -03:00
WandererFan
8459cdad5a Performance improvements Ph1 2016-09-29 17:37:20 -04:00
WandererFan
b27a526cd6 remove unnecessary includes
remove obs code
remove obs initializations
2016-09-28 20:24:47 -04:00
WandererFan
1d281d821a Easier View selection - bigger frame 2016-09-28 20:24:47 -04:00
WandererFan
f230967146 Only enable Commands when appropriate
Remove dupl code
2016-09-28 20:24:47 -04:00
WandererFan
ecbd8c8dc0 Control Face edges from Part/Section 2016-09-28 20:24:46 -04:00
WandererFan
664168992f Drawing window pan & zoom 2016-09-28 20:24:46 -04:00
wmayer
958686d7b9 fix msvc compiler warnings
fix typo
2016-09-27 19:42:46 +02:00
wmayer
81a6d4f4cc fix some typos 2016-09-27 19:26:45 +02:00
Bernd Hahnebach
17476b25dc FEM: add Groups to mesh property editor info 2016-09-27 13:04:47 -03:00
Bernd Hahnebach
084e163137 FEM: add GroupID to python mesh API 2016-09-27 13:04:47 -03:00
Bernd Hahnebach
80be790af9 FEM: fix unit tests 2016-09-27 13:04:47 -03:00
Bernd Hahnebach
eb3d83e8ef FEM: code formating, flake8 2016-09-27 13:04:47 -03:00