Commit Graph

8086 Commits

Author SHA1 Message Date
wmayer
037cf48cef class with virtual methods must have virtual destructor 2016-07-15 13:52:27 +02:00
Mateusz Skowroński
d7240c6b2b Fix some GCC warnings. 2016-07-15 13:05:37 +02:00
tomate44
2bed80b57e fix VDegree
fix for getVDegree that was returning UDegree
2016-07-15 11:27:24 +02:00
Lorenz Hüdepohl
803c136968 Path: Fix spurious full circles in PathProfile
There was an issue in the conversion from a toolpath to GCode, some very
small circles were mistaken for full circles when their coordinates were
output in some finite precision.
2016-07-15 10:57:12 +02:00
wmayer
b4c084dd06 replace tabs with spaces 2016-07-15 10:44:19 +02:00
Sergo
9f0db2d900 refuse to create partdesign objects if no active body in document 2016-07-15 10:35:52 +02:00
WandererFan
e62d883f54 Prevent invisible faces.
Warn if Direction == XAxisDirection
2016-07-14 18:10:27 -04:00
WandererFan
2c8f497292 Get user prefs at time of use 2016-07-14 15:55:57 -04:00
WandererFan
9dec3c540e Fix default normal/select/preselect colors 2016-07-14 15:55:57 -04:00
wmayer
f1d59002be + handle usage of libmedc < 3.0.7 2016-07-14 21:35:13 +02:00
wmayer
ff060d4f1f + fix possible crash inside NavigationStyleP::viewAnimationCB if viewer has no camera node 2016-07-14 17:14:10 +02:00
wmayer
ba72952dd8 + suppress log messages of active document or view in release build 2016-07-14 16:32:29 +02:00
wmayer
bdb359df39 + GFA is available since OCC 6.9.0, raise an AttributeError otherwise 2016-07-14 15:16:02 +02:00
wmayer
6dc1a93970 + fix linking errors with MED V2 wrapper classes 2016-07-14 15:10:36 +02:00
vejmarie
c64d575fee Enable MED class init 2016-07-14 14:53:46 +02:00
vejmarie
e5c5336397 Fix MED Export 2016-07-14 14:53:46 +02:00
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