Commit Graph

7416 Commits

Author SHA1 Message Date
Priit Laes
e095084cfb python: Draft: *.py: Fix syntax for Python3 2017-02-04 15:48:43 +01:00
wmayer
f75fe84732 undo removal of function caused by PR494 2017-02-04 15:40:41 +01:00
sliptonic
fbe0ded7cf PATH: post processor tweaks and loop select.
rename generic_post.py: This is actually a post specific to a machine.  The generic name is confusing
fix test case. Contour has no plunge angle
scrubbing postprocessors for python 2 style prints
Keep loop select usable when task panel is open.
2017-02-04 15:36:33 +01:00
wmayer
81726f7db9 fix warnings: -Wmaybe-uninitialized 2017-02-04 15:16:47 +01:00
wwmayer
47aaf4e6fa Merge pull request #460 from realthunder/PathArea
Added Path.Area and Path::FeatureArea
2017-02-04 11:36:21 +01:00
wmayer
cd92e65729 prework for issue #0002698 2017-02-04 11:34:55 +01:00
wmayer
a7539e2c97 fix various warnings 2017-02-02 20:42:56 +01:00
wmayer
e54bd64afa raise error if parameters of ellipse are invalid 2017-02-02 15:52:28 +01:00
Kurt Kremitzki
fed542da9e Add Addon Manager to Tools menu 2017-02-02 11:20:41 +01:00
Abdullah Tahiri
b71616219d Sketcher: Polyline continuous mode support 2017-02-02 10:42:38 +01:00
Abdullah Tahiri
48ca83dc15 Sketcher: BSpline deletion/special hideunused internal geometry
===============================================================

The implementation of BSpline differs from previous complex forms.

The BSpline is created constraint to be polynomic (non-rational), with radius of first circle and equality constraints.

Hide unused internal geometry considers as unused the following constraints:
- A pole which has equality constraints with another pole of the same bspline
- Any radius constraint on a pole

Deletion of a BSpline will delete the internal geometry that is unused as per the definition above.

If there is another constraint (other than the Internal alignment constraint) it will leave the internal geometry having such constraint undeleted.
2017-02-02 10:42:38 +01:00
Eivind Kvedalen
7ebaa54bd5 Expressions: Fixed issue #2879. 2017-02-02 10:27:29 +01:00
Yorik van Havre
a988ac2537 Arch: Upgraded Equipment tool - fixes #2573 2017-02-01 23:04:14 -02:00
Zheng, Lei
b35e41771a Path.Area: added python static method setDefaultParams()
set/getDefaultParams controls the default parameters used when
creating Path.Area object. It also has extra parameter to control
Path.Area log level.
2017-02-01 12:02:01 +08:00
Ajinkya Dahale
4ae32c8851 Minor bug in PartDesignGui::ViewProviderPipe
Assert excludes any "Edge1"
2017-02-01 09:08:05 +05:30
Yorik van Havre
828159ae3f Arch: fixed import of IFC Site geometry 2017-01-31 18:58:02 -02:00
Zheng, Lei
4d01517d1e Merge remote-tracking branch 'upstream/master' into PathArea 2017-02-01 02:48:45 +08:00
Zheng, Lei
ce27104658 Path.Area: added python abort() to abort lengthy operation 2017-02-01 02:45:13 +08:00
Zheng, Lei
84a5162698 Part.Area: fixed sortWires3D 2017-02-01 02:02:07 +08:00
Zheng, Lei
4a2c7eb133 Path: fixed fromShapes and sortWires parameter parsing 2017-02-01 02:01:33 +08:00
AjinkyaDahale
c00a627397 Changes based on wwmayer's comments 2017-01-31 17:07:45 +01:00
AjinkyaDahale
8a911f3ef3 Moved Perpendicular to constraint mode framework
A couple of combinations, endpoint-endpoint and endpoint-curve, do not
work, and the latter probably should not work ever since endpoint-curve-
curve exists.
2017-01-31 17:07:45 +01:00
AjinkyaDahale
ccfc4d943a Brought back select then constraint for all constraint tools yet converted 2017-01-31 17:07:45 +01:00
AjinkyaDahale
00ca4d3a36 Miscellaneous changes to constraint creation modes
Parallel constraints can also be made by select-then-constraint way.
Preliminary preparations for perpendicular constraint making mode.
Selection actually works when for constraints involving multiple
elements few of them are selected (thanks abdullah).
etc.
2017-01-31 17:07:45 +01:00
Abdullah Tahiri
16c87a5e11 Sketcher: Fixing Green selection on new style constraints 2017-01-31 17:07:45 +01:00
AjinkyaDahale
994b8a7fd3 Moved point on object to general constraint mode framework 2017-01-31 17:07:45 +01:00
AjinkyaDahale
63323ec85a Moved parallel to general constraint mode framework 2017-01-31 17:07:45 +01:00
AjinkyaDahale
de0301dc66 Moved coincident and vertical to general constraint mode framework 2017-01-31 17:07:45 +01:00
AjinkyaDahale
f2fbd8ba2b Moved CmdSketcherConstrainLock to general constraint mode framework 2017-01-31 17:07:45 +01:00
AjinkyaDahale
d1eab78b93 Generalize DrawSketchHandlerGenConstraint::releaseButton
The select-then-constrain method has been temporarily sacrificed
2017-01-31 17:07:45 +01:00
AjinkyaDahale
c4675b521c CmdSketcherConstraint::applyConstraint() is now used in DrawSketchHandlerGenConstraint 2017-01-31 17:07:45 +01:00
AjinkyaDahale
3b5c72357c Initial commit with DrawSketchHandlerGenConstraint
Plus made CmdSketcherConstrainHorizontal subclass of
CmdSketcherConstraint, and made it use DrawSketchHandlerGenConstraint.
2017-01-31 17:07:45 +01:00
AjinkyaDahale
d326c9e018 Replace All SelectionFilterGates in Constraint Modes by GenericConstraintSelection 2017-01-31 17:07:45 +01:00
AjinkyaDahale
24215170fc Addition to CmdSketcherConstraint and GenericConstraintSelection
Also making CmdSketcherConstrainLock a subclass of CmdSketcherConstraint
2017-01-31 17:07:45 +01:00
AjinkyaDahale
7718dd9aea Coincident constraint mode works on root (origin) too 2017-01-31 17:07:45 +01:00
AjinkyaDahale
137db465db Skeleton of general CmdSketcherConstraint Class 2017-01-31 17:07:45 +01:00
wwmayer
b3c21e14f3 Merge pull request #487 from berndhahnebach/bhbdev066
Bhbdev066
2017-01-31 12:30:09 +01:00
Zheng, Lei
00cb8095a7 Path.Area: added segmentation and 3D wire support 2017-01-31 19:09:33 +08:00
Zheng, Lei
a2f5850087 libarea: make ChangeStartToNearest path breaking optinoal 2017-01-31 19:08:39 +08:00
Markus Lampert
ff88b1be6b Fixed QtGui import. 2017-01-30 21:21:04 -08:00
Bernd Hahnebach
581d81d526 FEM: Z88 result reader, fix open Z88 results files directly 2017-01-30 18:22:38 +01:00
Bernd Hahnebach
b61fd65b1c FEM: import Z88 results, change module name to import... 2017-01-30 18:22:28 +01:00
Bernd Hahnebach
ff18274fbe FEM: import VTK results, change module name to import... 2017-01-30 18:22:23 +01:00
Bernd Hahnebach
1bdc6d0435 FEM: export results to vtk, code formating and documatation information 2017-01-30 18:22:18 +01:00
qingfengxia
d442a6dc0f Fem: add FemResult export to VTK files for visualization externally 2017-01-30 18:22:11 +01:00
Jean-Marie Verdun
250b98a07c Activate only UI tree leaf as to display properly colors when browsing a STEP (there is currently a limitation within the reader which creates compound which are totally grey) and accelerate browsing by de-activating Compound rendering 2017-01-30 17:59:07 +01:00
wmayer
01bc2fc6ce fix crash with null pointer links
in PropertyLinkList handle case with null pointers as value
in STEP reader avoid to create coumpound objects with null pointer links
2017-01-30 16:47:31 +01:00
Yorik van Havre
4cc7c723ab Arch: fixed small bug in Site area calculation 2017-01-30 13:13:13 -02:00
wmayer
db804047fa can't assign nullptr to a QPixmap 2017-01-30 14:13:57 +01:00
wmayer
edf998ddb8 fix linking error in TechDraw 2017-01-30 14:07:42 +01:00