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
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
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
wmayer
a76ebbcec9
Initial task panel for filling function
2017-04-22 11:12:13 +02:00
wmayer
71de6009aa
make EdgeSelection an internal class
2017-04-21 22:36:17 +02:00
wmayer
0f1c66724b
rename task panel class to be conform with the feature class
2017-04-21 19:30:03 +02:00
wmayer
6e5bba3999
fix crash ExpressionDelegate::paint
2017-04-20 22:31:18 +02:00
Peter Lama
a75a98ef27
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
ea3d86b735
Fix typos
2017-04-20 09:49:19 +02:00
Sabin Iacob
e12be7aaad
[path] Set ToolController before calling setup in PathDressupHoldingTags
2017-04-20 09:41:25 +02:00
Sabin Iacob
a547cebcf1
[path] Fix AttributeError when attempting to export holding tags gcode
2017-04-20 09:41:09 +02:00
wmayer
48a6bca7d8
project polyline on mesh and create edge
2017-04-19 23:30:15 +02:00
Abdullah Tahiri
ad112ca8ab
Sketcher: Remove unused variable
2017-04-17 20:53:12 +02:00
Abdullah Tahiri
09d774631c
Sketcher: Elements Widget add construction information
2017-04-17 20:53:12 +02:00
Abdullah Tahiri
b06150ba02
Sketcher: Hide Internal Alignment Constraints
2017-04-17 20:53:12 +02:00
Abdullah Tahiri
937c6179e2
Sketcher: Rendering order widget
2017-04-17 20:53:12 +02:00
Abdullah Tahiri
4c3ffb57ca
Sketcher: Fixes #3009 error with geompoints in sketcher
...
=======================================================
Introduction of construction points as fixed solver entities introduced this bug, as there was no specific code to check for points as they were by default construction.
2017-04-17 20:47:30 +02:00
Abdullah Tahiri
b6833e882e
Sketcher: Basic symmetry for angle constraint
...
Fixes #0002804
2017-04-17 19:14:42 +02:00
wmayer
b2c2e3ffda
fix material binding of indexed lineset when highlighting an edge
2017-04-17 19:02:11 +02:00
wmayer
f44c2000e8
fix unused variable warnings
2017-04-17 16:20:44 +02:00
wmayer
6b391fa7f3
set shortcut for deletion of items
2017-04-17 16:20:44 +02:00
wmayer
f87c6ff2db
implement highlighting of references
2017-04-17 16:20:44 +02:00
wmayer
884b8202ea
rename SurfaceFeature to GeomFillSurface
2017-04-17 16:20:44 +02:00
wmayer
951bf59ef4
remove superfluous classes BezierSurface and BSplineSurface
2017-04-17 16:20:44 +02:00
wmayer
ff34c3eece
move handling of Bezier and BSpline surface creation into a common class to increase flexibility
2017-04-17 16:20:44 +02:00
wmayer
3eed50918b
improve undo/redo handling
2017-04-17 16:20:44 +02:00
wmayer
3857e5200a
implement Remove command in context menu
2017-04-17 16:20:44 +02:00