Commit Graph

7969 Commits

Author SHA1 Message Date
WandererFan
e2976b2ef5 Remove unconnected signals 2016-07-14 14:39:06 +02:00
WandererFan
1038630eeb Remove superfluous OCC includes 2016-07-14 14:39:06 +02:00
WandererFan
27aafada9c Include file cleanup per cppclean analysis 2016-07-14 14:39:06 +02:00
wmayer
602053d2d4 + expose OCC version number to Python 2016-07-14 14:11:54 +02:00
sliptonic
667ce25552 Bugs. 2016-07-12 20:13:45 -03:00
sliptonic
87be8a022d bug preventing tool change gcode
from being added to postprocess
2016-07-12 20:13:45 -03:00
sliptonic
9b83b873e7 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
9c076b0f80 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
1878967136 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
d532de3bf7 Merge pull request #212 from WandererFan/TDFix
TechDraw: 2 Minor Fixes
2016-07-12 18:46:56 -03:00
WandererFan
b9caa80a16 Fix #58 ProjectionGroupItem positioning after restore 2016-07-12 15:53:20 -04:00
WandererFan
21689507ea DrawViewSymbol forgets Scale on restore 2016-07-12 15:20:08 -04:00
WandererFan
3dec1bd3b6 Fix template field dialog multiple instances 2016-07-11 15:32:16 +02:00
WandererFan
5591161e82 dlgTemplateField parentage
cosmetic: move button box
2016-07-11 15:32:16 +02:00
WandererFan
6cb130b559 Implement ShowCutSurface 2016-07-11 15:32:16 +02:00
WandererFan
d183759e64 Fix #56 ViewSection
- too many edges in result
2016-07-11 15:32:16 +02:00
WandererFan
f89cdb3cc9 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
aee2b622b6 Fix crash in dtor of QGVPage 2016-07-11 15:32:16 +02:00
WandererFan
449cbbd5bd View does not appear on Redo
Crash in Page on Redo View
2016-07-11 15:32:16 +02:00
WandererFan
fb397e0f8b Dimension Precision property does not update
VPs updateData doesn't call parent
2016-07-11 15:32:16 +02:00
WandererFan
5345f5b337 Apply "layout" to template field dialog 2016-07-11 15:32:16 +02:00
WandererFan
5b5243eae5 prevent fail when scale is zero 2016-07-11 15:32:16 +02:00
WandererFan
30f56fabf3 fix precision and thousands separator 2016-07-11 15:32:16 +02:00
WandererFan
d87cfcf6ea Changed UI 2016-07-11 15:32:16 +02:00
WandererFan
8f0fc1aadf Add unit tests for TechDraw 2016-07-11 15:32:16 +02:00
WandererFan
b796e1c611 Handle accented chars 2016-07-11 15:32:16 +02:00
WandererFan
1afd32593d TemplateTextField double click crash 2016-07-11 15:32:16 +02:00
WandererFan
6f615b96fc Correct Radius Dim leader behaviour 2016-07-11 15:32:16 +02:00
WandererFan
4b784975bb regex_replace invalidates iterators 2016-07-11 15:32:16 +02:00
WandererFan
8ef0aec717 typo in pixmap name 2016-07-11 15:32:16 +02:00
WandererFan
4916112cd4 Fixes 1-3 per wmeyer 2016-07-11 15:32:16 +02:00
WandererFan
4a65c4f35e Remove InitGui.py from measure 2016-07-11 15:32:16 +02:00
WandererFan
981fe9c0d9 remove Handle_Geom_Curve.hxx for OCC7 2016-07-11 15:32:16 +02:00
WandererFan
7511ff146c Fix sloppy Namespace qualifiers 2016-07-11 15:32:16 +02:00
WandererFan
82c86b24af Default font to Sans from osifont 2016-07-11 15:32:16 +02:00
WandererFan
35e833f7cd REQUIRES_MODS(BUILD_TECHDRAW... 2016-07-11 15:32:16 +02:00
WandererFan
030ccc172d Colored SVG Hatch patterns 2016-07-11 15:32:16 +02:00
WandererFan
a7dac4721c Hatch using svgItem 2016-07-11 15:32:16 +02:00
WandererFan
a77d49d13e DrawHatch derives from DocumentObject
Remove Face selected box
Add Face# to Hatch Label
2016-07-11 15:32:16 +02:00
WandererFan
75713a64c0 Fix #11 View Selection In Tree 2016-07-11 15:32:16 +02:00
WandererFan
8976ac330e Hatch View Faces 2016-07-11 15:32:16 +02:00
WandererFan
f0970e5b21 Fix non-section faces in ViewSection 2016-07-11 15:32:16 +02:00
WandererFan
d2763eebfc Working Face selection 2016-07-11 15:32:16 +02:00
WandererFan
a843759f29 Basic Face detection using BGL 2016-07-11 15:32:16 +02:00
Ian Rees
c61662d100 Removed unused QObject inheritances. 2016-07-11 15:32:16 +02:00
Ian Rees
1bb88a761e Remove ctor args from QGIView and descendents. 2016-07-11 15:32:16 +02:00
WandererFan
04dac86bd4 Add modified A3_Landscape template 2016-07-11 15:32:16 +02:00
WandererFan
44f3a1a21e Fix issue 53 Drawing templates 2016-07-11 15:32:16 +02:00
WandererFan
eeaa39f270 Fix load Dimension w/ broken ref 2016-07-11 15:32:16 +02:00
Ian Rees
839a51ef08 Cleaning up compile warnings. 2016-07-11 15:32:16 +02:00