Commit Graph

1166 Commits

Author SHA1 Message Date
wmayer
3ca2a408fb Fix invalid Python object error
Example below led to a crash:
import Path
v = Path.Tool(name='v', diameter=5.6)
tt = Path.Tooltable()
tt.addTools(v)
attrs = tt.templateAttrs()
uu = Path.Tooltable(tt.templateAttrs())
del attrs
2018-03-30 18:39:55 +02:00
Yorik van Havre
d4f835ab39 Merged translations from crowdin 2018-03-26 18:52:02 -03:00
PLChris
d3f413cbe1 Fixed missing X-Parameters in output. Renamed to philips_cnc. Cleaned up and merged code from linux_cnc. 2018-03-25 13:50:29 +02:00
Markus Lampert
51d0d4e19e Using UserString for comparison instead of the actual value to avoid rounding errors depending on the unit-system used. 2018-03-25 12:34:51 +02:00
sliptonic
34633c144d Path: Remove additional unused 'partial' commands
fixes #3386
fixes #3387
2018-03-22 19:44:01 +01:00
sliptonic
47d6b10b7c Path: remove ToolLengthOffset
Obsolete and broken supplemental command
fixes #3382
2018-03-22 19:43:48 +01:00
Zheng, Lei
b81f4694b1 Path.Area: work around for OCCT discretization bug
See code comments for more details.
2018-03-21 12:14:58 +01:00
luz.paz
b45bc4889d Misc. typos: Please merge right before 0.17 release
I'm still finding typos in the source code. I propose that you keep this PR open prior ro relaese and then merge  so that if I find other typos in the meantime they will be part this release.
2018-03-18 15:15:16 +01:00
Markus Lampert
2e63ffd090 Fixed import statement for py3 2018-03-17 14:09:15 +01:00
sliptonic
d95656d812 Path: Make simulation work with additional jobs
fixes #3359

The simulation stock now updates when job is changed
2018-03-08 12:05:29 +01:00
sliptonic
08656b8e19 Path: fix crash if path has dressup
fixes #3358
2018-03-08 12:05:29 +01:00
luz.paz
506ee98411 libarea misc. typo fix
This is a source typo fix. Please review.
2018-03-05 16:34:54 -03:00
Zheng, Lei
67e3bb9d1d Path.Area: fix linux build 2018-03-03 11:19:36 -03:00
Zheng, Lei
286b252f44 ViewProviderPath: tweek StartIndex auto step size 2018-03-03 11:19:36 -03:00
Zheng, Lei
7f891ebeae Path.Area: fix self intersect wire issue
Self intersected wire may cause a loop, and BRepBuilderAPI_MakeWire may
mistakenly consider the wire to be closed. And this makes
BrepTools_WireExplorer unhappy and cause it to skip edges.  We now use
ShapeAnalysis_FreeBounds to connect edges to wires.
2018-03-03 11:19:36 -03:00
Zheng, Lei
66997448f5 Path.Area: arc fix to work around OCCT bug 2018-02-24 10:44:55 -03:00
Yorik van Havre
12f3258ded Applied latest translations from crowdin 2018-02-21 14:25:31 -03:00
wmayer
5e5aa51977 fix unit test to compare quantities 2018-02-20 16:18:38 +01:00
luz.paz
7703bc7897 Residual files left to remove \n from translate() 2018-02-12 21:59:37 +01:00
wmayer
738b904592 Fix invalid Python object error
Example below led to a crash:
import Path
t = Path.Tool(name='t', diameter=1.2)
tt = Path.Tooltable()
tt.setTool(3, t)
attrs = tt.templateAttrs()
del attrs
2018-02-11 16:04:17 +01:00
luz.paz
fa8f012108 Path: moved '\n' out of translation()
Instead it is appended to the end of the `FreeCAD.Console.Print.....()`
2018-02-11 10:49:19 +01:00
wmayer
73522c3d10 fix scan coverity issues 2018-02-10 14:29:49 +01:00
wmayer
cc715465d0 fix warning: private field 'm_lx' is not used [-Wunused-private-field]
fix warning: private field 'm_ly' is not used [-Wunused-private-field]
2018-02-10 12:28:50 +01:00
wmayer
1e0d4b7a5c fix warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] 2018-02-10 12:18:33 +01:00
wmayer
ed52b2ef51 fix -Wfor-loop-analysis 2018-02-10 11:57:53 +01:00
sliptonic
5ffc4f983e Path: add stock boundary as choice for millface
fixes #3326
2018-02-09 15:58:44 +01:00
luz.paz
b6b9f61548 Misc. typos
Inspired by @normandc per https://gitter.im/FreeCAD/FreeCAD?at=5a729c6ece68c3bc742df205
2018-02-07 09:40:03 +01:00
Markus Lampert
2990e1e7b0 Changed Cutting Edge Angle to be the full bit angle and renamed label. 2018-02-05 20:22:08 -08:00
pekkaroi
1402e39ba0 Path: Consolidate available tool types and material types to one place. Fixes issue #3335 2018-02-01 22:16:46 +01:00
Fabio Rossi
4506e49689 Fixes for python 2to3 migration 2018-02-01 21:43:59 +01:00
Zheng, Lei
2520785b13 libarea: fix arc fitting bug
Bug introduced in fb16c867ed
2018-01-29 22:37:07 +01:00
sliptonic
12968ed4a4 Path: Limit tool angle input
fixes #3158
2018-01-27 19:45:36 +01:00
Zheng, Lei
fb16c867ed libarea: imporve arc fitting 2018-01-26 18:53:09 +01:00
Zheng, Lei
7e5d2bd92f Path.Area: make wire explode respect arc accurarcy 2018-01-26 18:53:09 +01:00
sliptonic
07ae0e56c4 Path: Fix MillFace default values
fixes #3324
2018-01-25 18:45:14 -02:00
luz.paz
383825e9cf Path: libarea typos
Source and comment typos
2018-01-24 13:08:57 -05:00
Shai Seger
627c4e7906 Give default values to cutting edge angle so simulations with work even if user did not specify a valid cutting angle. 2018-01-24 17:43:06 +01:00
Markus Lampert
5cee8c9cdf Return the actual job instead of the check result of it being a job or not. 2018-01-24 01:28:47 +01:00
sliptonic
21c845a64c Path: remove redundant Path_Shape command
fixes #3276
2018-01-23 15:30:41 -06:00
Sammel Lothar LTS
59dedd1275 PATH BUGFIX DressUP-LeadINOut-Line-Generation-SIMFix 2018-01-23 19:53:18 +01:00
Zheng, Lei
8f84087e6f Path.Area: respect zero start point when generating path 2018-01-23 19:49:58 +01:00
Markus Lampert
23f88c5d85 Fixed 2885, dogbone maintaining F parameter. 2018-01-22 19:40:50 +01:00
Markus Lampert
8a39ddf884 Fixed recursion problem 2018-01-22 19:40:50 +01:00
Markus Lampert
e4e5d4e5f5 Fixed path unit test setup for new PathDressup 2018-01-22 19:40:50 +01:00
Markus Lampert
55268a06f4 Changed lead-in-out dressup to use PathDressup.baseOp() instead of relying that it is dressing up an op directly. 2018-01-22 19:40:50 +01:00
Markus Lampert
c3f03d3696 Removed ToolController from all dressups and replaced with recursive search for the base op's ToolController. 2018-01-22 19:40:50 +01:00
Markus Lampert
69c1acd391 Prevent adding an entry method dressup to an op that's already has one. 2018-01-22 19:40:50 +01:00
Markus Lampert
8511597a4c Made dogbone resilient to all dressups and profiles. 2018-01-22 19:40:50 +01:00
Markus Lampert
4b0d6c6889 Fixed import of PathGeom - might want to refactor that one day. 2018-01-22 19:40:50 +01:00
Markus Lampert
a4fe22062d Fixed template-export menu activation. 2018-01-22 19:40:50 +01:00