Keith Sloan
779c8a4e43
Fix for null string and single blank string
2017-04-28 19:59:29 +02:00
wmayer
800526836a
use specialized Python exception classes
2017-04-28 19:33:51 +02:00
wmayer
fb7094bf31
use specialized exception classes
2017-04-28 18:49:11 +02:00
Abdullah Tahiri
998c000516
Convert OCC exceptions into Base::Runtime exceptions for App:DocumentObject handling
2017-04-28 15:46:49 +02:00
Abdullah Tahiri
81c581b9bd
Correct copy-paste typos in exception throwing
2017-04-28 15:46:30 +02:00
Abdullah Tahiri
e3b900d0f3
Change all exceptions thrown within AttachExtension::positionBySupport from Base::Exception to a meaningful derivative
2017-04-28 15:46:13 +02:00
Abdullah Tahiri
a2f1a4ff18
Part Design: Allow attachment error messages and error setting propagation
2017-04-28 15:45:54 +02:00
wmayer
7150e9ab23
replacement for PR 698
2017-04-27 23:05:40 +02:00
wmayer
712766c3e8
fixes #0003000 : View property Angular Deflection can freeze FC
2017-04-27 19:20:22 +02:00
wmayer
95ef6b15d3
fix crash when setting invalid selection filter, improve doc strings
2017-04-27 18:55:09 +02:00
looooo
6db628f398
py3: part-design: involute-gear
2017-04-27 13:17:51 -03:00
Yorik van Havre
da483e762f
Draft: fixed getSVG to work in non-GUI mode
2017-04-27 13:07:28 -03:00
wmayer
25c69ee833
add warning to generated file not to make manual changes
2017-04-27 15:52:15 +02:00
wmayer
7f42c31627
fix reference leak
2017-04-27 15:26:46 +02:00
wmayer
8c1aca1fb8
issue #0002996 : PyObjectBase notification chain can lead to unexpected changes to document
2017-04-27 15:09:28 +02:00
Ian Rees
950ac44f9f
TechDraw: Tidy, and fix Qt5 template text edition
2017-04-26 18:23:21 +12:00
wwmayer
3cf1cfce3e
Merge pull request #711 from realthunder/PathArea
...
Path.Area: add abs_center parameter to Path.fromShapes
2017-04-25 11:24:40 +02:00
Zheng, Lei
17648c3c62
Path.Area: add abs_center parameter to Path.fromShapes
...
Set to true to enable absolute arc center mode (G90.1)
2017-04-25 11:51:54 +08:00
wwmayer
998889f38d
Merge pull request #710 from wwmayer/SurfaceFilling
...
Surface filling task panel
2017-04-24 21:29:00 +02:00
wmayer
299555e0bd
reset highlighting of references if object is being deleted, fix crash with invalid sub-element names
2017-04-24 19:18:58 +02:00
wmayer
023ff6a59f
highlighting of point constraints
2017-04-24 17:20:41 +02:00
wmayer
6e33aad6bc
fix vertex highlighting
2017-04-24 17:19:21 +02:00
wmayer
fdf29399f4
rename material binding class member for faces to make clear its purpose
2017-04-24 14:53:05 +02:00
wmayer
fb3fb9643d
implement highlighting of surface in filling task panel
2017-04-24 14:43:30 +02:00
wmayer
a0ac4cf445
fix include dir on cmake
2017-04-24 11:12:12 +02:00
wmayer
ab820e4f2d
Extend task panel for filling function
2017-04-24 11:12:12 +02:00
wmayer
e65c871355
Extend task panel for filling function
2017-04-24 11:12:12 +02:00
wmayer
11d570103c
Extend task panel for filling function
2017-04-24 11:12:12 +02:00
wmayer
5ba030d12f
Extend Py interface of PropertyStringList to accept all sequence types
2017-04-24 11:12:12 +02:00
wmayer
93c445bae4
Extend task panel for filling function
2017-04-24 11:12:12 +02:00
wmayer
0e1d0ef634
Extend task panel for filling function
2017-04-24 11:12:12 +02:00
Sabin Iacob
f6db8a6344
[path] Add feeds to PathDressupHoldingTags output
2017-04-23 20:56:42 -03:00
Sabin Iacob
907aea9273
[path] Set ToolController before calling setup in PathDressupHoldingTags
2017-04-23 20:56:42 -03:00
Sabin Iacob
8745079238
[path] Fix AttributeError when attempting to export holding tags gcode
2017-04-23 20:56:42 -03:00
Simon
0103762152
Fix wrong variable name symbolLineWidth -> svgSymbolLineWidth.
2017-04-23 19:42:25 -03:00
Simon
608968a9d2
ArchSectionPlane: Fix incomplete SVG because of = instead of +=.
2017-04-23 19:42:25 -03:00
Simon
980ff80ab7
ArchSectionPlane: Remove placeholders in getSVG and more clean up.
...
getSVG puts placeholders in the generated SVG code and replaces them
afterwards with length values. With the changes of the previous commits
this seems not to be necessary anymore.
I replace them in a separate commit so this change can be reverted easily.
2017-04-23 19:42:25 -03:00
Simon
15b0a425f5
ArchSectionPlane: Add properties for the line color and the fill color
...
* Both properties are automatically added to old section planes
with the help of onDocumentRestored.
* A bit of style clean up to improve the readability of touched code lines.
2017-04-23 19:42:25 -03:00
Simon
1e854a482d
ProjectionAlgos: Make the style of the lines in the SVG file configurable.
...
* getSVG provides new style parameters for every kind of line:
V, V0, V1, H, H0, H1.
* Old line width parameters are removed. The style parameters
can be used instead.
* A style is a map container for svg attribute keys and values
(string, string).
* The Python interface is updated to offer the new style parameters
accordingly as a dict.
* Because there are many parameters on the function call now,
the Python interface supports keyword parameters.
* Update ArchSectionPlane to take advantage of the new style parameters.
This simplifies the code. String replacements could be removed
(done in a later commit).
* FeatureViewPy.cpp is – to my knowledge – the only function that used the
old line width parameters. I rewrote it to use the new style parameters.
2017-04-23 19:42:25 -03:00
Zheng, Lei
d6505a0306
Path.Area: return Py_None with ref counting
2017-04-23 19:15:19 -03:00
Zheng, Lei
cc70774ed2
Path.Area: added Line, Grid, Triangle pocket mode
2017-04-23 19:15:19 -03:00
Zheng, Lei
6aecc60e83
Path.Area: suppress holes when project
...
When doing projection, there doesn't seem to have a reliable way of
knowing which edges are for inner holes. So we just suppress holes
altogether, and make it as outline only projection.
2017-04-23 19:15:19 -03:00
Zheng, Lei
92e6edff90
Path.Area: make XY plane selection explicit
2017-04-23 19:15:19 -03:00
Zheng, Lei
87dc72e2ef
Path.Area: support open path direction control
2017-04-23 19:15:19 -03:00
Zheng, Lei
9c3b8d2811
Path.Area: change Distance() to SquareDistance()
2017-04-23 19:15:19 -03:00
Zheng, Lei
6d275e1ed6
Path.Area: added outline projection support
2017-04-23 19:15:19 -03:00
Zheng, Lei
94c593f763
Path.Area: replaced sort_Edges with WireJoiner
2017-04-23 19:15:19 -03:00
Zheng, Lei
5613113315
Path.Area: fixed plane finding
2017-04-23 19:15:19 -03:00
Zheng, Lei
8b7a13688f
libarea: fixed open curve clipping
2017-04-23 19:15:19 -03:00
Zheng, Lei
e06c34e81b
Path.Area: added feedrate to Path.fromShapes
...
'feedrate' for normal move, and 'feedrate_v' for vertical only move if
not zero. Also added 'verbose' parameter to include complete cooridnate
and feedrate parameter in each motion GCode.
2017-04-23 19:15:19 -03:00