Commit Graph

10948 Commits

Author SHA1 Message Date
Zheng, Lei
e1fcdcf3bb 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
3e7b6b359d Merge pull request #710 from wwmayer/SurfaceFilling
Surface filling task panel
2017-04-24 21:29:00 +02:00
wmayer
fa50729aeb 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
2cfb029fe5 highlighting of point constraints 2017-04-24 17:20:41 +02:00
wmayer
35544db84a fix vertex highlighting 2017-04-24 17:19:21 +02:00
wmayer
7e977a8ecc rename material binding class member for faces to make clear its purpose 2017-04-24 14:53:05 +02:00
wmayer
6a4171c243 implement highlighting of surface in filling task panel 2017-04-24 14:43:30 +02:00
wmayer
aad1777443 fix include dir on cmake 2017-04-24 11:12:12 +02:00
wmayer
d73fd1e8ab Extend task panel for filling function 2017-04-24 11:12:12 +02:00
wmayer
e50dff0f02 Extend task panel for filling function 2017-04-24 11:12:12 +02:00
wmayer
b47805dcc6 Extend task panel for filling function 2017-04-24 11:12:12 +02:00
wmayer
b0eed05a73 Extend Py interface of PropertyStringList to accept all sequence types 2017-04-24 11:12:12 +02:00
wmayer
29673491e9 Extend task panel for filling function 2017-04-24 11:12:12 +02:00
wmayer
e2065ec5b9 Extend task panel for filling function 2017-04-24 11:12:12 +02:00
Sabin Iacob
4a51171593 [path] Add feeds to PathDressupHoldingTags output 2017-04-23 20:56:42 -03:00
Sabin Iacob
afd6057def [path] Set ToolController before calling setup in PathDressupHoldingTags 2017-04-23 20:56:42 -03:00
Sabin Iacob
9df156472a [path] Fix AttributeError when attempting to export holding tags gcode 2017-04-23 20:56:42 -03:00
Simon
1815a9ef4d Fix wrong variable name symbolLineWidth -> svgSymbolLineWidth. 2017-04-23 19:42:25 -03:00
Simon
e2b5c16c05 ArchSectionPlane: Fix incomplete SVG because of = instead of +=. 2017-04-23 19:42:25 -03:00
Simon
f673658a22 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
99247f57d7 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
9633c94515 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
2bda3a3207 Path.Area: return Py_None with ref counting 2017-04-23 19:15:19 -03:00
Zheng, Lei
c9be3b3676 Path.Area: added Line, Grid, Triangle pocket mode 2017-04-23 19:15:19 -03:00
Zheng, Lei
b623b20c87 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
4680488a7f Path.Area: make XY plane selection explicit 2017-04-23 19:15:19 -03:00
Zheng, Lei
041c403f5d Path.Area: support open path direction control 2017-04-23 19:15:19 -03:00
Zheng, Lei
e8704891f4 Path.Area: change Distance() to SquareDistance() 2017-04-23 19:15:19 -03:00
Zheng, Lei
17a57a3165 Path.Area: added outline projection support 2017-04-23 19:15:19 -03:00
Zheng, Lei
5eba2cb851 Path.Area: replaced sort_Edges with WireJoiner 2017-04-23 19:15:19 -03:00
Zheng, Lei
7f25fe6ddb Path.Area: fixed plane finding 2017-04-23 19:15:19 -03:00
Zheng, Lei
1094dcb47b libarea: fixed open curve clipping 2017-04-23 19:15:19 -03:00
Zheng, Lei
9e3f461f43 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
13e4a1bafb 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
b26945b0ad Path.Area: use normal move for step down 2017-04-23 19:15:19 -03:00
asiersarasua
43704f31ee Fix typos 2017-04-23 18:48:21 -03:00
Yorik van Havre
0d5176700a Draft: bugfix in DXF export of panel cuts 2017-04-23 15:17:50 -03:00
Yorik van Havre
42e785b2ba Draft: Array now propagates DiffuseColor of base object 2017-04-23 15:17:18 -03:00
Yorik van Havre
447cbefe46 AddonManager: support for qt5 2017-04-23 15:16:33 -03:00
wwmayer
eb5c56b502 Merge pull request #708 from abdullahtahiriyo/fix_driving_angle_value
Sketcher: Force solver to return non-driving angles in [-pi,pi]
2017-04-23 10:25:01 +02:00
Abdullah Tahiri
eefc51ee7a Sketcher: Force solver to return non-driving angles in [-pi,pi] 2017-04-23 06:00:40 +02:00
wmayer
444cfc397a encode names of constraints when writing to XML 2017-04-22 19:09:13 +02:00
Abdullah Tahiri
b619b844cf Sketcher: Consistency in terminology 2017-04-22 18:16:27 +02:00
Abdullah Tahiri
c57e594ad7 Sketcher: On reference constraint double click, change it to driving and enter edit mode 2017-04-22 18:16:27 +02:00
Abdullah Tahiri
e44208d56c Sketcher: Lock constraint bug fix 2017-04-22 18:16:27 +02:00
Abdullah Tahiri
0aa9438c0a Sketcher: Lock constraint relative mode and group locking 2017-04-22 18:16:27 +02:00
wmayer
44e5ee4da6 fix clang warning: -Wunused-private-field 2017-04-22 15:55:18 +02:00
wmayer
bd23414dcf fix build failure 2017-04-22 15:23:21 +02:00
wmayer
a4d2a9f77f Extend task panel for filling function 2017-04-22 15:07:09 +02:00
wmayer
0335e2a21c Extend task panel for filling function 2017-04-22 14:46:26 +02:00