Syres916
a69abb3b75
Py3 Fix to import Airfoil DAT files
...
To prevent error message as per https://forum.freecadweb.org/viewtopic.php?f=3&t=33309#p278902
As it's my first PR, I've tried to follow the advice @triplus gave in https://forum.freecadweb.org/viewtopic.php?f=10&t=30340&start=300#p279079 but please let me know if I'm not providing sufficient information.
2019-01-10 10:19:30 -02:00
Yorik van Havre
e638705bc4
Draft: Fixed grid not appearing on working plane setup
2019-01-08 11:43:36 -02:00
cclauss
51ab27f54a
Fix file, long, raw_input, and xrange for Python 3
2019-01-07 15:42:37 +01:00
easyw
fdb855e366
minor fix on SVG import
2019-01-07 12:26:34 -02:00
cclauss
3c4a5389d6
Undefined name: Typo ‘newob‘ —> ‘newobj’
...
Discovered via #1883
2019-01-07 12:26:07 -02:00
Yorik van Havre
e10e90516e
Draft: Fixed wrong Qt import
2019-01-07 11:18:49 -02:00
Yorik van Havre
98ebeaa198
Draft: fixed bug in arc tracker
2019-01-02 18:05:34 -02:00
Yorik van Havre
f3a44bed80
Arch: Lowered tolerance of planar profiles for Arch structures
2018-12-27 12:29:03 -02:00
Yorik van Havre
d5dd0973ca
Draft: Added ON/OFF status to the tooltip of snapping buttons
2018-12-26 12:59:50 -02:00
Yorik van Havre
2ea84272fd
Updated translations from crowdin
2018-12-23 13:54:30 -02:00
George Shuklin
69e3aeaa40
Draft/getSVG: Fix missed variable gui, fix bad call to getProj
2018-12-19 10:24:29 -02:00
Yorik van Havre
2557f07cbe
Draft: minor bugfix
2018-12-18 11:01:14 -02:00
Yorik van Havre
5213f26846
Draft: Fixed tolerance problem in snapping to intersections
2018-12-17 12:58:21 -02:00
Yorik van Havre
223eb6864c
Draft: Fixed wrong formatting of DXF importer url
2018-12-17 11:06:10 -02:00
George Shuklin
ef34dd3a4f
Include getSVG.py into Draft_SRCS
2018-12-17 09:37:51 -03:00
George Shuklin
8701a4d898
made getLineStyle to accepts scale parameter
2018-12-17 09:37:51 -03:00
George Shuklin
dc8d8fdb44
move getDiscretized and getPattern outside of getSVG()
2018-12-17 09:37:51 -03:00
George Shuklin
e1eae5e114
move getProj outside of getSVG, make 'plane' explicit.
2018-12-17 09:37:51 -03:00
George Shuklin
615d81fda3
Move getLineStyle to a separate function
2018-12-17 09:37:51 -03:00
George Shuklin
6ee6c677c6
Move getSVG into a separate file to further refactoring.
...
All internal dependencies (getrgb, getType) are reimported.
2018-12-17 09:37:51 -03:00
wmayer
583aea5aec
fixes 0003732: Menu groups in Draft menu are not translated even though translated strings exist
2018-12-16 17:20:26 +01:00
wmayer
fec487dc7f
fix translate() function for Py2 & Qt5
2018-12-16 16:25:25 +01:00
Yorik van Havre
0c886a479a
Draft: Fixed wrong placement of edit dots in Draft Stretch
2018-12-14 16:06:31 -02:00
Yorik van Havre
981b158228
Draft: Fixed nearest snap not snapping to the working plane when required
2018-12-14 13:22:32 -02:00
Yorik van Havre
144fee0915
Draft: updated minimal version of dxf library to include py3 fixes
2018-12-13 22:50:25 -02:00
sdaau
3290c36d28
Draft: preserving face colors and names when downgrading/upgrading (splitFaces and makeShell only)
2018-12-11 09:15:30 -03:00
Yorik van Havre
5633bd14d2
Arch/Draft: Misc small fixes
...
* Properly handle offset2D and arch objects in Draft Stretch
* Allow the WP of Arch BuildingParts to stay weak
* Fixed Draft Edit making Wires not plane anymore
* Dont change the WP if already perpendicular to current view
* Fixed DXF import of Polyfaces
2018-12-10 10:21:17 -02:00
wandererfan
f76f19732c
Use Global Scope for PathArray Links
2018-12-08 11:29:45 -03:00
wandererfan
bf3a1fdaa8
Test for binormal == Z sb binormal parallel Z
2018-12-08 11:29:45 -03:00
looooo
1476caf281
py3: iteritems -> items, iterkeys -> keys
2018-12-08 11:27:22 -03:00
DeepSOIC
e48254d98e
Draft: allow cross-CS links for Clone
...
fixes drag-drop issues
https://forum.freecadweb.org/viewtopic.php?f=3&t=32677&p=272896#p272896
2018-12-08 11:23:53 -03:00
wandererfan
eb9aa5c54d
Remove custom translation code
...
- go back to letting loadUi do the translating.
2018-12-06 08:54:46 -03:00
Yorik van Havre
8483d8d5c2
Draft: Fixed dangling temp snap points
2018-12-05 16:38:34 -02:00
Yorik van Havre
7159d38e82
Draft: Solved duplication problem - Fixed #2304
2018-12-05 11:05:40 -02:00
Yorik van Havre
b12bcc44a8
Draft: py3 bugfix
2018-12-03 18:39:57 -02:00
Yorik van Havre
6199c95fd7
Draft/Arch: minor fixes
2018-12-01 18:56:05 -02:00
Yorik van Havre
34cad5b81f
Draft: Better fix to buggy Move/rotate of Arch BuilfingParts
2018-12-01 12:12:22 -02:00
Yorik van Havre
0e3cab0874
Draft: Fixed snapping to sectionPlanes
2018-12-01 12:11:10 -02:00
wandererfan
bdbdf8c6b7
FR1973 Draft ShapeString Ui
...
- load new ui from Resource file
- minor updates to translate for Py3
2018-12-01 11:08:37 -03:00
Yorik van Havre
03e7083dd5
Draft: Fixed wrong moving of BuildingParts
2018-11-28 16:51:02 -02:00
Yorik van Havre
c0567a5990
Draft: Fixed DXF import of texts
2018-11-27 16:10:42 -02:00
Yorik van Havre
54dd7c621d
Draft: Fixed buggy ghost tracker
2018-11-21 18:37:39 -02:00
Yorik van Havre
024540dbbe
Fixed coverity issues
...
169009 Bad use of null-like value
169005 Bad use of null-like value
169003 Bad use of null-like value
169000 Bad use of null-like value
168998 Bad use of null-like value
168996 Structurally dead code
2018-11-20 12:37:32 -02:00
Yorik van Havre
3799b2a306
Fixed coverity issues
...
184348 Bad use of null-like value
175794 Copy-paste error
172913 Copy-paste error
169506 Structurally dead code
169504 Bad use of null-like value
169013 Copy-paste error
2018-11-19 19:36:50 -02:00
Yorik van Havre
fc5b6288c6
Draft: re-added missing arcFrom2Pts function in DraftGeomUtils
2018-11-16 18:28:01 -02:00
wmayer
a7094210f8
Fix scan coverity issues:
...
CID 184294: Uncaught exception
CID 183597: Unchecked return value
CID 175809: Dereference before null check
CID 175810: Logically dead code
CID 133000: Uninitialized scalar variable
CID 133001: Uninitialized scalar variable
CID 183591: Explicit null dereferenced
2018-11-13 16:47:58 +01:00
Yorik van Havre
490b76f405
Arch: Fixed py3 errors in IFC export
2018-11-08 17:23:06 -02:00
Yorik van Havre
1d72ee4343
Draft: Export of Arch Axes to DXF
2018-11-07 12:38:07 -02:00
easyw
3408e5908c
minor Py3 issue fixed
...
https://forum.freecadweb.org/viewtopic.php?f=10&t=30624&p=265892#p265892
fixing as suggested here:
https://hynek.me/articles/hasattr/
2018-11-06 12:03:33 -03:00
Yorik van Havre
ff5d67b66c
Draft: fixed snapping to WPProxies
2018-11-05 19:28:20 -02:00