Commit Graph

5839 Commits

Author SHA1 Message Date
WandererFan
9bceb30d30 Prevent buildup of old QGItems 2016-07-17 10:43:55 -04:00
WandererFan
9b81ea1cc9 Exclude hatches from SVG export.
QtSvg does not support clipping which is required for hatches.
2016-07-17 10:43:54 -04:00
wmayer
6e6904898c fix build failure with occ 6.9.0 2016-07-17 16:18:12 +02:00
vejmarie
fdc44af644 Fix MED Reader
Assign same Mesh name into MED archive based on shortfilename during write and read operation
2016-07-16 17:43:20 +02:00
wwmayer
4e08302582 Merge pull request #219 from tomate44/tomate44-BezierSurface-fix
fix VDegree
2016-07-15 13:57:52 +02:00
Mateusz Skowroński
634f3af079 Fix some GCC warnings. 2016-07-15 13:05:37 +02:00
tomate44
2281881f06 fix VDegree
fix for getVDegree that was returning UDegree
2016-07-15 11:27:24 +02:00
Lorenz Hüdepohl
2cf6da1739 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
f85c76f6d9 replace tabs with spaces 2016-07-15 10:44:19 +02:00
Sergo
ca3deae602 refuse to create partdesign objects if no active body in document 2016-07-15 10:35:52 +02:00
WandererFan
1365653891 Prevent invisible faces.
Warn if Direction == XAxisDirection
2016-07-14 18:10:27 -04:00
WandererFan
dd543c22ef Get user prefs at time of use 2016-07-14 15:55:57 -04:00
WandererFan
9dc0b909d0 Fix default normal/select/preselect colors 2016-07-14 15:55:57 -04:00
wmayer
b6670cde01 + GFA is available since OCC 6.9.0, raise an AttributeError otherwise 2016-07-14 15:16:02 +02:00
vejmarie
fc76bf8bbb Fix MED Export 2016-07-14 14:53:46 +02:00
Mateusz Skowroński
6abf16b720 Fix files encoding. Go from ISO8859-1 to UTF-8. 2016-07-14 14:49:19 +02:00
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
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