Commit Graph

8120 Commits

Author SHA1 Message Date
Mateusz Skowroński
9154f31f51 Fix files encoding. Go from ISO8859-1 to UTF-8. 2016-07-14 14:49:19 +02:00
WandererFan
bda5c6233c Remove unconnected signals 2016-07-14 14:39:06 +02:00
WandererFan
de76cd6b53 Remove superfluous OCC includes 2016-07-14 14:39:06 +02:00
WandererFan
19968205d2 Include file cleanup per cppclean analysis 2016-07-14 14:39:06 +02:00
wmayer
161f418824 + expose OCC version number to Python 2016-07-14 14:11:54 +02:00
sliptonic
c5b501b9d3 Bugs. 2016-07-12 20:13:45 -03:00
sliptonic
4880e633b9 bug preventing tool change gcode
from being added to postprocess
2016-07-12 20:13:45 -03:00
sliptonic
f6654c8a6d Dressup to add dragknife corner actions to a path
Dragknives have an offset so paths must be extended to complete the cut.
They also require special handling if the incident angle between two segments
is small.  This dressup provides properties for the filter angle, offset
distance, and pivot height.  One known area still needs to be addressed:

If the segment being processed is shorter than the offset distance, the
extension may be added incorrectly.

Additional corner strategies could also be added in the future to enhance drag
knife performance.

Some of the files also got a pep8 cleanup.

PathKurveUtils:  logic around line #460 to always pass Z value.
Previously, the Z was only passed if it changed.  This caused some downstream
problems for dressup functions.

Changes to Dressup so it works with parent objects correctly.
2016-07-12 20:13:45 -03:00
sliptonic
19306c6d1c Show a simple representation of the tool
Builds a representation of the tool and shows it while the task dialog is open.

Next:  Need to make the representation more accurate with respect
to end shape, corner radius, etc.

Need to improve the tool library handling

Need to improve the tool selection process.
2016-07-12 20:13:45 -03:00
sliptonic
c5d35a00c4 Engrave now can handle imported SVG elements.
Selection gate changed to allow selection of Shape objects with
boundbox.z = 0 and having wires.

Splines and curves are processed through pathutils.cleanedges but the precision is
hard coded.  Might want to change this to a property.
2016-07-12 20:13:45 -03:00
Yorik van Havre
8f84b19ed9 Merge pull request #212 from WandererFan/TDFix
TechDraw: 2 Minor Fixes
2016-07-12 18:46:56 -03:00
WandererFan
3c2222ba60 Fix #58 ProjectionGroupItem positioning after restore 2016-07-12 15:53:20 -04:00
WandererFan
1a87644f44 DrawViewSymbol forgets Scale on restore 2016-07-12 15:20:08 -04:00
WandererFan
2ac560e7b0 Fix template field dialog multiple instances 2016-07-11 15:32:16 +02:00
WandererFan
277a00dc3c dlgTemplateField parentage
cosmetic: move button box
2016-07-11 15:32:16 +02:00
WandererFan
8edfa147da Implement ShowCutSurface 2016-07-11 15:32:16 +02:00
WandererFan
fc9c4d2bf5 Fix #56 ViewSection
- too many edges in result
2016-07-11 15:32:16 +02:00
WandererFan
8d859c91e1 Fix Vertex hover behaviour
Refactor to reduce duplicate code
Fix Section face color mix on hover
2016-07-11 15:32:16 +02:00
WandererFan
dd5b461e35 Fix crash in dtor of QGVPage 2016-07-11 15:32:16 +02:00
WandererFan
19ff06c9cd View does not appear on Redo
Crash in Page on Redo View
2016-07-11 15:32:16 +02:00
WandererFan
32a8621e14 Dimension Precision property does not update
VPs updateData doesn't call parent
2016-07-11 15:32:16 +02:00
WandererFan
c4aa9973d3 Apply "layout" to template field dialog 2016-07-11 15:32:16 +02:00
WandererFan
66fa2a242e prevent fail when scale is zero 2016-07-11 15:32:16 +02:00
WandererFan
350d8bb55b fix precision and thousands separator 2016-07-11 15:32:16 +02:00
WandererFan
8e70d6c569 Changed UI 2016-07-11 15:32:16 +02:00
WandererFan
eb0097782b Add unit tests for TechDraw 2016-07-11 15:32:16 +02:00
WandererFan
f613a91460 Handle accented chars 2016-07-11 15:32:16 +02:00
WandererFan
c880c0c704 TemplateTextField double click crash 2016-07-11 15:32:16 +02:00
WandererFan
0ee878fa47 Correct Radius Dim leader behaviour 2016-07-11 15:32:16 +02:00
WandererFan
57b79da3af regex_replace invalidates iterators 2016-07-11 15:32:16 +02:00
WandererFan
a68b6d068f typo in pixmap name 2016-07-11 15:32:16 +02:00
WandererFan
26aff79a31 Fixes 1-3 per wmeyer 2016-07-11 15:32:16 +02:00
WandererFan
31a8ca23f7 Remove InitGui.py from measure 2016-07-11 15:32:16 +02:00
WandererFan
7a0ae3af52 remove Handle_Geom_Curve.hxx for OCC7 2016-07-11 15:32:16 +02:00
WandererFan
7f442f1f42 Fix sloppy Namespace qualifiers 2016-07-11 15:32:16 +02:00
WandererFan
ed2de2c06e Default font to Sans from osifont 2016-07-11 15:32:16 +02:00
WandererFan
aa5df7c9ba REQUIRES_MODS(BUILD_TECHDRAW... 2016-07-11 15:32:16 +02:00
WandererFan
05d94f31f8 Colored SVG Hatch patterns 2016-07-11 15:32:16 +02:00
WandererFan
731f76f52d Hatch using svgItem 2016-07-11 15:32:16 +02:00
WandererFan
ba71e074ce DrawHatch derives from DocumentObject
Remove Face selected box
Add Face# to Hatch Label
2016-07-11 15:32:16 +02:00
WandererFan
efe10e0fb9 Fix #11 View Selection In Tree 2016-07-11 15:32:16 +02:00
WandererFan
bca002ff09 Hatch View Faces 2016-07-11 15:32:16 +02:00
WandererFan
d26fa56838 Fix non-section faces in ViewSection 2016-07-11 15:32:16 +02:00
WandererFan
6cec1df189 Working Face selection 2016-07-11 15:32:16 +02:00
WandererFan
f11e8ffa10 Basic Face detection using BGL 2016-07-11 15:32:16 +02:00
Ian Rees
cd96b40983 Removed unused QObject inheritances. 2016-07-11 15:32:16 +02:00
Ian Rees
b883434318 Remove ctor args from QGIView and descendents. 2016-07-11 15:32:16 +02:00
WandererFan
4fe9267eeb Add modified A3_Landscape template 2016-07-11 15:32:16 +02:00
WandererFan
510569f05b Fix issue 53 Drawing templates 2016-07-11 15:32:16 +02:00
WandererFan
f59173c728 Fix load Dimension w/ broken ref 2016-07-11 15:32:16 +02:00