Commit Graph

10386 Commits

Author SHA1 Message Date
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
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
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
Zheng, Lei
0391e5c70d Path.Area: added orientation param to Path.fromShapes
The 'orientation' parameter allows to enforce loop direction
2017-04-23 19:15:19 -03:00
Zheng, Lei
7211791a2d Path.Area: use normal move for step down 2017-04-23 19:15:19 -03:00
asiersarasua
289f901c29 Fix typos 2017-04-23 18:48:21 -03:00
Yorik van Havre
c0757ca14a Draft: bugfix in DXF export of panel cuts 2017-04-23 15:17:50 -03:00
Yorik van Havre
3a5d4f8186 Draft: Array now propagates DiffuseColor of base object 2017-04-23 15:17:18 -03:00
Yorik van Havre
a917146cbe AddonManager: support for qt5 2017-04-23 15:16:33 -03:00
Abdullah Tahiri
968f01e206 Sketcher: Force solver to return non-driving angles in [-pi,pi] 2017-04-23 06:00:40 +02:00
wmayer
3786a77d3c encode names of constraints when writing to XML 2017-04-22 19:09:13 +02:00
Abdullah Tahiri
a68a0e6631 Sketcher: Consistency in terminology 2017-04-22 18:16:27 +02:00
Abdullah Tahiri
72a3ddb2b4 Sketcher: On reference constraint double click, change it to driving and enter edit mode 2017-04-22 18:16:27 +02:00