Commit Graph

5918 Commits

Author SHA1 Message Date
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
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
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
Ian Rees
6133971747 Cleaning up compile warnings. 2016-07-11 15:32:16 +02:00
Ian Rees
0e68943ac3 Tidy up in MDIViewPage 2016-07-11 15:32:16 +02:00
WandererFan
1b7b6d96aa Handle malformed SVG in Template
Prevent invalid data input for Editable Text
2016-07-11 15:32:16 +02:00
WandererFan
1bf3d2b9e6 Yet another /Drawing/TechDraw/ edit! 2016-07-11 15:32:16 +02:00
WandererFan
3eba56d463 Apply fix (FC2347) for boost v1.60.0 2016-07-11 15:32:16 +02:00
WandererFan
3b96cbbeb6 wmayer patch for Win & OCC7 compat 2016-07-11 15:32:16 +02:00
WandererFan
015c538638 Py convenience functions for Template EditableTexts 2016-07-11 15:32:16 +02:00
WandererFan
2c73823788 Prettify dialog to change EditableTexts 2016-07-11 15:32:16 +02:00
WandererFan
a4061bb6a5 Fix #10 View Visibility 2016-07-11 15:32:16 +02:00
WandererFan
c37df54c0f fix BRect calc for non-custom items 2016-07-11 15:32:16 +02:00
WandererFan
665bea53cf Svg DrawViewSpreadsheet 2016-07-11 15:32:16 +02:00
Ian Rees
898587454f Turned DrawUtil into class with static methods. 2016-07-11 15:32:16 +02:00
Ian Rees
c6bcfd84ce chainGeoms() and nextGeom() are now static methods 2016-07-11 15:32:16 +02:00
Ian Rees
88bc3574aa Whitespace cleanup. 2016-07-11 15:32:16 +02:00
WandererFan
358c55c228 Use Units Decimal setting 2016-07-11 15:32:16 +02:00
WandererFan
dc205d37fc fix #16 Units for Dimensions 2016-07-11 15:32:16 +02:00
WandererFan
5af541e340 Standardize icon naming 2016-07-11 15:32:16 +02:00
WandererFan
9a85375705 fix default Hatch file/dir 2016-07-11 15:32:16 +02:00
WandererFan
37df199f24 avoid assert fail on DrawPatch attach 2016-07-11 15:32:16 +02:00
Ian Rees
268aa8b3ec Tidy up after bad merge 2016-07-11 15:32:16 +02:00
WandererFan
fb439b3d34 Handle multiple DrawPage in Document 2016-07-11 15:32:16 +02:00
WandererFan
bd1c150930 remove obsolete 3D reference code 2016-07-11 15:32:16 +02:00
WandererFan
d73ffaa55b Preserve True/Projected state on save/restore 2016-07-11 15:32:16 +02:00
WandererFan
7f7e63dfe0 link Dimension to 3D geometry 2016-07-11 15:32:16 +02:00
WandererFan
88ad069817 change Dimension.ProjectionType -> MeasureType 2016-07-11 15:32:16 +02:00
Ian Rees
e4b5bba140 Move SVG output method from MDIViewPage to QGVPage 2016-07-11 15:32:16 +02:00
WandererFan
83a0078bd5 Fix App logic in ViewProviders -> segfaults 2016-07-11 15:32:16 +02:00
WandererFan
bd13d33937 Fix View positioning for Automatic scaling 2016-07-11 15:32:16 +02:00
WandererFan
7c6d92238a Fix Angle Dimension validation 2016-07-11 15:32:16 +02:00
WandererFan
96d817e280 Fix #41 Projoection Group Spacing
Fix glitch when change First <-> Third Angle
2016-07-11 15:32:16 +02:00
Ian Rees
1b52a517bf Disable commands when no active document. 2016-07-11 15:32:16 +02:00
Ian Rees
a01e774405 Fix enum values for first/third angle preference 2016-07-11 15:32:16 +02:00
WandererFan
ac0963c561 Fix Part display on property changes 2016-07-11 15:32:16 +02:00
WandererFan
32e3c01c2d Fix Document/Custom Scale handling 2016-07-11 15:32:16 +02:00
WandererFan
c32d71c47f Add more preferences 2016-07-11 15:32:16 +02:00
WandererFan
20de9af2c2 Fix Hatch path fp math
Fix section face painting
2016-07-11 15:32:16 +02:00
WandererFan
a996c0a3af Brush rendering notes 2016-07-11 15:32:16 +02:00
WandererFan
a15825fa4c Fix issue #29 view handles 2016-07-11 15:32:16 +02:00
WandererFan
8cbd6d0b23 Section face positioning/display 2016-07-11 15:32:16 +02:00
WandererFan
af7d7f3118 ScaleType/Scale linkage & PropertyEditor 2016-07-11 15:32:16 +02:00
WandererFan
8a9c708659 HLR looses Shape for some ProjGroupItems 2016-07-11 15:32:16 +02:00
WandererFan
012693a190 Missing ProjectionGroup icons 2016-07-11 15:32:16 +02:00
WandererFan
14a9fd4fcd Fix issue 7 Projection Results 2016-07-11 15:32:16 +02:00
Ian Rees
d95bf4786d Forgot to not use auto()... 2016-07-11 15:32:16 +02:00
Ian Rees
dff7f7811f Fixed Save and Save As in MDI view 2016-07-11 15:32:16 +02:00
WandererFan
2628550860 typo in property name 2016-07-11 15:32:16 +02:00
WandererFan
699c066991 Add HTML/CSS Styles to Annotation 2016-07-11 15:32:16 +02:00
WandererFan
c7d845cc5b Basic working version of DrawViewDraft 2016-07-11 15:32:16 +02:00
WandererFan
6fe7add213 add ToggleFrame command 2016-07-11 15:32:16 +02:00
WandererFan
42eed349ac add Python functionality for ProjectionGroups 2016-07-11 15:32:16 +02:00
WandererFan
707ef236f3 Add Python functionality for DrawHatch 2016-07-11 15:32:16 +02:00
WandererFan
91526af69c remove superfluous execue()s 2016-07-11 15:32:16 +02:00
Ian Rees
c70114f8da Fix compilation on Mac + small filename typo. 2016-07-11 15:32:16 +02:00
WandererFan
a40e398227 fix range_check error during Dimension creation 2016-07-11 15:32:16 +02:00
WandererFan
40493d49db Py functionality for Dimensions 2016-07-11 15:32:16 +02:00
WandererFan
0372b1e8aa more /Drawing/TechDraw/ for Commands 2016-07-11 15:32:16 +02:00
WandererFan
2abc79eb97 note re module level functions 2016-07-11 15:32:16 +02:00
WandererFan
6d07fec219 Python functionality for ViewPart and ViewClip 2016-07-11 15:32:16 +02:00
WandererFan
5bf42856fd 1st cut PyClip functionality 2016-07-11 15:32:16 +02:00
WandererFan
ccdb56c06e use Mod/TechDraw for preferences 2016-07-11 15:32:16 +02:00
WandererFan
5a7dd5d123 implement page.addView for Python 2016-07-11 15:32:16 +02:00
WandererFan
05c730f38d Preferences "Drawing" -> "TechDraw" 2016-07-11 15:32:16 +02:00
WandererFan
a46fd856d4 more /Drawing/TechDraw/ edits. VP name conflicts 2016-07-11 15:32:16 +02:00
WandererFan
cb25c494de misc /Mod/Drawing, QGI, obs functions 2016-07-11 15:32:16 +02:00
WandererFan
8eb8e96b72 rename qrc 2016-07-11 15:32:16 +02:00
WandererFan
a9d6f1568b /QGI/QGraphicsItem/ 2016-07-11 15:32:16 +02:00
WandererFan
9062b7e727 Mod/Drawing includes -> Mod/TechDraw 2016-07-11 15:32:16 +02:00
WandererFan
7e49a1b986 Mod/Drawing includes -> Mod/TechDraw 2016-07-11 15:32:16 +02:00
WandererFan
f096a9d6ff Mod/Drawing includes -> Mod/TechDraw 2016-07-11 15:32:16 +02:00
WandererFan
ed47ae4916 StatusBits -> setStatus 2016-07-11 15:32:16 +02:00
WandererFan
e40bbdad5b Mod/Measure warnings 2016-07-11 15:32:16 +02:00
WandererFan
3b2d07e8af ProjectionAlgo & DrawingExport renames 2016-07-11 15:32:16 +02:00
WandererFan
bf8a228405 Add init files for /Mod/TechDraw 2016-07-11 15:32:16 +02:00
WandererFan
67bf21277a cmake changes for /Mod/TechDraw 2016-07-11 15:32:16 +02:00
WandererFan
8e77d3583e Add Mod/TechDraw/Gui/Resources 2016-07-11 15:32:16 +02:00
WandererFan
7c009c6def Add Mod/TechDraw/Gui 2016-07-11 15:32:16 +02:00
WandererFan
189839e93d Add Mod/TechDraw/App 2016-07-11 15:32:16 +02:00
WandererFan
96ba139f70 Add /Mod/Measure for TechDraw 2016-07-11 15:32:16 +02:00
Bernd Hahnebach
40a9403eef FEM: material references, select solid by one click on a vertex 2016-07-11 15:27:20 +02:00
Bernd Hahnebach
251a8d4bac FEM: trailing whitespaces 2016-07-11 15:27:20 +02:00
Yorik van Havre
bcb99fb363 Arch: Fixed transparency-related display issues 2016-07-09 14:01:35 -03:00
Yorik van Havre
223725ca82 Temporary workaround for the fractions issue in new imperial unit schema (using + between inches and fractions) 2016-07-09 14:01:07 -03:00
Yorik van Havre
79ddfd1bcf Arch: fixed aggregation bug in IFC export 2016-07-08 11:09:57 -03:00
Yorik van Havre
a8c95189fc Path: added addObject & removeObject python methods to FeatureCompound - fixes #2607 2016-07-07 19:49:00 -03:00
Mateusz Skowroński
d9b7a5fbbf Use byteCount() instead of obsolete numBytes().
This change is Qt4/Qt5 neutral.
2016-07-07 15:10:31 -03:00
Mateusz Skowroński
2c79424f81 Fix includes to be compatible with Qt5.
This change is Qt4/Qt5 neutral.
2016-07-07 15:10:31 -03:00
Mateusz Skowroński
8b2f435c04 QString::fromAscii() is obsolete in Qt5. Replace it with fromLatin1().
This change is Qt4/Qt5 neutral.
2016-07-07 15:10:31 -03:00
Mateusz Skowroński
873f8e3ea7 Fix files encoding. Go from ISO8859-1 to UTF-8. 2016-07-07 15:07:38 -03:00
Jonathan Wiedemann
336f8ada5e add "return" in libraries checking 2016-07-07 15:03:09 -03:00
Jonathan Wiedemann
34d8680d8c fix json error 2016-07-07 15:03:09 -03:00
Yorik van Havre
43e0834fb4 Part: Enabled per-face transparency 2016-07-07 12:46:25 -03:00
Yorik van Havre
aadf63eecf Arch: Fixed bugs in IFC export 2016-07-07 11:54:18 -03:00
DeepSOIC
ca0a640aed Part: TopoShapePy: made Solid constructor accept CompSolid
Part.Solid(shape) now accepts compsolid as input, and creates a solid by
joining the compsolid.

Same done to Part.makeSolid().

+ change exception handling to expose the error message.
2016-07-04 14:58:53 +03:00
DeepSOIC
885fecb1ea Part: TopoShapePy: add generalFuse method 2016-07-04 14:57:50 +03:00
DeepSOIC
c8ebc7f9c2 Part: TopoShape: add generalFuse method (GFA)
OCC's Generaal Fuse Algorithm
2016-07-04 14:55:38 +03:00
John Dupuy
ec20073563 Bug fixes to opensbp post processor in Path for ShopBot. 2016-07-03 22:48:53 -03:00
sliptonic
bf46ea4804 Additional fixes for post processing.
comment diameter instead of radius for compensated profile/surface ops
opensbp improved pre processor is more explicit with XY values
cmake copies opensbp postprocessor.
Removed unnecessary file.
2016-07-03 22:41:38 -03:00
sliptonic
d1b927767a Fix for bug #2528
Improved handling of comments
2016-07-03 22:41:38 -03:00
sliptonic
4d28fff8ee fixes offset problems with OCC pocketing Bug #2604 2016-07-03 22:41:38 -03:00
sliptonic
ee5bb83a38 opensbp preprocessor handles float for spindle speed 2016-07-03 22:41:38 -03:00
sliptonic
fd57f47e3d Fix feedrate bug #2597
minor edits to linuxcnc post processor
2016-07-03 22:41:38 -03:00
Yorik van Havre
1e333f4ef3 Draft: Fixed buggy units display in Draft widgets 2016-07-03 18:41:33 -03:00
wmayer
6c73ac750a compute minimum volume oriented box 2016-07-02 18:10:23 +02:00
wmayer
0c6d52485c + add WildMagic algorithm to compute minimum volume oriented box 2016-07-02 17:01:56 +02:00
wmayer
8a30ac74b0 + fix gcc warning 2016-07-02 14:28:59 +02:00
wmayer
8f0ea2082a make sure that action is created when calling updateAction 2016-07-02 13:19:25 +02:00
Yorik van Havre
3a25e058df Draft: builtin C++ DXF importer is now the default 2016-06-30 15:26:07 -03:00
Yorik van Havre
796d0c9f7f Path: support for G90.1 / G91.1 GCodes (absolute/relative arc centers) - fixes #2605 2016-06-29 17:08:08 -03:00