Roy-043
25c4792690
Draft: fix issue with undo ( #8267 )
2023-01-31 21:38:19 +01:00
Roy-043
4c4972339f
Draft: V0.18 VisGroups were not handled ( #8234 )
2023-01-23 11:27:52 +01:00
luzpaz
5fa4482504
Draft: fix trailing whitespace
2023-01-22 20:26:40 +01:00
Roy-043
fb65b58007
Draft: Improvements related to #8081 ( #8211 )
...
DisplayMode of Text was not updated. Some houskeeping
2023-01-20 20:33:35 +01:00
Roy-043
34f43a245c
Draft: Fix inconsistent properties of Draft annotations
2022-12-23 16:49:56 +01:00
Timo Kinnunen
e5c95b33f5
Draft: make tangent vector affect ExtraTranslation
...
Changes as per discussion in the PR to fix issue #7506 with @Roy-043.
Co-Authored-By: Roy-043 <70520633+Roy-043@users.noreply.github.com >
2022-10-28 16:21:39 +02:00
Yorik van Havre
784b25b590
Merge pull request #7635 from Jolbas/master
...
Draft: Accept 1 in NumberPolar parameter
2022-10-26 09:23:25 +02:00
Jolbas
84d6656398
Accept 1 in NumberPolar parameter
...
Setting the NumberPolar parameter to 1 resulted in a ZeroDivisionError.
2022-10-23 21:44:57 +02:00
Roy-043
9c397cb387
Update point.py
2022-10-18 12:36:29 +02:00
Roy-043
cea60b4463
Draft: Make Std_TransformManip work for Draft_Point
2022-10-17 19:48:05 +02:00
Roy-043
b74a1b0708
Draft: Fix path array float math issue
2022-10-14 21:08:29 +02:00
Roy-043
a4a11a42d3
Draft: Point array: Take placement of point object into account and accept more point object types
2022-10-12 11:18:12 +02:00
Roy-043
9142d4ac5e
Draft: Fix several path array issues
2022-09-17 10:08:41 +02:00
Yorik van Havre
f99bf376b0
Merge pull request #7267 from Roy-043/Draft-Avoid-faulty-Base.Placement.rotate()
...
Draft: Avoid faulty Base.Placement.rotate() in draftobjects.array.py
2022-09-05 11:16:13 +02:00
Roy-043
f22de4cfd2
Update array.py
...
Oops... removed to print() statements.
2022-08-12 12:38:13 +02:00
Roy-043
2647c37289
Update array.py
...
Updated to use the new implementation of Base.Placement.rotate().
2022-08-12 12:34:46 +02:00
Yorik van Havre
042d6df669
Arch: Removed leftover debug messages
2022-07-29 14:01:56 +02:00
Yorik van Havre
76aeaab4b0
Arch: added ExclusionNames property to Shape2DViews
2022-07-28 14:09:41 +02:00
Roy-043
f2b05b2986
Draft: Avoid faulty Base.Placement.rotate() in draftobjects.array.py
2022-07-28 13:56:05 +02:00
marioalexis
659e84e57f
Draft: Remove Python 2 type support
2022-03-28 18:02:23 -03:00
Matthijs Kooijman
214e716a8f
Draft: Simplify using getattr instead of hasattr
...
Using the default argument supported by getattr makes this code a bit
simpler and probably (ever so slightly) faster.
See https://forum.freecadweb.org/viewtopic.php?f=10&t=58611 for previous
discussion.
This is not an exhaustive change, these are just a few I encounted while
working with the code.
2022-03-22 14:46:50 +01:00
Roy-043
039457bdd6
Draft: Fix Draft_Line Length is zero bug
...
When changing the Length of a Draft_Line to f.e. 0.5 the input of the zero resulted in a zero length line.
2022-02-24 12:26:42 +01:00
marioalexis
3f67ee78f7
Draft: Replace Drawing functions with TechDraw functions
2022-02-20 16:34:29 -03:00
mwganson
43c0ef43e6
Draft: pointarray set Count property during execute
2022-01-26 20:32:31 -06:00
marioalexis
285a4a76c1
Draft: Add extension 'AttachExtensionPython' to WP proxy
2022-01-10 23:11:30 -03:00
Zheng, Lei
51d4e5c2a9
Draft: support 'CopyOnChange' in Draft link array
2021-12-21 21:41:02 -07:00
Roy
3ad8c1680f
Draft: Draft_Label fix label type list
2021-12-10 18:40:43 +01:00
Roy-043
d3cad74ac6
Draft: fix regression draftlink.py ( #5220 )
...
* Draft: fix regression draftlink.py
This PR fixes a regression introduces with #5180 .
Using transformShape is the correct solution.
2021-12-08 07:37:23 -06:00
Roy-043
f548494e4a
Draft: fix array issue with Draft_Point and Part_Vertex
2021-11-16 17:00:54 +01:00
luz paz
580a52f75c
Draft: Fix superfluous whitespace in translations + misc. typos
2021-10-30 15:20:28 -04:00
Roy-043
1a94329d8e
Draft: improve hatch matrix algo
2021-10-13 17:38:08 +02:00
Roy-043
470f9307f1
Update hatch.py
2021-10-05 15:57:00 +02:00
Chris Hennes
68a027cf94
Draft: LGTM - don't catch BaseException
2021-09-19 14:36:38 -05:00
Yorik van Havre
1c8b803f9e
Draft: Introduced Hatch command + object
2021-09-06 15:27:52 +02:00
Yorik van Havre
c167955018
Merge pull request #4885 from Roy-043/Draft_Fix_Array_Count_Issues
...
Draft: Fix Draft_PointArray and Draft_TwistedArray Count problems
2021-08-17 15:19:57 +02:00
Roy-043
638976c409
Draft: Fix patharray edge sort issue
...
If the user selects edges for the path of a patharray the edges need to be sorted before creating a Part.Wire from them.
2021-08-01 13:12:44 +02:00
Yorik van Havre
8b061cecc2
Draft: Fixed wrong placement of lines in shape2dview's cutface mode
2021-07-16 12:42:30 +02:00
Yorik van Havre
01c9010664
Draft: added AutoUpdate property to shape2Dviews to disambiguate with VisibleOnly property
2021-07-07 15:45:22 +02:00
Yorik van Havre
5b32b806f6
Arch: Added Depth property to SectionPlanes
2021-07-01 13:46:24 +02:00
Roy-043
9eb9a58934
Draft: Fix Draft_PointArray and Draft_TwistedArray Count problems
...
Draft_PointArray and Draft_TwistedArray have Count problems:
1. Draft_PointArray: Count is always zero.
2. Draft_PathTwistedArray: Number of items is Count+1.
3. Draft_PathTwistedLinkArray: Count is increased whenever object is recomputed.
Also the first item in a twisted array should be unrotated.
2021-06-23 11:11:15 +02:00
Yorik van Havre
9332e52d94
Draft: Added ExclusionPoints property to shape2dview object
2021-06-01 11:30:04 +02:00
Matthijs Kooijman
ecc05545c1
Draft: Simplify code using getattr default value
...
This uses the default value that can be passed to getattr to simplify
code that uses it. By choosing an appropriate default value, a separate
call to hasattr can be avoided and in some cases duplicate code can be
avoided.
This applies this trick where possible in wire.py and circle.py.
This commit does not change behavior.
2021-05-22 17:44:04 +02:00
Yorik van Havre
665e8bd32e
Draft: Changed shapestring FillLetters property to MakeFace
2021-05-05 15:41:28 +02:00
Yorik van Havre
ccc4151b30
Draft: Added a 'solid faces' projection mode to shape2dviews to treat individual faces
2021-04-30 16:44:20 +02:00
tomate44
0f9ed158de
Draft.ShapeString : add option to choose wires or faces output
2021-04-05 12:20:04 +02:00
David Osterberg
f39002fb07
Draft: Fix PathTwistedArray bug
2021-02-22 08:01:34 +01:00
Yorik van Havre
43feb585ad
Draft: Fixed broken translations everywhere
2021-02-12 14:44:58 +01:00
Chris Hennes
fe7e45a7de
[DRAFT] Catch only Exception, not BaseException
2021-02-11 11:52:45 +01:00
luz paz
ccbc13ee82
Draft: fix LGTM 'Testing for None should use the 'is' operator' alerrts
...
https://lgtm.com/projects/g/FreeCAD/FreeCAD/alerts/?mode=tree&ruleFocus=7900090
2021-02-03 21:58:47 +01:00
Stefan Tröger
446ce21517
Remove ExtensionProxy and rely on default Python proxy for extensions. fixes #0004534
2021-01-30 16:00:48 +01:00