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
wmayer
a76ebbcec9
Initial task panel for filling function
2017-04-22 11:12:13 +02:00
wmayer
5b0c93f57c
add lineedit class with clear button
2017-04-22 11:11: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
wwmayer
cc0c09fdc3
Merge pull request #704 from wwmayer/Curveonmesh
...
project polyline on mesh and create edge
2017-04-20 07:32:38 +02:00
wmayer
48a6bca7d8
project polyline on mesh and create edge
2017-04-19 23:30:15 +02:00
Yorik van Havre
67fc70dada
Added AlephObjects to credits
2017-04-17 23:25:14 -03:00
Yorik van Havre
a967c41b0b
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
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