Commit Graph

10934 Commits

Author SHA1 Message Date
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
wwmayer
1451b52516 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
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
Abdullah Tahiri
a9322ee73f Sketcher: Lock constraint bug fix 2017-04-22 18:16:27 +02:00
Abdullah Tahiri
eeeff1e1d2 Sketcher: Lock constraint relative mode and group locking 2017-04-22 18:16:27 +02:00
wmayer
0766340ebb fix clang warning: -Wunused-private-field 2017-04-22 15:55:18 +02:00
wmayer
6f230bfa58 fix build failure 2017-04-22 15:23:21 +02:00
wmayer
b63ab95bec Extend task panel for filling function 2017-04-22 15:07:09 +02:00
wmayer
2e6345dbba Extend task panel for filling function 2017-04-22 14:46:26 +02:00
wmayer
389f014091 Initial task panel for filling function 2017-04-22 11:12:13 +02:00
wmayer
e05f9dfa26 add lineedit class with clear button 2017-04-22 11:11:13 +02:00
wmayer
939ee7b9a6 make EdgeSelection an internal class 2017-04-21 22:36:17 +02:00
wmayer
79c762f535 rename task panel class to be conform with the feature class 2017-04-21 19:30:03 +02:00
wmayer
1b81ffaaaf fix crash ExpressionDelegate::paint 2017-04-20 22:31:18 +02:00
Peter Lama
fa4bebf2e0 Use OCCT Handle macro for Handle_ classes
This is the result of running OCCT's upgrade script provided
with OCCT 7.0. See
https://www.opencascade.com/content/freecad-occt710-and-windows-rtti-data-missing#comment-form
and
https://www.forum.freecadweb.org/viewtopic.php?f=4&t=21405&start=120#p169019
for why this is necessary for OCCT >= 7.1
2017-04-20 12:27:34 +02:00
asiersarasua
4564e4f4a4 Fix typos 2017-04-20 09:49:19 +02:00
Sabin Iacob
3824e8e8b8 [path] Set ToolController before calling setup in PathDressupHoldingTags 2017-04-20 09:41:25 +02:00
Sabin Iacob
df34504ddc [path] Fix AttributeError when attempting to export holding tags gcode 2017-04-20 09:41:09 +02:00
wwmayer
174b397d4e Merge pull request #704 from wwmayer/Curveonmesh
project polyline on mesh and create edge
2017-04-20 07:32:38 +02:00
wmayer
6f4131bece project polyline on mesh and create edge 2017-04-19 23:30:15 +02:00
Yorik van Havre
33cd945195 Added AlephObjects to credits 2017-04-17 23:25:14 -03:00
Yorik van Havre
7e487f0fee Small improvements to the PropertyLink editor
* The "Edit" link is now a button, same as the Placement editor
* Added a "None" entry on top of the Link dialog
2017-04-17 23:00:14 -03:00
Abdullah Tahiri
63f77dec59 Sketcher: Remove unused variable 2017-04-17 20:53:12 +02:00